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

ore

Mineral ores

Vars

max_vein_sizeMinimum distance that a vein can span, radius for cluster/scatter, maximum length for plain/branching
min_vein_sizeMinimum distance that a vein can span, radius for cluster/scatter, maximum length for plain/branching
mine_experienceHow much experience do you get for mining this ore?
pointsHow many points this ore gets you from the ore redemption machine
refined_typeWhat this ore defaults to being refined into
scan_stateUsed by mineral turfs for their scan overlay.
spread_chanceChance that we'll spawn as a vein rather than a sole tile
vein_distanceOptimal distance from open turfs for us to spawn, 1 is next to an open tile
vein_typeType of ore vein we spawn, cluster/scatter/plain/branching

Procs

on_orm_collectionCalled when the ore is collected by an ore redemption machine. returns the ore itself. Normally, ores without a refined type aren't collected by the orm. It can also be overriden for more specific behavior (for example, sand is smelted into glass beforehand because of different mats).

Var Details

max_vein_size

Minimum distance that a vein can span, radius for cluster/scatter, maximum length for plain/branching

min_vein_size

Minimum distance that a vein can span, radius for cluster/scatter, maximum length for plain/branching

mine_experience

How much experience do you get for mining this ore?

points

How many points this ore gets you from the ore redemption machine

refined_type

What this ore defaults to being refined into

scan_state

Used by mineral turfs for their scan overlay.

spread_chance

Chance that we'll spawn as a vein rather than a sole tile

vein_distance

Optimal distance from open turfs for us to spawn, 1 is next to an open tile

vein_type

Type of ore vein we spawn, cluster/scatter/plain/branching

Proc Details

on_orm_collection

Called when the ore is collected by an ore redemption machine. returns the ore itself. Normally, ores without a refined type aren't collected by the orm. It can also be overriden for more specific behavior (for example, sand is smelted into glass beforehand because of different mats).