SS1984 - Modules - TypesVar Details - Proc Details

mineral

Mineral deposits

Vars

allowed_picks_typecacheTypecache of all the instruments allowed to dig us. Populated in [/turf/simulated/mineral/proc/generate_picks()].
hardnessHow hard the material is, we'll have to have more powerful stuff if we want to blast harder materials.
mine_timeChanges how fast the turf is mined by pickaxes, multiplied by toolspeed
scan_stateHolder for the image we display when we're pinged by a mining scanner
should_reset_colorShould this be set to the normal rock colour on init?
spreadWill the seam spread?
spreadChanceThe percentual chance of an ore spreading to the neighbouring tiles

Procs

generate_picksGenerates typecache of tools allowed to dig this mineral

Var Details

allowed_picks_typecache

Typecache of all the instruments allowed to dig us. Populated in [/turf/simulated/mineral/proc/generate_picks()].

hardness

How hard the material is, we'll have to have more powerful stuff if we want to blast harder materials.

mine_time

Changes how fast the turf is mined by pickaxes, multiplied by toolspeed

scan_state

Holder for the image we display when we're pinged by a mining scanner

should_reset_color

Should this be set to the normal rock colour on init?

spread

Will the seam spread?

spreadChance

The percentual chance of an ore spreading to the neighbouring tiles

Proc Details

generate_picks

Generates typecache of tools allowed to dig this mineral