ore
Vars | |
drop_max | The upper bound for the amount of randomized ore dropped. |
---|---|
drop_min | The lower bound for the amount of randomized ore dropped. |
drop_type | The type of ore that is dropped. Expected to be a subtype of /obj/item/stack/ore. |
scan_icon_state | The icon state of the ore used for mining scanner overlays. |
spread_chance | The probability that the ore will spread to nearby /turf/simulated/minerals when placed. |
Procs | |
on_mine | Called when the containing turf is "mined", such as with a pickaxe or other digging implement. |
Var Details
drop_max
The upper bound for the amount of randomized ore dropped.
drop_min
The lower bound for the amount of randomized ore dropped.
drop_type
The type of ore that is dropped. Expected to be a subtype of /obj/item/stack/ore.
scan_icon_state
The icon state of the ore used for mining scanner overlays.
spread_chance
The probability that the ore will spread to nearby /turf/simulated/minerals when placed.
Proc Details
on_mine
Called when the containing turf is "mined", such as with a pickaxe or other digging implement.
Returns MINERAL_ALLOW_DIG if the containing turf should be changed to its "dug" state, MINERAL_PREVENT_DIG if it should remain as is.