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

can_shatter

When attached to something, will make that thing shatter into shards on throw impact or z level falling Or even when used as a weapon if the 'shatters_as_weapon' arg is TRUE

Vars

number_of_shardsHow many shards total are made when the thing we're attached to shatters
shard_typeWhat type of item is spawned as a 'shard' once the shattering happens
shattering_soundWhat sound plays when the thing we're attached to shatters

Procs

on_throw_impactTells the parent to shatter if we are thrown and impact something
on_z_impactTells the parent to shatter if we impact a lower zlevel
shatterHandles the actual shattering part, throwing shards of whatever is defined on the component everywhere

Var Details

number_of_shards

How many shards total are made when the thing we're attached to shatters

shard_type

What type of item is spawned as a 'shard' once the shattering happens

shattering_sound

What sound plays when the thing we're attached to shatters

Proc Details

on_throw_impact

Tells the parent to shatter if we are thrown and impact something

on_z_impact

Tells the parent to shatter if we impact a lower zlevel

shatter

Handles the actual shattering part, throwing shards of whatever is defined on the component everywhere