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

ore_vein

Vars

base_descOur original description to hold. We'll revert to this when switching between the ore vein being depleted and not.
depletedIf the ore vein has been recently mined. If so, we cannot mine and must wait for it to regenerate.
mining_timeHow long it takes for a tool to mine the ore vein.
ore_amountHow much ore do we drop?
ore_descriptorWhen we start mining, what do we tell the user they're mining?
ore_typeWhat type of ore do we drop?
random_spriteIf we should pick a random sprite for the ore vein or not.
regeneration_timeHow long it takes for the ore to 'respawn' after being mined.
unique_spritesHow many unique sprites for ore we have, we will pick them at random.

Procs

regenerate_oreAfter the ore vein finishes its wait, we make the ore 'respawn' and return the ore to its original post-Initialize() icon_state.

Var Details

base_desc

Our original description to hold. We'll revert to this when switching between the ore vein being depleted and not.

depleted

If the ore vein has been recently mined. If so, we cannot mine and must wait for it to regenerate.

mining_time

How long it takes for a tool to mine the ore vein.

ore_amount

How much ore do we drop?

ore_descriptor

When we start mining, what do we tell the user they're mining?

ore_type

What type of ore do we drop?

random_sprite

If we should pick a random sprite for the ore vein or not.

regeneration_time

How long it takes for the ore to 'respawn' after being mined.

unique_sprites

How many unique sprites for ore we have, we will pick them at random.

Proc Details

regenerate_ore

After the ore vein finishes its wait, we make the ore 'respawn' and return the ore to its original post-Initialize() icon_state.