code/__DEFINES/tools.dm
TOOL_RUSTSCRAPER | Can be used to scrape rust off an any atom; which will result in the Rust Component being qdel'd |
---|---|
ITEM_INTERACT_SUCCESS | Return when an item interaction is successful. This cancels the rest of the chain entirely and indicates success. |
ITEM_INTERACT_BLOCKING | Return to prevent the rest of the attack chain from being executed / preventing the item user from thwacking the target. Similar to ITEM_INTERACT_SUCCESS, but does not necessarily indicate success. |
ITEM_INTERACT_FAILURE | Only for people who get confused by the naming scheme |
ITEM_INTERACT_SKIP_TO_ATTACK | Return to skip the rest of the interaction chain, going straight to attack. |
ITEM_INTERACT_ANY_BLOCKER | Combination flag for any item interaction that blocks the rest of the attack chain |
TOOL_FUEL_BURN_INTERVAL | How many seconds between each fuel depletion tick ("use" proc) |
HIGH_TEMPERATURE_REQUIRED | This is a number I got by quickly searching up the temperature to melt iron/glass, though not really realistic. This is used for places where lighters should not be hot enough to be used as a welding tool on. |
SHOULD_SKIP_INTERACTION | A helper for checking if an item interaction should be skipped. This is only used explicitly because some interactions may not want to ever be skipped. |
Define Details
HIGH_TEMPERATURE_REQUIRED
This is a number I got by quickly searching up the temperature to melt iron/glass, though not really realistic. This is used for places where lighters should not be hot enough to be used as a welding tool on.
ITEM_INTERACT_ANY_BLOCKER
Combination flag for any item interaction that blocks the rest of the attack chain
ITEM_INTERACT_BLOCKING
Return to prevent the rest of the attack chain from being executed / preventing the item user from thwacking the target. Similar to ITEM_INTERACT_SUCCESS, but does not necessarily indicate success.
ITEM_INTERACT_FAILURE
Only for people who get confused by the naming scheme
ITEM_INTERACT_SKIP_TO_ATTACK
Return to skip the rest of the interaction chain, going straight to attack.
ITEM_INTERACT_SUCCESS
Return when an item interaction is successful. This cancels the rest of the chain entirely and indicates success.
SHOULD_SKIP_INTERACTION
A helper for checking if an item interaction should be skipped. This is only used explicitly because some interactions may not want to ever be skipped.
TOOL_FUEL_BURN_INTERVAL
How many seconds between each fuel depletion tick ("use" proc)
TOOL_RUSTSCRAPER
Can be used to scrape rust off an any atom; which will result in the Rust Component being qdel'd