leanable
Things with this component can be leaned onto, optionally exclusive to RMB dragging
Vars | |
click_mods | List of click modifiers that are required to be present for leaning to trigger |
---|---|
lean_check | Callback called for additional checks if a lean is valid |
leaning_mobs | List of mobs currently leaning on our parent |
leaning_offset | How much will mobs that lean onto this object be offset |
same_turf | Whenever this object can be leaned on from the same turf as its' own. Do not use without a custom lean_check! |
Var Details
click_mods
List of click modifiers that are required to be present for leaning to trigger
lean_check
Callback called for additional checks if a lean is valid
leaning_mobs
List of mobs currently leaning on our parent
leaning_offset
How much will mobs that lean onto this object be offset
same_turf
Whenever this object can be leaned on from the same turf as its' own. Do not use without a custom lean_check!