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

Ground sinking component (basicly only for garden gnomes ever at this point)

A basic mob with this component will sink into the ground, once sinked into the ground it will regenerate and might gain damage resistence. Can be combined with caltrop.

Vars

damage_res_sinkedOur damage_coeffs when we are sinked
ground_sinking_delayYou will only sink if you haven't been walking for this many seconds
ground_sinking_start_timerWhen this timer completes we start sinking
heal_when_sinkedIf we will heal once we are sinked
health_per_secondHealth to regenerate per second
is_sinkingIf we sinking into the ground right now
outline_colourOutline colour of the regeneration
sink_countHow far we have sinked
sink_speedThe speed at which the mob will sink
sinkedIf we sinked into the ground right now
target_icon_stateThe icon state of the parent

Procs

finish_sinkingThe mob has fully sunk, updates its regeneration, damage resistance and density
on_movedWhen you move, reset the cooldown and start processing
sinking_progressMakes the mob try to sink three times. Unsinks if interrupted.
start_regeneratingThe mop starts regaining health
start_sinkingStart processing health regeneration, and show animation if provided
stop_regeneratingStops regaining health
unsinkThe mob pops out of the ground

Var Details

damage_res_sinked

Our damage_coeffs when we are sinked

ground_sinking_delay

You will only sink if you haven't been walking for this many seconds

ground_sinking_start_timer

When this timer completes we start sinking

heal_when_sinked

If we will heal once we are sinked

health_per_second

Health to regenerate per second

is_sinking

If we sinking into the ground right now

outline_colour

Outline colour of the regeneration

sink_count

How far we have sinked

sink_speed

The speed at which the mob will sink

sinked

If we sinked into the ground right now

target_icon_state

The icon state of the parent

Proc Details

finish_sinking

The mob has fully sunk, updates its regeneration, damage resistance and density

on_moved

When you move, reset the cooldown and start processing

sinking_progress

Makes the mob try to sink three times. Unsinks if interrupted.

start_regenerating

The mop starts regaining health

start_sinking

Start processing health regeneration, and show animation if provided

stop_regenerating

Stops regaining health

unsink

The mob pops out of the ground