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

cleanable

Vars

clean_typeThe type of cleaning required to clean the decal. See __DEFINES/cleaning.dm for the options
decal_reagentThe reagent this decal holds. Leave blank for none.
is_moppedIf TRUE, gains TRAIT_MOPABLE on init - thus this cleanable will cleaned if its turf is cleaned Set to FALSE for things that hang high on the walls or things which generally shouldn't be mopped up
mergeable_decalWhen two of these are on a same tile or do we need to merge them into just one?
reagent_amountThe amount of reagent this decal holds, if decal_reagent is defined

Procs

can_bloodcrawl_inChecks if this decal can be bloodcrawled in
lazy_init_reagentsReturns reagents datum if it exists, or lazyloads one if it doesn't
replace_decalCheck if we should give up in favor of the pre-existing decal

Var Details

clean_type

The type of cleaning required to clean the decal. See __DEFINES/cleaning.dm for the options

decal_reagent

The reagent this decal holds. Leave blank for none.

is_mopped

If TRUE, gains TRAIT_MOPABLE on init - thus this cleanable will cleaned if its turf is cleaned Set to FALSE for things that hang high on the walls or things which generally shouldn't be mopped up

mergeable_decal

When two of these are on a same tile or do we need to merge them into just one?

reagent_amount

The amount of reagent this decal holds, if decal_reagent is defined

Proc Details

can_bloodcrawl_in

Checks if this decal can be bloodcrawled in

lazy_init_reagents

Returns reagents datum if it exists, or lazyloads one if it doesn't

replace_decal

Check if we should give up in favor of the pre-existing decal