mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
cleans up INIT (#17130)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/obj/structure/closet/debug/Initialize(var/maploading, var/newappearance)
|
||||
/obj/structure/closet/debug/Initialize(mapload, var/newappearance)
|
||||
closet_appearance = newappearance
|
||||
. = ..()
|
||||
|
||||
@@ -1942,4 +1942,4 @@
|
||||
color = COLOR_DESATTI_PRPLOW
|
||||
extra_decals = list(
|
||||
"lid_stripes" = COLOR_DESATTI_PRPHI
|
||||
)
|
||||
)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
var/obj/item/extinguisher/has_extinguisher
|
||||
var/opened = 0
|
||||
|
||||
/obj/structure/extinguisher_cabinet/Initialize(var/mapload, var/dir, var/building = 0)
|
||||
/obj/structure/extinguisher_cabinet/Initialize(mapload, var/dir, var/building = 0)
|
||||
. = ..()
|
||||
|
||||
if(building)
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
if(notify)
|
||||
trigger()
|
||||
|
||||
/obj/structure/ghost_pod/ghost_activated/Initialize(var/mapload)
|
||||
/obj/structure/ghost_pod/ghost_activated/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
ghostpod_startup(spawn_active)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
var/datum/material/material
|
||||
var/grille_type
|
||||
|
||||
/obj/structure/low_wall/Initialize(var/mapload, var/materialtype)
|
||||
/obj/structure/low_wall/Initialize(mapload, var/materialtype)
|
||||
. = ..()
|
||||
icon_state = "blank"
|
||||
var/turf/T = loc
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
var/applies_material_colour = 1
|
||||
var/flippable = TRUE
|
||||
|
||||
/obj/structure/bed/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
..(newloc)
|
||||
/obj/structure/bed/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
..()
|
||||
color = null
|
||||
if(!new_material)
|
||||
new_material = MAT_STEEL
|
||||
@@ -199,19 +199,19 @@
|
||||
icon_state = "psychbed"
|
||||
base_icon = "psychbed"
|
||||
|
||||
/obj/structure/bed/psych/Initialize(var/newloc)
|
||||
. = ..(newloc,MAT_WOOD,MAT_LEATHER)
|
||||
/obj/structure/bed/psych/Initialize(mapload)
|
||||
. = ..(mapload,MAT_WOOD,MAT_LEATHER)
|
||||
|
||||
/obj/structure/bed/padded/Initialize(var/newloc)
|
||||
. = ..(newloc,MAT_PLASTIC,MAT_COTTON)
|
||||
/obj/structure/bed/padded/Initialize(mapload)
|
||||
. = ..(mapload,MAT_PLASTIC,MAT_COTTON)
|
||||
|
||||
/obj/structure/bed/double
|
||||
name = "double bed"
|
||||
icon_state = "doublebed"
|
||||
base_icon = "doublebed"
|
||||
|
||||
/obj/structure/bed/double/padded/Initialize(var/newloc)
|
||||
. = ..(newloc,MAT_WOOD,MAT_COTTON)
|
||||
/obj/structure/bed/double/padded/Initialize(mapload)
|
||||
. = ..(mapload,MAT_WOOD,MAT_COTTON)
|
||||
|
||||
/obj/structure/bed/double/post_buckle_mob(mob/living/M as mob)
|
||||
if(M.buckled == src)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
buckle_lying = 0 //force people to sit up in chairs when buckled
|
||||
var/propelled = 0 // Check for fire-extinguisher-driven chairs
|
||||
|
||||
/obj/structure/bed/chair/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
/obj/structure/bed/chair/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..()
|
||||
update_layer()
|
||||
|
||||
@@ -127,38 +127,38 @@
|
||||
I.color = padding_material.icon_colour
|
||||
add_overlay(I)
|
||||
|
||||
/obj/structure/bed/chair/comfy/brown/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_LEATHER)
|
||||
/obj/structure/bed/chair/comfy/brown/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_LEATHER)
|
||||
|
||||
/obj/structure/bed/chair/comfy/red/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CARPET)
|
||||
/obj/structure/bed/chair/comfy/red/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CARPET)
|
||||
|
||||
/obj/structure/bed/chair/comfy/teal/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_TEAL)
|
||||
/obj/structure/bed/chair/comfy/teal/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_TEAL)
|
||||
|
||||
/obj/structure/bed/chair/comfy/black/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_BLACK)
|
||||
/obj/structure/bed/chair/comfy/black/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_BLACK)
|
||||
|
||||
/obj/structure/bed/chair/comfy/green/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_GREEN)
|
||||
/obj/structure/bed/chair/comfy/green/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_GREEN)
|
||||
|
||||
/obj/structure/bed/chair/comfy/purp/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_PURPLE)
|
||||
/obj/structure/bed/chair/comfy/purp/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_PURPLE)
|
||||
|
||||
/obj/structure/bed/chair/comfy/blue/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_BLUE)
|
||||
/obj/structure/bed/chair/comfy/blue/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_BLUE)
|
||||
|
||||
/obj/structure/bed/chair/comfy/beige/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_BEIGE)
|
||||
/obj/structure/bed/chair/comfy/beige/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_BEIGE)
|
||||
|
||||
/obj/structure/bed/chair/comfy/lime/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_LIME)
|
||||
/obj/structure/bed/chair/comfy/lime/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_LIME)
|
||||
|
||||
/obj/structure/bed/chair/comfy/yellow/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_YELLOW)
|
||||
/obj/structure/bed/chair/comfy/yellow/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_YELLOW)
|
||||
|
||||
/obj/structure/bed/chair/comfy/orange/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_ORANGE)
|
||||
/obj/structure/bed/chair/comfy/orange/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_ORANGE)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded
|
||||
name = "rounded chair"
|
||||
@@ -166,38 +166,38 @@
|
||||
icon_state = "roundedchair"
|
||||
base_icon = "roundedchair"
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/brown/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_LEATHER)
|
||||
/obj/structure/bed/chair/comfy/rounded/brown/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_LEATHER)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/red/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CARPET)
|
||||
/obj/structure/bed/chair/comfy/rounded/red/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CARPET)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/teal/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_TEAL)
|
||||
/obj/structure/bed/chair/comfy/rounded/teal/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_TEAL)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/black/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_BLACK)
|
||||
/obj/structure/bed/chair/comfy/rounded/black/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_BLACK)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/green/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_GREEN)
|
||||
/obj/structure/bed/chair/comfy/rounded/green/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_GREEN)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/purple/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_PURPLE)
|
||||
/obj/structure/bed/chair/comfy/rounded/purple/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_PURPLE)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/blue/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_BLUE)
|
||||
/obj/structure/bed/chair/comfy/rounded/blue/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_BLUE)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/beige/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_BEIGE)
|
||||
/obj/structure/bed/chair/comfy/rounded/beige/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_BEIGE)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/lime/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_LIME)
|
||||
/obj/structure/bed/chair/comfy/rounded/lime/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_LIME)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/yellow/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_YELLOW)
|
||||
/obj/structure/bed/chair/comfy/rounded/yellow/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_YELLOW)
|
||||
|
||||
/obj/structure/bed/chair/comfy/rounded/orange/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_ORANGE)
|
||||
/obj/structure/bed/chair/comfy/rounded/orange/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_ORANGE)
|
||||
|
||||
/obj/structure/bed/chair/office
|
||||
anchored = FALSE
|
||||
@@ -277,8 +277,8 @@
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/structure/bed/chair/wood/Initialize(var/newloc)
|
||||
. = ..(newloc, MAT_WOOD)
|
||||
/obj/structure/bed/chair/wood/Initialize(mapload)
|
||||
. = ..(mapload, MAT_WOOD)
|
||||
|
||||
/obj/structure/bed/chair/wood/wings
|
||||
icon_state = "wooden_chair_wings"
|
||||
@@ -364,7 +364,7 @@
|
||||
color = null
|
||||
var/padding_color = "#CC0000"
|
||||
|
||||
/obj/structure/bed/chair/sofa/bench/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
/obj/structure/bed/chair/sofa/bench/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..()
|
||||
var/mutable_appearance/MA
|
||||
// If we're north-facing, metal goes above mob, padding overlay goes below mob.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
base_icon = "modern_chair"
|
||||
applies_material_colour = 0
|
||||
|
||||
/obj/structure/bed/chair/modern_chair/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
/obj/structure/bed/chair/modern_chair/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..()
|
||||
var/image/I = image(icon, "[base_icon]_over")
|
||||
I.layer = ABOVE_MOB_LAYER
|
||||
@@ -122,35 +122,35 @@
|
||||
base_icon = "bay_chair"
|
||||
buckle_movable = 1
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/red/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CARPET)
|
||||
/obj/structure/bed/chair/bay/chair/padded/red/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CARPET)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/brown/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_LEATHER)
|
||||
/obj/structure/bed/chair/bay/chair/padded/brown/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_LEATHER)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/teal/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_TEAL)
|
||||
/obj/structure/bed/chair/bay/chair/padded/teal/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_TEAL)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/black/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_BLACK)
|
||||
/obj/structure/bed/chair/bay/chair/padded/black/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_BLACK)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/green/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_GREEN)
|
||||
/obj/structure/bed/chair/bay/chair/padded/green/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_GREEN)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/purple/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_PURPLE)
|
||||
/obj/structure/bed/chair/bay/chair/padded/purple/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_PURPLE)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/blue/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_BLUE)
|
||||
/obj/structure/bed/chair/bay/chair/padded/blue/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_BLUE)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/beige/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_BEIGE)
|
||||
/obj/structure/bed/chair/bay/chair/padded/beige/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_BEIGE)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/lime/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_LIME)
|
||||
/obj/structure/bed/chair/bay/chair/padded/lime/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_LIME)
|
||||
|
||||
/obj/structure/bed/chair/bay/chair/padded/yellow/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_YELLOW)
|
||||
/obj/structure/bed/chair/bay/chair/padded/yellow/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_YELLOW)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy
|
||||
name = "comfy mounted chair"
|
||||
@@ -158,35 +158,35 @@
|
||||
icon_state = "bay_comfychair_preview"
|
||||
base_icon = "bay_comfychair"
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/red/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CARPET)
|
||||
/obj/structure/bed/chair/bay/comfy/red/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CARPET)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/brown/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_LEATHER)
|
||||
/obj/structure/bed/chair/bay/comfy/brown/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_LEATHER)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/teal/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_TEAL)
|
||||
/obj/structure/bed/chair/bay/comfy/teal/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_TEAL)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/black/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_BLACK)
|
||||
/obj/structure/bed/chair/bay/comfy/black/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_BLACK)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/green/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_GREEN)
|
||||
/obj/structure/bed/chair/bay/comfy/green/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_GREEN)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/purple/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_PURPLE)
|
||||
/obj/structure/bed/chair/bay/comfy/purple/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_PURPLE)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/blue/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_BLUE)
|
||||
/obj/structure/bed/chair/bay/comfy/blue/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_BLUE)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/beige/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_BEIGE)
|
||||
/obj/structure/bed/chair/bay/comfy/beige/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_BEIGE)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/lime/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_LIME)
|
||||
/obj/structure/bed/chair/bay/comfy/lime/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_LIME)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/yellow/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, new_material, MAT_CLOTH_YELLOW)
|
||||
/obj/structure/bed/chair/bay/comfy/yellow/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, new_material, MAT_CLOTH_YELLOW)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/captain
|
||||
name = "captain chair"
|
||||
@@ -201,8 +201,8 @@
|
||||
I.layer = ABOVE_MOB_LAYER
|
||||
add_overlay(I)
|
||||
|
||||
/obj/structure/bed/chair/bay/comfy/captain/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, MAT_CLOTH_BLUE)
|
||||
/obj/structure/bed/chair/bay/comfy/captain/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, MAT_CLOTH_BLUE)
|
||||
|
||||
/obj/structure/bed/chair/bay/shuttle
|
||||
name = "shuttle seat"
|
||||
@@ -213,8 +213,8 @@
|
||||
var/buckling_sound = 'sound/effects/metal_close.ogg'
|
||||
var/padding = MAT_CLOTH_BLUE
|
||||
|
||||
/obj/structure/bed/chair/bay/shuttle/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
. = ..(newloc, MAT_STEEL, padding)
|
||||
/obj/structure/bed/chair/bay/shuttle/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..(mapload, MAT_STEEL, padding)
|
||||
|
||||
/obj/structure/bed/chair/bay/shuttle/post_buckle_mob()
|
||||
playsound(src,buckling_sound,75,1)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
var/min_mob_buckle_size = MOB_SMALL
|
||||
var/max_mob_buckle_size = MOB_LARGE
|
||||
|
||||
/obj/structure/bed/chair/wheelchair/Initialize(var/newloc, var/new_material, var/new_padding_material)
|
||||
/obj/structure/bed/chair/wheelchair/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user