broom ![code/game/objects/items/broom.dm 35](git.png)
Procs | |
janicart_insert | Attempts to insert the push broom into a janicart |
---|---|
on_unwield | Handles unregistering the sweep proc when the broom is unwielded |
on_wield | Handles registering the sweep proc when the broom is wielded |
sweep | Attempts to push up to BROOM_PUSH_LIMIT atoms from a given location the user's faced direction |
Proc Details
janicart_insert
Attempts to insert the push broom into a janicart
Arguments:
- user - The user of the push broom
- J - The janicart to insert into
on_unwield
Handles unregistering the sweep proc when the broom is unwielded
Arguments:
- source - The source of the on_unwield proc call
- user - The user which is unwielding the broom
on_wield
Handles registering the sweep proc when the broom is wielded
Arguments:
- source - The source of the on_wield proc call
- user - The user which is wielding the broom
sweep
Attempts to push up to BROOM_PUSH_LIMIT atoms from a given location the user's faced direction
Arguments:
- user - The user of the broom
- A - The atom which is located at the location to push atoms from