diggable
![code/datums/elements/diggable.dm 2](git.png)
Lets you make hitting a turf with a shovel pop something out, and scrape the turf
Vars | |
action_text | What should we tell the user they did? (Eg: "You dig up the turf.") |
---|---|
action_text_third_person | What should we tell other people what the user did? (Eg: "Guy digs up the turf.") |
amount | Amount to spawn on shovel |
to_spawn | Typepath of what we spawn on shovel |
worm_chance | Percentage chance of receiving a bonus worm |
Procs | |
on_shovel | Signal proc for COMSIG_ATOM_TOOL_ACT via [TOOL_SHOVEL]. |
Var Details
action_text
![code/datums/elements/diggable.dm 10](git.png)
What should we tell the user they did? (Eg: "You dig up the turf.")
action_text_third_person
![code/datums/elements/diggable.dm 12](git.png)
What should we tell other people what the user did? (Eg: "Guy digs up the turf.")
amount
![code/datums/elements/diggable.dm 8](git.png)
Amount to spawn on shovel
to_spawn
![code/datums/elements/diggable.dm 6](git.png)
Typepath of what we spawn on shovel
worm_chance
![code/datums/elements/diggable.dm 16](git.png)
Percentage chance of receiving a bonus worm
Proc Details
on_shovel
Signal proc for COMSIG_ATOM_TOOL_ACT via [TOOL_SHOVEL].