findRemoveRefusal
findRemoveRefusal(
world,player,entity,isStored):BuildRefusalResult|null
Why player, or a system where null, may not store or demolish
entity on world, or null where the player may: a placed piece, a
storage where the player asks to store, and the player’s access where
it stands. What a build tool tints an aimed piece by; the room’s hook
may still refuse.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
player |
PlayerEntity | null |
entity |
Entity |
isStored |
boolean |
Returns
Section titled “Returns”BuildRefusalResult | null