offering ![code/datums/status_effects/neutral.dm 89](git.png)
Vars | |
give_alert_type | The type of alert given to people when offered, in case you need to override some behavior (like for high-fives) |
---|---|
offered_item | The actual item being offered |
possible_takers | The people who were offered this item at the start |
Procs | |
check_owner_in_range | The offerer moved, see if anyone is out of range now |
check_taker_in_range | One of our possible takers moved, see if they left us hanging |
dropped_item | We lost the item, give it up |
register_candidate | Hook up the specified carbon mob to be offered the item in question, give them the alert and signals and all |
remove_candidate | Remove the alert and signals for the specified carbon mob. Automatically removes the status effect when we lost the last taker |
Var Details
give_alert_type ![code/datums/status_effects/neutral.dm 100](git.png)
The type of alert given to people when offered, in case you need to override some behavior (like for high-fives)
offered_item ![code/datums/status_effects/neutral.dm 98](git.png)
The actual item being offered
possible_takers ![code/datums/status_effects/neutral.dm 96](git.png)
The people who were offered this item at the start
Proc Details
check_owner_in_range
The offerer moved, see if anyone is out of range now
check_taker_in_range
One of our possible takers moved, see if they left us hanging
dropped_item
We lost the item, give it up
register_candidate
Hook up the specified carbon mob to be offered the item in question, give them the alert and signals and all
remove_candidate
Remove the alert and signals for the specified carbon mob. Automatically removes the status effect when we lost the last taker