cooker  
| Vars | |
| burns | whether a machine burns something - if it does, you probably want to add the cooktype to /snacks/badrecipe | 
|---|---|
| has_specials | Set to TRUE if the machine has specials to check, otherwise leave it at FALSE | 
| special_attack_cooldown_time | Time between special attacks | 
| special_attack_on_cooldown | Whether or not a special attack can be performed right now | 
| upgradeable | Set to TRUE if the machine supports upgrades / deconstruction, or else it will ignore stuff like screwdrivers and parts exchangers | 
| Procs | |
| can_grab_attack | Verify if we would be able to perform our grab attack. | 
| special_attack | Perform the special grab interaction. Return TRUE to drop the grab or FALSE to keep the grab afterwards. | 
| special_attack_shove | Perform a special shove attack. The return value of this proc gets passed up to shove_impact, so returning TRUE will prevent any further shove handling (like knockdown). | 
Var Details
burns  
whether a machine burns something - if it does, you probably want to add the cooktype to /snacks/badrecipe
has_specials  
Set to TRUE if the machine has specials to check, otherwise leave it at FALSE
special_attack_cooldown_time  
Time between special attacks
special_attack_on_cooldown  
Whether or not a special attack can be performed right now
upgradeable  
Set to TRUE if the machine supports upgrades / deconstruction, or else it will ignore stuff like screwdrivers and parts exchangers
Proc Details
can_grab_attack
Verify if we would be able to perform our grab attack.
special_attack
Perform the special grab interaction. Return TRUE to drop the grab or FALSE to keep the grab afterwards.
special_attack_shove
Perform a special shove attack. The return value of this proc gets passed up to shove_impact, so returning TRUE will prevent any further shove handling (like knockdown).