Update files
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
var/obj/item/mmi/brain = null
|
||||
var/can_deconstruct = TRUE
|
||||
|
||||
/obj/structure/AIcore/Initialize()
|
||||
/obj/structure/AIcore/Initialize(mapload)
|
||||
. = ..()
|
||||
laws = new
|
||||
laws.set_laws_config()
|
||||
@@ -67,7 +67,7 @@
|
||||
return
|
||||
return ..()
|
||||
|
||||
/obj/structure/AIcore/latejoin_inactive/Initialize()
|
||||
/obj/structure/AIcore/latejoin_inactive/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.latejoin_ai_cores += src
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
var/growth_cooldown_high = 200
|
||||
var/static/list/blacklisted_turfs
|
||||
|
||||
/obj/structure/alien/weeds/Initialize()
|
||||
/obj/structure/alien/weeds/Initialize(mapload)
|
||||
pixel_x = -4
|
||||
pixel_y = -4 //so the sprites line up right in the map editor
|
||||
. = ..()
|
||||
@@ -177,7 +177,7 @@
|
||||
var/lon_range = 4
|
||||
var/node_range = NODERANGE
|
||||
|
||||
/obj/structure/alien/weeds/node/Initialize()
|
||||
/obj/structure/alien/weeds/node/Initialize(mapload)
|
||||
icon = 'icons/obj/smooth_structures/alien/weednode.dmi'
|
||||
. = ..()
|
||||
set_light(lon_range)
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
pixel_x = 10
|
||||
pixel_y = 9
|
||||
|
||||
/obj/item/canvas/Initialize()
|
||||
/obj/item/canvas/Initialize(mapload)
|
||||
. = ..()
|
||||
reset_grid()
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
var/list/barsigns=list()
|
||||
var/panel_open = FALSE
|
||||
|
||||
/obj/structure/sign/barsign/Initialize()
|
||||
/obj/structure/sign/barsign/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
//filling the barsigns list
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
if(!has_buckled_mobs())
|
||||
. += "<span class='notice'>Drag your sprite to sit in it.</span>"
|
||||
|
||||
/obj/structure/chair/Initialize()
|
||||
/obj/structure/chair/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!anchored) //why would you put these on the shuttle?
|
||||
addtimer(CALLBACK(src, .proc/RemoveFromLatejoin), 0)
|
||||
@@ -190,7 +190,7 @@
|
||||
item_chair = null
|
||||
var/mutable_appearance/armrest
|
||||
|
||||
/obj/structure/chair/comfy/Initialize()
|
||||
/obj/structure/chair/comfy/Initialize(mapload)
|
||||
armrest = GetArmrest()
|
||||
armrest.layer = ABOVE_MOB_LAYER
|
||||
return ..()
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
icon_state = "pewend_left"
|
||||
var/mutable_appearance/leftpewarmrest
|
||||
|
||||
/obj/structure/chair/pew/left/Initialize()
|
||||
/obj/structure/chair/pew/left/Initialize(mapload)
|
||||
leftpewarmrest = GetLeftPewArmrest()
|
||||
leftpewarmrest.layer = ABOVE_MOB_LAYER
|
||||
return ..()
|
||||
@@ -45,7 +45,7 @@
|
||||
icon_state = "pewend_right"
|
||||
var/mutable_appearance/rightpewarmrest
|
||||
|
||||
/obj/structure/chair/pew/right/Initialize()
|
||||
/obj/structure/chair/pew/right/Initialize(mapload)
|
||||
rightpewarmrest = GetRightPewArmrest()
|
||||
rightpewarmrest.layer = ABOVE_MOB_LAYER
|
||||
return ..()
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
item_chair = null
|
||||
var/mutable_appearance/armrest
|
||||
|
||||
/obj/structure/chair/sofa/Initialize()
|
||||
/obj/structure/chair/sofa/Initialize(mapload)
|
||||
armrest = mutable_appearance(icon, "[icon_state]_armrest", ABOVE_MOB_LAYER)
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -259,7 +259,7 @@ GLOBAL_LIST_INIT(double_bedsheets, list(/obj/item/bedsheet/double,
|
||||
var/g_mouth
|
||||
var/g_eyes
|
||||
|
||||
/obj/item/bedsheet/gondola/Initialize()
|
||||
/obj/item/bedsheet/gondola/Initialize(mapload)
|
||||
. = ..()
|
||||
g_mouth = "sheetgondola_mouth[rand(1, 4)]"
|
||||
g_eyes = "sheetgondola_eyes[rand(1, 4)]"
|
||||
@@ -285,7 +285,7 @@ GLOBAL_LIST_INIT(double_bedsheets, list(/obj/item/bedsheet/double,
|
||||
name = "random bedsheet"
|
||||
desc = "If you're reading this description ingame, something has gone wrong! Honk!"
|
||||
|
||||
/obj/item/bedsheet/random/Initialize()
|
||||
/obj/item/bedsheet/random/Initialize(mapload)
|
||||
..()
|
||||
if(bedsheet_type == BEDSHEET_SINGLE)
|
||||
var/type = pick(typesof(/obj/item/bedsheet) - (list(/obj/item/bedsheet/random, /obj/item/bedsheet/chameleon) + typesof(/obj/item/bedsheet/unlockable) + GLOB.double_bedsheets))
|
||||
@@ -446,7 +446,7 @@ GLOBAL_LIST_INIT(double_bedsheets, list(/obj/item/bedsheet/double,
|
||||
icon_state = "random_bedsheet"
|
||||
bedsheet_type = BEDSHEET_DOUBLE
|
||||
|
||||
/obj/item/bedsheet/random/double/Initialize()
|
||||
/obj/item/bedsheet/random/double/Initialize(mapload)
|
||||
..()
|
||||
if(bedsheet_type == BEDSHEET_DOUBLE)
|
||||
var/type = pick(GLOB.double_bedsheets)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
recursive_organ_check(src)
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/secure_closet/freezer/Initialize()
|
||||
/obj/structure/closet/secure_closet/freezer/Initialize(mapload)
|
||||
. = ..()
|
||||
recursive_organ_check(src)
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
material_drop_amount = 5
|
||||
var/obj/item/paper/fluff/jobs/cargo/manifest/manifest
|
||||
|
||||
/obj/structure/closet/crate/Initialize()
|
||||
/obj/structure/closet/crate/Initialize(mapload)
|
||||
. = ..()
|
||||
if(icon_state == "[initial(icon_state)]open")
|
||||
opened = TRUE
|
||||
@@ -141,7 +141,7 @@
|
||||
recursive_organ_check(src)
|
||||
..()
|
||||
|
||||
/obj/structure/closet/crate/freezer/Initialize()
|
||||
/obj/structure/closet/crate/freezer/Initialize(mapload)
|
||||
. = ..()
|
||||
recursive_organ_check(src)
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
var/list/start_showpieces = list() //Takes sublists in the form of list("type" = /obj/item/bikehorn, "trophy_message" = "henk")
|
||||
var/trophy_message = ""
|
||||
|
||||
/obj/structure/displaycase/Initialize()
|
||||
/obj/structure/displaycase/Initialize(mapload)
|
||||
. = ..()
|
||||
if(start_showpieces.len && !start_showpiece_type)
|
||||
var/list/showpiece_entry = pick(start_showpieces)
|
||||
@@ -252,7 +252,7 @@
|
||||
integrity_failure = 0
|
||||
openable = FALSE
|
||||
|
||||
/obj/structure/displaycase/trophy/Initialize()
|
||||
/obj/structure/displaycase/trophy/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.trophy_cases += src
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
var/girder_type = /obj/structure/girder/displaced
|
||||
var/opening = FALSE
|
||||
|
||||
/obj/structure/falsewall/Initialize()
|
||||
/obj/structure/falsewall/Initialize(mapload)
|
||||
. = ..()
|
||||
air_update_turf(TRUE)
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
var/hole_size= NO_HOLE
|
||||
var/invulnerable = FALSE
|
||||
|
||||
/obj/structure/fence/Initialize()
|
||||
/obj/structure/fence/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
update_cut_status()
|
||||
@@ -129,7 +129,7 @@
|
||||
cuttable = FALSE
|
||||
var/open = FALSE
|
||||
|
||||
/obj/structure/fence/door/Initialize()
|
||||
/obj/structure/fence/door/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
update_door_status()
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
var/open = FALSE
|
||||
var/obj/item/fireaxe/fireaxe
|
||||
|
||||
/obj/structure/fireaxecabinet/Initialize()
|
||||
/obj/structure/fireaxecabinet/Initialize(mapload)
|
||||
. = ..()
|
||||
fireaxe = new
|
||||
update_icon()
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
icon_state = "pine_1"
|
||||
var/list/icon_states = list("pine_1", "pine_2", "pine_3")
|
||||
|
||||
/obj/structure/flora/tree/pine/Initialize()
|
||||
/obj/structure/flora/tree/pine/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
if(islist(icon_states && icon_states.len))
|
||||
@@ -101,7 +101,7 @@
|
||||
desc = "A tree straight from the tropics."
|
||||
icon_state = "palm1"
|
||||
|
||||
/obj/structure/flora/tree/palm/Initialize()
|
||||
/obj/structure/flora/tree/palm/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = pick("palm1","palm2")
|
||||
pixel_x = 0
|
||||
@@ -118,7 +118,7 @@
|
||||
icon_state = "anchored_rod"
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/flora/tree/dead/Initialize()
|
||||
/obj/structure/flora/tree/dead/Initialize(mapload)
|
||||
icon_state = "tree_[rand(1, 6)]"
|
||||
. = ..()
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
pixel_x = -48
|
||||
pixel_y = -20
|
||||
|
||||
/obj/structure/flora/tree/jungle/Initialize()
|
||||
/obj/structure/flora/tree/jungle/Initialize(mapload)
|
||||
icon_state = "[icon_state][rand(1, 6)]"
|
||||
. = ..()
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
/obj/structure/flora/grass/brown
|
||||
icon_state = "snowgrass1bb"
|
||||
|
||||
/obj/structure/flora/grass/brown/Initialize()
|
||||
/obj/structure/flora/grass/brown/Initialize(mapload)
|
||||
icon_state = "snowgrass[rand(1, 3)]bb"
|
||||
. = ..()
|
||||
|
||||
@@ -157,14 +157,14 @@
|
||||
/obj/structure/flora/grass/green
|
||||
icon_state = "snowgrass1gb"
|
||||
|
||||
/obj/structure/flora/grass/green/Initialize()
|
||||
/obj/structure/flora/grass/green/Initialize(mapload)
|
||||
icon_state = "snowgrass[rand(1, 3)]gb"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/grass/both
|
||||
icon_state = "snowgrassall1"
|
||||
|
||||
/obj/structure/flora/grass/both/Initialize()
|
||||
/obj/structure/flora/grass/both/Initialize(mapload)
|
||||
icon_state = "snowgrassall[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
icon_state = "snowbush1"
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/flora/bush/Initialize()
|
||||
/obj/structure/flora/bush/Initialize(mapload)
|
||||
icon_state = "snowbush[rand(1, 6)]"
|
||||
. = ..()
|
||||
|
||||
@@ -189,7 +189,7 @@
|
||||
icon = 'icons/obj/flora/ausflora.dmi'
|
||||
icon_state = "firstbush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/Initialize()
|
||||
/obj/structure/flora/ausbushes/Initialize(mapload)
|
||||
if(icon_state == "firstbush_1")
|
||||
icon_state = "firstbush_[rand(1, 4)]"
|
||||
. = ..()
|
||||
@@ -197,105 +197,105 @@
|
||||
/obj/structure/flora/ausbushes/reedbush
|
||||
icon_state = "reedbush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/reedbush/Initialize()
|
||||
/obj/structure/flora/ausbushes/reedbush/Initialize(mapload)
|
||||
icon_state = "reedbush_[rand(1, 4)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/leafybush
|
||||
icon_state = "leafybush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/leafybush/Initialize()
|
||||
/obj/structure/flora/ausbushes/leafybush/Initialize(mapload)
|
||||
icon_state = "leafybush_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/palebush
|
||||
icon_state = "palebush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/palebush/Initialize()
|
||||
/obj/structure/flora/ausbushes/palebush/Initialize(mapload)
|
||||
icon_state = "palebush_[rand(1, 4)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/stalkybush
|
||||
icon_state = "stalkybush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/stalkybush/Initialize()
|
||||
/obj/structure/flora/ausbushes/stalkybush/Initialize(mapload)
|
||||
icon_state = "stalkybush_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/grassybush
|
||||
icon_state = "grassybush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/grassybush/Initialize()
|
||||
/obj/structure/flora/ausbushes/grassybush/Initialize(mapload)
|
||||
icon_state = "grassybush_[rand(1, 4)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/fernybush
|
||||
icon_state = "fernybush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/fernybush/Initialize()
|
||||
/obj/structure/flora/ausbushes/fernybush/Initialize(mapload)
|
||||
icon_state = "fernybush_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/sunnybush
|
||||
icon_state = "sunnybush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/sunnybush/Initialize()
|
||||
/obj/structure/flora/ausbushes/sunnybush/Initialize(mapload)
|
||||
icon_state = "sunnybush_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/genericbush
|
||||
icon_state = "genericbush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/genericbush/Initialize()
|
||||
/obj/structure/flora/ausbushes/genericbush/Initialize(mapload)
|
||||
icon_state = "genericbush_[rand(1, 4)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/pointybush
|
||||
icon_state = "pointybush_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/pointybush/Initialize()
|
||||
/obj/structure/flora/ausbushes/pointybush/Initialize(mapload)
|
||||
icon_state = "pointybush_[rand(1, 4)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/lavendergrass
|
||||
icon_state = "lavendergrass_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/lavendergrass/Initialize()
|
||||
/obj/structure/flora/ausbushes/lavendergrass/Initialize(mapload)
|
||||
icon_state = "lavendergrass_[rand(1, 4)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/ywflowers
|
||||
icon_state = "ywflowers_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/ywflowers/Initialize()
|
||||
/obj/structure/flora/ausbushes/ywflowers/Initialize(mapload)
|
||||
icon_state = "ywflowers_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/brflowers
|
||||
icon_state = "brflowers_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/brflowers/Initialize()
|
||||
/obj/structure/flora/ausbushes/brflowers/Initialize(mapload)
|
||||
icon_state = "brflowers_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/ppflowers
|
||||
icon_state = "ppflowers_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/ppflowers/Initialize()
|
||||
/obj/structure/flora/ausbushes/ppflowers/Initialize(mapload)
|
||||
icon_state = "ppflowers_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/sparsegrass
|
||||
icon_state = "sparsegrass_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/sparsegrass/Initialize()
|
||||
/obj/structure/flora/ausbushes/sparsegrass/Initialize(mapload)
|
||||
icon_state = "sparsegrass_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
/obj/structure/flora/ausbushes/fullgrass
|
||||
icon_state = "fullgrass_1"
|
||||
|
||||
/obj/structure/flora/ausbushes/fullgrass/Initialize()
|
||||
/obj/structure/flora/ausbushes/fullgrass/Initialize(mapload)
|
||||
icon_state = "fullgrass_[rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
@@ -322,7 +322,7 @@
|
||||
icon_state = "random_plant"
|
||||
var/list/static/states
|
||||
|
||||
/obj/item/kirbyplants/random/Initialize()
|
||||
/obj/item/kirbyplants/random/Initialize(mapload)
|
||||
. = ..()
|
||||
icon = 'icons/obj/flora/plants.dmi'
|
||||
if(!states)
|
||||
@@ -368,7 +368,7 @@
|
||||
/// Amount of the itemstack to drop
|
||||
var/mineAmount = 20
|
||||
|
||||
/obj/structure/flora/rock/Initialize()
|
||||
/obj/structure/flora/rock/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "[icon_state][rand(1,3)]"
|
||||
|
||||
@@ -398,7 +398,7 @@
|
||||
icon_state = "grassa"
|
||||
|
||||
|
||||
/obj/structure/flora/grass/jungle/Initialize()
|
||||
/obj/structure/flora/grass/jungle/Initialize(mapload)
|
||||
icon_state = "[icon_state][rand(1, 5)]"
|
||||
. = ..()
|
||||
|
||||
@@ -414,7 +414,7 @@
|
||||
icon = 'icons/obj/flora/jungleflora.dmi'
|
||||
density = FALSE
|
||||
|
||||
/obj/structure/flora/rock/jungle/Initialize()
|
||||
/obj/structure/flora/rock/jungle/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "[initial(icon_state)][rand(1,5)]"
|
||||
|
||||
@@ -427,7 +427,7 @@
|
||||
icon = 'icons/obj/flora/jungleflora.dmi'
|
||||
icon_state = "busha"
|
||||
|
||||
/obj/structure/flora/junglebush/Initialize()
|
||||
/obj/structure/flora/junglebush/Initialize(mapload)
|
||||
icon_state = "[icon_state][rand(1, 3)]"
|
||||
. = ..()
|
||||
|
||||
@@ -452,6 +452,6 @@
|
||||
pixel_x = -16
|
||||
pixel_y = -16
|
||||
|
||||
/obj/structure/flora/rock/pile/largejungle/Initialize()
|
||||
/obj/structure/flora/rock/pile/largejungle/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "[initial(icon_state)][rand(1,3)]"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
var/kill_count = 0
|
||||
var/current_action = 0 // What's currently happening to the guillotine
|
||||
|
||||
/obj/structure/guillotine/Initialize()
|
||||
/obj/structure/guillotine/Initialize(mapload)
|
||||
LAZYINITLIST(buckled_mobs)
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
else
|
||||
spear = locate(/obj/item/spear) in parts_list
|
||||
|
||||
/obj/structure/headpike/Initialize()
|
||||
/obj/structure/headpike/Initialize(mapload)
|
||||
. = ..()
|
||||
pixel_x = rand(-8, 8)
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
alpha = 150
|
||||
init_vis_overlay = FALSE
|
||||
|
||||
/obj/structure/holosign/barrier/atmos/Initialize()
|
||||
/obj/structure/holosign/barrier/atmos/Initialize(mapload)
|
||||
. = ..()
|
||||
air_update_turf(TRUE)
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
/obj/structure/holosign/barrier/firelock/BlockThermalConductivity()
|
||||
return TRUE
|
||||
|
||||
/obj/structure/holosign/barrier/firelock/Initialize()
|
||||
/obj/structure/holosign/barrier/firelock/Initialize(mapload)
|
||||
. = ..()
|
||||
air_update_turf(TRUE)
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
/obj/structure/holosign/barrier/combifan/BlockThermalConductivity()
|
||||
return TRUE
|
||||
|
||||
/obj/structure/holosign/barrier/combifan/Initialize()
|
||||
/obj/structure/holosign/barrier/combifan/Initialize(mapload)
|
||||
. = ..()
|
||||
air_update_turf(TRUE)
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ GLOBAL_LIST_INIT(ore_probability, list(/obj/item/stack/ore/uranium = 50,
|
||||
move_resist = INFINITY
|
||||
anchored = TRUE
|
||||
|
||||
/obj/structure/spawner/ice_moon/Initialize()
|
||||
/obj/structure/spawner/ice_moon/Initialize(mapload)
|
||||
. = ..()
|
||||
clear_rock()
|
||||
|
||||
@@ -107,7 +107,7 @@ GLOBAL_LIST_INIT(ore_probability, list(/obj/item/stack/ore/uranium = 50,
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
|
||||
/obj/effect/collapsing_demonic_portal/Initialize()
|
||||
/obj/effect/collapsing_demonic_portal/Initialize(mapload)
|
||||
. = ..()
|
||||
playsound(loc,'sound/effects/tendril_destroyed.ogg', 200, FALSE, 50, TRUE, TRUE)
|
||||
visible_message("<span class='boldannounce'>[src] begins to collapse, cutting it off from this world!</span>")
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
var/const/max_signs = 4
|
||||
|
||||
|
||||
/obj/structure/janitorialcart/Initialize()
|
||||
/obj/structure/janitorialcart/Initialize(mapload)
|
||||
. = ..()
|
||||
create_reagents(100, OPENCONTAINER)
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
var/id
|
||||
var/height = 0 // higher numbers are considered physically higher
|
||||
|
||||
/obj/structure/ladder/unbreakable/Initialize()
|
||||
/obj/structure/ladder/unbreakable/Initialize(mapload)
|
||||
GLOB.ladders += src
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
erupting_state = null
|
||||
var/list/options = list(/datum/reagent/clf3 = 10, /datum/reagent/water/hollowwater = 10, /datum/reagent/medicine/omnizine/protozine = 6, /datum/reagent/wittel = 1)
|
||||
|
||||
/obj/structure/geyser/random/Initialize()
|
||||
/obj/structure/geyser/random/Initialize(mapload)
|
||||
. = ..()
|
||||
reagent_id = pickweight(options)
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
mob_types = list(/mob/living/simple_animal/hostile/asteroid/basilisk/watcher/icewing)
|
||||
|
||||
GLOBAL_LIST_INIT(tendrils, list())
|
||||
/obj/structure/spawner/lavaland/Initialize()
|
||||
/obj/structure/spawner/lavaland/Initialize(mapload)
|
||||
. = ..()
|
||||
emitted_light = new(loc)
|
||||
for(var/F in RANGE_TURFS(1, src))
|
||||
@@ -78,7 +78,7 @@ GLOBAL_LIST_INIT(tendrils, list())
|
||||
density = TRUE
|
||||
var/obj/effect/light_emitter/tendril/emitted_light
|
||||
|
||||
/obj/effect/collapse/Initialize()
|
||||
/obj/effect/collapse/Initialize(mapload)
|
||||
. = ..()
|
||||
emitted_light = new(loc)
|
||||
visible_message("<span class='boldannounce'>The tendril writhes in fury as the earth around it begins to crack and break apart! Get back!</span>")
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
var/loot_restriction = NO_LOOT_RESTRICTION
|
||||
var/maximum_loot_per_player = 1
|
||||
|
||||
/obj/structure/loot_pile/Initialize()
|
||||
/obj/structure/loot_pile/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = pick(icon_states_to_use)
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||
var/obj/machinery/manned_turret/turret
|
||||
|
||||
/obj/item/gun_control/Initialize()
|
||||
/obj/item/gun_control/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT)
|
||||
turret = loc
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
rad_flags = RAD_PROTECT_CONTENTS | RAD_NO_CONTAMINATE
|
||||
rad_insulation = RAD_MEDIUM_INSULATION
|
||||
|
||||
/obj/structure/mineral_door/Initialize()
|
||||
/obj/structure/mineral_door/Initialize(mapload)
|
||||
. = ..()
|
||||
initial_state = icon_state
|
||||
air_update_turf(TRUE)
|
||||
@@ -243,7 +243,7 @@
|
||||
resistance_flags = FLAMMABLE
|
||||
max_integrity = 20
|
||||
|
||||
/obj/structure/mineral_door/paperframe/Initialize()
|
||||
/obj/structure/mineral_door/paperframe/Initialize(mapload)
|
||||
. = ..()
|
||||
queue_smooth_neighbors(src)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite
|
||||
|
||||
|
||||
/obj/structure/mopbucket/Initialize()
|
||||
/obj/structure/mopbucket/Initialize(mapload)
|
||||
. = ..()
|
||||
create_reagents(100, OPENCONTAINER)
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an
|
||||
var/message_cooldown
|
||||
var/breakout_time = 600
|
||||
|
||||
/obj/structure/bodycontainer/Initialize()
|
||||
/obj/structure/bodycontainer/Initialize(mapload)
|
||||
. = ..()
|
||||
if(starting_tray)
|
||||
connected = new starting_tray(src)
|
||||
@@ -213,7 +213,7 @@ GLOBAL_LIST_EMPTY(crematoriums)
|
||||
GLOB.crematoriums.Remove(src)
|
||||
return ..()
|
||||
|
||||
/obj/structure/bodycontainer/crematorium/Initialize()
|
||||
/obj/structure/bodycontainer/crematorium/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.crematoriums.Add(src)
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
/obj/structure/plasticflaps/opaque
|
||||
opacity = TRUE
|
||||
|
||||
/obj/structure/plasticflaps/Initialize()
|
||||
/obj/structure/plasticflaps/Initialize(mapload)
|
||||
. = ..()
|
||||
alpha = 0
|
||||
SSvis_overlays.add_vis_overlay(src, icon, icon_state, ABOVE_MOB_LAYER, plane, dir, add_appearance_flags = RESET_ALPHA) //you see mobs under it, but you hit them like they are above it
|
||||
@@ -100,7 +100,7 @@
|
||||
new /obj/item/stack/sheet/plastic/five(loc)
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/plasticflaps/Initialize()
|
||||
/obj/structure/plasticflaps/Initialize(mapload)
|
||||
. = ..()
|
||||
air_update_turf(TRUE)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
. = ..()
|
||||
AddComponent(/datum/component/simple_rotation,ROTATION_ALTCLICK | ROTATION_CLOCKWISE | ROTATION_COUNTERCLOCKWISE | ROTATION_VERBS ,null,CALLBACK(src, .proc/can_be_rotated),CALLBACK(src,.proc/after_rotation))
|
||||
|
||||
/obj/structure/railing/Initialize()
|
||||
/obj/structure/railing/Initialize(mapload)
|
||||
. = ..()
|
||||
ini_dir = dir
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
var/list/allowed_projectile_typecache = list(/obj/item/projectile/beam)
|
||||
var/rotation_angle = -1
|
||||
|
||||
/obj/structure/reflector/Initialize()
|
||||
/obj/structure/reflector/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "reflector_base"
|
||||
allowed_projectile_typecache = typecacheof(allowed_projectile_typecache)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_state = "computer"
|
||||
|
||||
/obj/structure/showcase/fakeid/Initialize()
|
||||
/obj/structure/showcase/fakeid/Initialize(mapload)
|
||||
. = ..()
|
||||
add_overlay("id")
|
||||
add_overlay("id_key")
|
||||
@@ -28,7 +28,7 @@
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_state = "computer"
|
||||
|
||||
/obj/structure/showcase/fakesec/Initialize()
|
||||
/obj/structure/showcase/fakesec/Initialize(mapload)
|
||||
. = ..()
|
||||
add_overlay("security")
|
||||
add_overlay("security_key")
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/spawn_text = "emerges from"
|
||||
var/faction = list("hostile")
|
||||
|
||||
/obj/structure/spawner/Initialize()
|
||||
/obj/structure/spawner/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/spawner, mob_types, spawn_time, faction, spawn_text, max_mobs)
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
CanAtmosPass = ATMOS_PASS_DENSITY
|
||||
|
||||
|
||||
/obj/structure/statue/Initialize()
|
||||
/obj/structure/statue/Initialize(mapload)
|
||||
. = ..()
|
||||
AddElement(/datum/element/art, impressiveness)
|
||||
addtimer(CALLBACK(src, /datum.proc/_AddElement, list(/datum/element/beauty, impressiveness * 75)), 0)
|
||||
|
||||
@@ -483,7 +483,7 @@
|
||||
/obj/structure/table/wood/fancy/royalblue)
|
||||
var/smooth_icon = 'icons/obj/smooth_structures/fancy_table.dmi' // see Initialize()
|
||||
|
||||
/obj/structure/table/wood/fancy/Initialize()
|
||||
/obj/structure/table/wood/fancy/Initialize(mapload)
|
||||
. = ..()
|
||||
// Needs to be set dynamically because table smooth sprites are 32x34,
|
||||
// which the editor treats as a two-tile-tall object. The sprites are that
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/obj/structure/tank_dispenser/plasma
|
||||
oxygentanks = 0
|
||||
|
||||
/obj/structure/tank_dispenser/Initialize()
|
||||
/obj/structure/tank_dispenser/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i in 1 to oxygentanks)
|
||||
new /obj/item/tank/internals/oxygen(src)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
var/datum/gas_mixture/air_contents = new()
|
||||
|
||||
|
||||
/obj/structure/transit_tube_pod/Initialize()
|
||||
/obj/structure/transit_tube_pod/Initialize(mapload)
|
||||
. = ..()
|
||||
air_contents.set_moles(GAS_O2, MOLES_O2STANDARD)
|
||||
air_contents.set_moles(GAS_N2, MOLES_N2STANDARD)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
attack_hand_speed = CLICK_CD_MELEE
|
||||
attack_hand_is_action = TRUE
|
||||
|
||||
/obj/structure/toilet/Initialize()
|
||||
/obj/structure/toilet/Initialize(mapload)
|
||||
. = ..()
|
||||
open = round(rand(0, 1))
|
||||
update_icon()
|
||||
@@ -138,7 +138,7 @@
|
||||
/obj/structure/toilet/secret
|
||||
var/secret_type = null
|
||||
|
||||
/obj/structure/toilet/secret/Initialize()
|
||||
/obj/structure/toilet/secret/Initialize(mapload)
|
||||
. = ..()
|
||||
if (secret_type)
|
||||
new secret_type(src)
|
||||
@@ -255,7 +255,7 @@
|
||||
var/watertemp = "normal" //freezing, normal, or boiling
|
||||
var/datum/looping_sound/showering/soundloop
|
||||
|
||||
/obj/machinery/shower/Initialize()
|
||||
/obj/machinery/shower/Initialize(mapload)
|
||||
. = ..()
|
||||
soundloop = new(src, FALSE)
|
||||
|
||||
|
||||
@@ -923,7 +923,7 @@ GLOBAL_LIST_EMPTY(electrochromatic_window_lookup)
|
||||
var/static/mutable_appearance/torn = mutable_appearance('icons/obj/smooth_structures/paperframes.dmi',icon_state = "torn", layer = ABOVE_OBJ_LAYER - 0.1)
|
||||
var/static/mutable_appearance/paper = mutable_appearance('icons/obj/smooth_structures/paperframes.dmi',icon_state = "paper", layer = ABOVE_OBJ_LAYER - 0.1)
|
||||
|
||||
/obj/structure/window/paperframe/Initialize()
|
||||
/obj/structure/window/paperframe/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user