- edited description
- changed version to 1.0
- changed milestone to small bugs
-
assigned issue to
[#modding] while trying to make it so that fences are closed behind the player automaticall...
Issue #9166
resolved
Marked for crossposting by: Sol, sky orb
Message (jump):
<Sol, sky orb> while trying to make it so that fences are closed behind the player automatically, i ran into various issues with the
Door
part:
- when
AttemptOpen
callsAttemptClose
, it never passes onIgnoreMobility
orIgnoreSpecialConditions
AttemptClose
only checks "special conditions" ifIgnoreSpecialConditions
istrue
, which is backwards- these special conditions are encoded as
CapableOfClosing
, which returnsfalse
in the general case when it ought to returntrue
- while
CanOpen
exists, there is noCanClose
. together with the fact thatAttemptClose
outputs messages to the message log on failure, there's no adequate function i can call to silently check whether all the conditions for closing a door are present (this would include, for example, whether something is blocking the door)
Comments (2)
-
repo owner -
- changed status to resolved
Fixed in 204.102
- Log in to comment