/tg/ Station 13 - Modules - TypesVar Details - Proc Details

asteroid

Asteroid

Vars

broken_stateIcon state to use when broken
digResultItemstack to drop when dug by a shovel
dugWhether the turf has been dug or not
floor_varianceProbability floor has a different icon state
has_floor_varianceWhether this turf has different icon states
turf_typeBase turf type to be created by the tunnel
worm_chancePercentage chance of receiving a bonus worm

Procs

can_digIf the user can dig the turf
getDugDrops itemstack when dug and changes icon

Var Details

broken_state

Icon state to use when broken

digResult

Itemstack to drop when dug by a shovel

dug

Whether the turf has been dug or not

floor_variance

Probability floor has a different icon state

has_floor_variance

Whether this turf has different icon states

turf_type

Base turf type to be created by the tunnel

worm_chance

Percentage chance of receiving a bonus worm

Proc Details

can_dig

If the user can dig the turf

getDug

Drops itemstack when dug and changes icon