Paradise Station 13 - Modules - TypesVar Details - Proc Details

living

mob freeze procs

Vars

admin_prev_sleepingUsed for keeping track of previous sleeping value with admin freeze.
frozenUsed for preventing attacks on admin-frozen mobs.

Procs

AdjustConfusedSets confusion to current amount + given, clamped between lower and higher bounds.
AdjustDizzySets dizziness to current amount + given, clamped between lower and higher bounds.
AdjustDrowsySets drowsiness to current amount + given, clamped between lower and higher bounds.
AdjustDrunkSets drunkenness to current amount + given, clamped between lower and higher bounds.
AdjustSleepingused for admin freezing.
ConfusedSets confusion if it's higher than current.
DizzySets dizziness if it's higher than current.
DrowsySets drowsiness if it's higher than current.
DrunkSets drunkenness if it's higher than current.
IsFrozenFROZEN
SetConfusedSets confusion if it's higher than zero.
SetDizzySets dizziness if it's higher than zero.
SetDrowsySets drowsiness if it's higher than zero.
SetDrunkSets drunkenness if it's higher than zero.
add_stun_absorptionSTUN ABSORPTION
apply_status_effectApplies a given status effect to this mob, returning the effect if it was successful or null otherwise
electrocute_actAs the name suggests, this should be called to apply electric shocks.
get_confusionReturns current amount of confusion, 0 if none.
get_dizzinessReturns current amount of dizziness, 0 if none.
get_drowsinessReturns current amount of drowsiness, 0 if none.
get_drunkennessReturns current amount of drunkenness, 0 if none.
get_strip_slot_name_overrideReturns the name override, if any, for the slot somebody is trying to strip
grant_guardian_actionsGrants all existing /datum/action/guardian type actions to the src mob.
handle_fireBurns a mob and slowly puts the fires out. Returns TRUE if the mob is on fire
has_status_effectReturns the effect if the mob calling the proc owns the given status effect, or null otherwise
has_status_effect_listReturns a list of effects with matching IDs that the mod owns; use for effects there can be multiple of
remove_guardian_actionsRemoves all /datum/action/guardian type actions from the src mob.
remove_status_effectRemoves all of a given status effect from this mob, returning TRUE if at least one was removed
shared_living_ui_distancepublic
transfer_blood_toBLOOD TRANSFERS

Var Details

admin_prev_sleeping

Used for keeping track of previous sleeping value with admin freeze.

frozen

Used for preventing attacks on admin-frozen mobs.

Proc Details

AdjustConfused

Sets confusion to current amount + given, clamped between lower and higher bounds.

Arguments:

AdjustDizzy

Sets dizziness to current amount + given, clamped between lower and higher bounds.

Arguments:

AdjustDrowsy

Sets drowsiness to current amount + given, clamped between lower and higher bounds.

Arguments:

AdjustDrunk

Sets drunkenness to current amount + given, clamped between lower and higher bounds.

Arguments:

AdjustSleeping

used for admin freezing.

Confused

Sets confusion if it's higher than current.

Dizzy

Sets dizziness if it's higher than current.

Drowsy

Sets drowsiness if it's higher than current.

Drunk

Sets drunkenness if it's higher than current.

IsFrozen

FROZEN

SetConfused

Sets confusion if it's higher than zero.

SetDizzy

Sets dizziness if it's higher than zero.

SetDrowsy

Sets drowsiness if it's higher than zero.

SetDrunk

Sets drunkenness if it's higher than zero.

add_stun_absorption

STUN ABSORPTION

apply_status_effect

Applies a given status effect to this mob, returning the effect if it was successful or null otherwise

electrocute_act

As the name suggests, this should be called to apply electric shocks.

get_confusion

Returns current amount of confusion, 0 if none.

get_dizziness

Returns current amount of dizziness, 0 if none.

get_drowsiness

Returns current amount of drowsiness, 0 if none.

get_drunkenness

Returns current amount of drunkenness, 0 if none.

get_strip_slot_name_override

Returns the name override, if any, for the slot somebody is trying to strip

grant_guardian_actions

Grants all existing /datum/action/guardian type actions to the src mob.

Called whenever the host gains their gauardian.

handle_fire

Burns a mob and slowly puts the fires out. Returns TRUE if the mob is on fire

has_status_effect

Returns the effect if the mob calling the proc owns the given status effect, or null otherwise

has_status_effect_list

Returns a list of effects with matching IDs that the mod owns; use for effects there can be multiple of

remove_guardian_actions

Removes all /datum/action/guardian type actions from the src mob.

Called whenever the host loses their guardian.

remove_status_effect

Removes all of a given status effect from this mob, returning TRUE if at least one was removed

shared_living_ui_distance

public

Distance versus interaction check.

required src_object atom/movable The object which owns the UI.

return UI_state The state of the UI.

transfer_blood_to

BLOOD TRANSFERS