byond - Modules - TypesVar Details - Proc Details

wall

Vars

acided_holethe acid hole inside the wall
blend_objectsKinds of /obj that can be blended with
blend_turfsKinds of /turf/closed/wall that can be blended with
busyWhether this turf is currently being manipulated to prevent doubling up
damage_capWall will break down to girders if damage reaches this point
junctiontypewhen walls smooth with one another, the type of junction each wall is.
neighbors_bitfieldA bitfield of all the directions with a blendable neighbor
noblend_objectsKinds of /obj that cannot be blended with
noblend_turfsKinds of /turf/closed/wall that cannot be blended with
walltype1 = Can't be deconstructed by tools or thermite. Used for Sulaco walls

Procs

can_join_withReturns whether the turf/closed/wall can be joined with based on blend_turfs and noblend_turfs (same type is assumed to be joinable regardless)
can_join_with_objectReturns whether the obj can be joined with based on blend_objects and noblend_objects
update_connectionsAppends (doesn't reset) to neighbors_bitfield and resets wall_connections based on blend_turfs, noblend_turfs, blend_objects, and noblend_objects in cardinals with optional propogation for a /turf/closed/wall

Var Details

acided_hole

the acid hole inside the wall

blend_objects

Kinds of /obj that can be blended with

blend_turfs

Kinds of /turf/closed/wall that can be blended with

busy

Whether this turf is currently being manipulated to prevent doubling up

damage_cap

Wall will break down to girders if damage reaches this point

junctiontype

when walls smooth with one another, the type of junction each wall is.

neighbors_bitfield

A bitfield of all the directions with a blendable neighbor

noblend_objects

Kinds of /obj that cannot be blended with

noblend_turfs

Kinds of /turf/closed/wall that cannot be blended with

walltype

1 = Can't be deconstructed by tools or thermite. Used for Sulaco walls

Proc Details

can_join_with

Returns whether the turf/closed/wall can be joined with based on blend_turfs and noblend_turfs (same type is assumed to be joinable regardless)

can_join_with_object

Returns whether the obj can be joined with based on blend_objects and noblend_objects

update_connections

Appends (doesn't reset) to neighbors_bitfield and resets wall_connections based on blend_turfs, noblend_turfs, blend_objects, and noblend_objects in cardinals with optional propogation for a /turf/closed/wall