Space Station 13 - Modules - TypesVar Details - Proc Details

obj

Vars

always_reskinnableCan always be modified
anchored_tabletop_offsetThe vertical pixel offset applied when the object is anchored on a tile with table Ignored when set to 0 - to avoid shifting directional wall-mounted objects above tables
bare_wound_bonusIf this attacks a human with no wound armor on the affected body part, add this to the wound mod. Some attacks may be significantly worse at wounding if there's even a slight layer of armor to absorb some of it vs bare flesh
current_skinThe item reskin
damage_deflectionDamage under this value will be completely ignored
reskin_bindingHow to bring up the reskinning menu
unique_reskinList of options to reskin.
wound_bonusHow good a given object is at causing wounds on carbons. Higher values equal better shots at creating serious wounds.

Procs

CanAStarPassThis proc is used for telling whether something can pass by this object in a given direction, for use by the pathfinding system.
check_on_tableAdjusts the vertical pixel offset when the object is anchored on a tile with table
fire_actFIRE
get_armorGet the atom's armor reference
get_armor_ratingHelper to get a specific rating for the atom's armor
repair_damageProc for recovering obj_integrity. Returns the amount repaired by
reskin_objDo you want to make overrides, of course you do! Will be called if an object was reskinned successfully
setAnchored@depricated DO NOT USE
set_armorSets the armor of this atom to the specified armor
set_armor_ratingHelper to update the atom's armor to a new armor with the specified rating
ui_login_actCall this from a proc that is called in ui_act() to process login actions
ui_login_attackbyConvenience function to perform login actions when the source object is hit by specific items.
ui_login_dataAppends login state data.
ui_login_ejectAttempts to eject the inserted ID.
ui_login_getReturns (or creates) the login state for the source object.
ui_login_insertAttempts to insert an object as an ID.
ui_login_loginAttempts to log in with the given login type.
ui_login_logoutAttempts to log out.
ui_login_on_loginCalled on successful login.
ui_login_on_logoutCalled on successful logout.

Var Details

always_reskinnable

Can always be modified

anchored_tabletop_offset

The vertical pixel offset applied when the object is anchored on a tile with table Ignored when set to 0 - to avoid shifting directional wall-mounted objects above tables

bare_wound_bonus

If this attacks a human with no wound armor on the affected body part, add this to the wound mod. Some attacks may be significantly worse at wounding if there's even a slight layer of armor to absorb some of it vs bare flesh

current_skin

The item reskin

damage_deflection

Damage under this value will be completely ignored

reskin_binding

How to bring up the reskinning menu

unique_reskin

List of options to reskin.

wound_bonus

How good a given object is at causing wounds on carbons. Higher values equal better shots at creating serious wounds.

Proc Details

CanAStarPass

This proc is used for telling whether something can pass by this object in a given direction, for use by the pathfinding system.

Trying to generate one long path across the station will call this proc on every single object on every single tile that we're seeing if we can move through, likely multiple times per tile since we're likely checking if we can access said tile from multiple directions, so keep these as lightweight as possible.

Arguments:

check_on_table

Adjusts the vertical pixel offset when the object is anchored on a tile with table

fire_act

FIRE

get_armor

Get the atom's armor reference

get_armor_rating

Helper to get a specific rating for the atom's armor

repair_damage

Proc for recovering obj_integrity. Returns the amount repaired by

reskin_obj

Do you want to make overrides, of course you do! Will be called if an object was reskinned successfully

setAnchored

@depricated DO NOT USE

set_armor

Sets the armor of this atom to the specified armor

set_armor_rating

Helper to update the atom's armor to a new armor with the specified rating

ui_login_act

Call this from a proc that is called in ui_act() to process login actions

Arguments:

ui_login_attackby

Convenience function to perform login actions when the source object is hit by specific items.

Arguments:

ui_login_data

Appends login state data.

Arguments:

ui_login_eject

Attempts to eject the inserted ID.

Arguments:

ui_login_get

Returns (or creates) the login state for the source object.

Arguments:

ui_login_insert

Attempts to insert an object as an ID.

Arguments:

ui_login_login

Attempts to log in with the given login type.

Arguments:

ui_login_logout

Attempts to log out.

Arguments:

ui_login_on_login

Called on successful login.

Arguments:

ui_login_on_logout

Called on successful logout.

Arguments: