mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Initialize fixing (#17279)
* Initialoize fixing * diff fix * add init grep test * fixed missed ones * . * some more * ,
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
pixel_x = 10
|
||||
pixel_y = 9
|
||||
|
||||
/obj/item/canvas/Initialize()
|
||||
/obj/item/canvas/Initialize(mapload)
|
||||
. = ..()
|
||||
reset_grid()
|
||||
desc += " (Canvas size is [width]x[height].)"
|
||||
@@ -270,7 +270,7 @@
|
||||
var/image/color_drop
|
||||
var/hud_level = FALSE
|
||||
|
||||
/obj/item/paint_brush/Initialize()
|
||||
/obj/item/paint_brush/Initialize(mapload)
|
||||
. = ..()
|
||||
color_drop = image(icon, null, "brush_color")
|
||||
color_drop.color = selected_color
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
var/maxhealth = 100
|
||||
var/delete_me = FALSE
|
||||
|
||||
/obj/structure/catwalk/Initialize()
|
||||
/obj/structure/catwalk/Initialize(mapload)
|
||||
. = ..()
|
||||
if(delete_me)
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
@@ -45,7 +45,7 @@ two tiles on initialization, and which way a cliff is facing may change during m
|
||||
var/is_double_cliff = FALSE // Set to true when making the two-tile cliffs, used for projectile checks.
|
||||
var/uphill_penalty = 30 // Odds of a projectile not making it up the cliff.
|
||||
|
||||
/obj/structure/cliff/Initialize()
|
||||
/obj/structure/cliff/Initialize(mapload)
|
||||
. = ..()
|
||||
register_dangerous_to_step()
|
||||
|
||||
@@ -83,7 +83,7 @@ two tiles on initialization, and which way a cliff is facing may change during m
|
||||
/obj/structure/cliff/bottom
|
||||
bottom = TRUE
|
||||
|
||||
/obj/structure/cliff/automatic/Initialize()
|
||||
/obj/structure/cliff/automatic/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
var/obj/effect/overlay/closet_door/door_obj
|
||||
var/vore_sound = 'sound/effects/metalscrape2.ogg'
|
||||
|
||||
/obj/structure/closet/Initialize()
|
||||
/obj/structure/closet/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
/obj/item/ammo_magazine/clip/c762/hunter = 9,
|
||||
/obj/item/gun/projectile/shotgun/pump/rifle = 2)
|
||||
|
||||
/obj/structure/closet/secure_closet/guncabinet/rifle/Initialize()
|
||||
/obj/structure/closet/secure_closet/guncabinet/rifle/Initialize(mapload)
|
||||
if(prob(85))
|
||||
starts_with += /obj/item/gun/projectile/shotgun/pump/rifle
|
||||
else
|
||||
@@ -79,7 +79,7 @@
|
||||
/obj/item/reagent_containers/food/snacks/liquidprotein,
|
||||
/obj/item/cataloguer)
|
||||
|
||||
/obj/structure/closet/secure_closet/explorer/Initialize()
|
||||
/obj/structure/closet/secure_closet/explorer/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/explorer
|
||||
else
|
||||
@@ -123,7 +123,7 @@
|
||||
/obj/item/cataloguer/compact/pathfinder,
|
||||
/obj/item/mapping_unit)
|
||||
|
||||
/obj/structure/closet/secure_closet/pathfinder/Initialize()
|
||||
/obj/structure/closet/secure_closet/pathfinder/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack
|
||||
else
|
||||
@@ -173,7 +173,7 @@
|
||||
/obj/item/bodybag/cryobag,
|
||||
/obj/item/cataloguer/compact)
|
||||
|
||||
/obj/structure/closet/secure_closet/sar/Initialize()
|
||||
/obj/structure/closet/secure_closet/sar/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/medic
|
||||
else
|
||||
@@ -217,7 +217,7 @@
|
||||
/obj/item/emergency_beacon
|
||||
)
|
||||
|
||||
/obj/structure/closet/secure_closet/pilot/Initialize()
|
||||
/obj/structure/closet/secure_closet/pilot/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack
|
||||
else
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
/obj/item/clothing/gloves/fingerless,
|
||||
/obj/item/clothing/head/soft)
|
||||
|
||||
/obj/structure/closet/secure_closet/cargotech/Initialize()
|
||||
/obj/structure/closet/secure_closet/cargotech/Initialize(mapload)
|
||||
if(prob(75))
|
||||
starts_with += /obj/item/storage/backpack
|
||||
else
|
||||
@@ -60,7 +60,7 @@
|
||||
/obj/item/clothing/head/beret/qm,
|
||||
/obj/item/clothing/shoes/boots/winter/supply)
|
||||
|
||||
/obj/structure/closet/secure_closet/quartermaster/Initialize()
|
||||
/obj/structure/closet/secure_closet/quartermaster/Initialize(mapload)
|
||||
if(prob(75))
|
||||
starts_with += /obj/item/storage/backpack
|
||||
else
|
||||
@@ -91,7 +91,7 @@
|
||||
/obj/item/emergency_beacon,
|
||||
/obj/item/stack/marker_beacon/thirty)
|
||||
|
||||
/obj/structure/closet/secure_closet/miner/Initialize()
|
||||
/obj/structure/closet/secure_closet/miner/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/industrial
|
||||
else
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
/obj/structure/closet/secure_closet/miner/Initialize()
|
||||
/obj/structure/closet/secure_closet/miner/Initialize(mapload)
|
||||
starts_with += /obj/item/gps/mining
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
/obj/item/tank/emergency/oxygen/double, //VOREStation Edit: chief gets the good shit
|
||||
/obj/item/reagent_containers/spray/windowsealant) //VOREStation Add
|
||||
|
||||
/obj/structure/closet/secure_closet/engineering_chief/Initialize()
|
||||
/obj/structure/closet/secure_closet/engineering_chief/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/industrial
|
||||
else
|
||||
@@ -108,7 +108,7 @@
|
||||
/obj/item/reagent_containers/spray/windowsealant, //VOREStation Add
|
||||
/obj/item/areaeditor/blueprints/engineers) //VOREStation Add
|
||||
|
||||
/obj/structure/closet/secure_closet/engineering_personal/Initialize()
|
||||
/obj/structure/closet/secure_closet/engineering_personal/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/industrial
|
||||
else
|
||||
@@ -142,7 +142,7 @@
|
||||
/obj/item/tank/emergency/oxygen/engi,
|
||||
/obj/item/storage/belt/utility/atmostech) //VOREStation edit. They don't get a toolbox to fill it from, so why not give a spare one that's full already?
|
||||
|
||||
/obj/structure/closet/secure_closet/atmos_personal/Initialize()
|
||||
/obj/structure/closet/secure_closet/atmos_personal/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/industrial
|
||||
else
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
req_one_access = list(access_armory)
|
||||
closet_appearance = null
|
||||
|
||||
/obj/structure/closet/secure_closet/guncabinet/Initialize()
|
||||
/obj/structure/closet/secure_closet/guncabinet/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -60,4 +60,4 @@
|
||||
new /obj/item/gun/energy/locked/frontier(src)
|
||||
for(var/i = 1 to 2)
|
||||
new /obj/item/gun/energy/locked/frontier/holdout(src)
|
||||
//VOREStation Add End
|
||||
//VOREStation Add End
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
/obj/item/storage/belt/hydro,
|
||||
/obj/item/material/fishing_net/butterfly_net)
|
||||
|
||||
/obj/structure/closet/secure_closet/hydroponics/Initialize()
|
||||
/obj/structure/closet/secure_closet/hydroponics/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/clothing/suit/storage/apron
|
||||
else
|
||||
@@ -35,7 +35,7 @@
|
||||
req_access = list(access_xenobiology)
|
||||
closet_appearance = /decl/closet_appearance/secure_closet/hydroponics/xenoflora
|
||||
|
||||
/obj/structure/closet/secure_closet/hydroponics/sci/Initialize()
|
||||
/obj/structure/closet/secure_closet/hydroponics/sci/Initialize(mapload)
|
||||
starts_with += /obj/item/clothing/head/bio_hood/scientist
|
||||
starts_with += /obj/item/clothing/suit/bio_suit/scientist
|
||||
starts_with += /obj/item/clothing/mask/gas // VOREStation Edit: Gasmasks we use are different
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
/obj/item/storage/box/freezer = 3,
|
||||
/obj/item/storage/belt/medical) //VOREStation Add
|
||||
|
||||
/obj/structure/closet/secure_closet/medical3/Initialize()
|
||||
/obj/structure/closet/secure_closet/medical3/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/medic
|
||||
else
|
||||
@@ -164,7 +164,7 @@
|
||||
/obj/item/reagent_containers/glass/beaker/vial, //VOREStation Add
|
||||
/obj/item/storage/belt/medical) //VOREStation Add
|
||||
|
||||
/obj/structure/closet/secure_closet/CMO/Initialize()
|
||||
/obj/structure/closet/secure_closet/CMO/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/medic
|
||||
else
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
/obj/structure/closet/secure_closet/paramedic/Initialize()
|
||||
/obj/structure/closet/secure_closet/paramedic/Initialize(mapload)
|
||||
starts_with += /obj/item/gps/medical
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/obj/item/radio/headset)
|
||||
*/
|
||||
|
||||
/obj/structure/closet/secure_closet/personal/Initialize()
|
||||
/obj/structure/closet/secure_closet/personal/Initialize(mapload)
|
||||
/* //VOREStation Removal
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
/obj/item/clothing/suit/storage/hooded/wintercoat/science,
|
||||
/obj/item/clothing/shoes/boots/winter/science)
|
||||
|
||||
/obj/structure/closet/secure_closet/scientist/Initialize()
|
||||
/obj/structure/closet/secure_closet/scientist/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/dufflebag/sci
|
||||
else
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
/obj/item/clothing/mask/gas/half,
|
||||
/obj/item/clothing/mask/gas/sechailer/swat/hos)
|
||||
|
||||
/obj/structure/closet/secure_closet/hos/Initialize()
|
||||
/obj/structure/closet/secure_closet/hos/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/security
|
||||
else
|
||||
@@ -176,7 +176,7 @@
|
||||
/obj/item/clothing/mask/gas/half,
|
||||
/obj/item/clothing/mask/gas/sechailer/swat/warden)
|
||||
|
||||
/obj/structure/closet/secure_closet/warden/Initialize()
|
||||
/obj/structure/closet/secure_closet/warden/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/security
|
||||
else
|
||||
@@ -218,7 +218,7 @@
|
||||
/obj/item/clothing/shoes/boots/winter/security,
|
||||
/obj/item/flashlight/maglight)
|
||||
|
||||
/obj/structure/closet/secure_closet/security/Initialize()
|
||||
/obj/structure/closet/secure_closet/security/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/security
|
||||
else
|
||||
@@ -229,22 +229,22 @@
|
||||
starts_with += /obj/item/poster/nanotrasen
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/secure_closet/security/cargo/Initialize()
|
||||
/obj/structure/closet/secure_closet/security/cargo/Initialize(mapload)
|
||||
starts_with += /obj/item/clothing/accessory/armband/cargo
|
||||
starts_with += /obj/item/encryptionkey/headset_cargo
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/secure_closet/security/engine/Initialize()
|
||||
/obj/structure/closet/secure_closet/security/engine/Initialize(mapload)
|
||||
starts_with += /obj/item/clothing/accessory/armband/engine
|
||||
starts_with += /obj/item/encryptionkey/headset_eng
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/secure_closet/security/science/Initialize()
|
||||
/obj/structure/closet/secure_closet/security/science/Initialize(mapload)
|
||||
starts_with += /obj/item/clothing/accessory/armband/science
|
||||
starts_with += /obj/item/encryptionkey/headset_sci
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/secure_closet/security/med/Initialize()
|
||||
/obj/structure/closet/secure_closet/security/med/Initialize(mapload)
|
||||
starts_with += /obj/item/clothing/accessory/armband/medblue
|
||||
starts_with += /obj/item/encryptionkey/headset_med
|
||||
return ..()
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
/obj/item/clothing/shoes/boots/jackboots,
|
||||
/obj/item/clothing/shoes/boots/jackboots/toeless)
|
||||
|
||||
/obj/structure/closet/secure_closet/nanotrasen_security/Initialize()
|
||||
/obj/structure/closet/secure_closet/nanotrasen_security/Initialize(mapload)
|
||||
if(prob(25))
|
||||
starts_with += /obj/item/storage/backpack/security
|
||||
else
|
||||
@@ -149,7 +149,7 @@
|
||||
/obj/item/clothing/shoes/boots/jackboots/toeless,
|
||||
/obj/item/clothing/under/nanotrasen/security/commander)
|
||||
|
||||
/obj/structure/closet/secure_closet/nanotrasen_commander/Initialize()
|
||||
/obj/structure/closet/secure_closet/nanotrasen_commander/Initialize(mapload)
|
||||
if(prob(25))
|
||||
starts_with += /obj/item/storage/backpack/security
|
||||
else
|
||||
@@ -191,7 +191,7 @@
|
||||
/obj/item/clothing/shoes/boots/jackboots,
|
||||
/obj/item/clothing/shoes/boots/jackboots/toeless)
|
||||
|
||||
/obj/structure/closet/secure_closet/nanotrasen_warden/Initialize()
|
||||
/obj/structure/closet/secure_closet/nanotrasen_warden/Initialize(mapload)
|
||||
if(prob(25))
|
||||
new /obj/item/storage/backpack/security(src)
|
||||
else
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
/obj/structure/closet/syndicate/resources
|
||||
desc = "An old, dusty locker."
|
||||
|
||||
/obj/structure/closet/syndicate/resources/Initialize()
|
||||
/obj/structure/closet/syndicate/resources/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!contents.len)
|
||||
var/common_min = 30 //Minimum amount of minerals in the stack for common minerals
|
||||
@@ -101,7 +101,7 @@
|
||||
/obj/structure/closet/syndicate/resources/everything
|
||||
desc = "It's an emergency storage closet for repairs."
|
||||
|
||||
/obj/structure/closet/syndicate/resources/everything/Initialize()
|
||||
/obj/structure/closet/syndicate/resources/everything/Initialize(mapload)
|
||||
var/list/resources = list(
|
||||
/obj/item/stack/material/steel,
|
||||
/obj/item/stack/material/glass,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
desc = "It's a storage unit for emergency breathmasks and O2 tanks."
|
||||
closet_appearance = /decl/closet_appearance/oxygen
|
||||
|
||||
/obj/structure/closet/emcloset/Initialize()
|
||||
/obj/structure/closet/emcloset/Initialize(mapload)
|
||||
switch (pickweight(list("small" = 55, "aid" = 25, "tank" = 10, "both" = 10)))
|
||||
//VOREStation Block Edit Start - Modified List
|
||||
if ("small")
|
||||
@@ -109,7 +109,7 @@
|
||||
desc = "It's a storage unit for tools."
|
||||
closet_appearance = /decl/closet_appearance/secure_closet/engineering/tools
|
||||
|
||||
/obj/structure/closet/toolcloset/Initialize()
|
||||
/obj/structure/closet/toolcloset/Initialize(mapload)
|
||||
starts_with = list()
|
||||
if(prob(40))
|
||||
starts_with += /obj/item/clothing/suit/storage/hazardvest
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/obj/structure/closet/firecloset/Initialize()
|
||||
/obj/structure/closet/firecloset/Initialize(mapload)
|
||||
starts_with += /obj/item/storage/toolbox/emergency
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
/obj/item/clothing/accessory/armband = 3,
|
||||
/obj/item/clothing/accessory/holster/waist = 3)
|
||||
|
||||
/obj/structure/closet/wardrobe/red/Initialize()
|
||||
/obj/structure/closet/wardrobe/red/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/security
|
||||
else
|
||||
@@ -217,7 +217,7 @@
|
||||
/obj/item/storage/backpack/toxins,
|
||||
/obj/item/storage/backpack/satchel/tox)
|
||||
|
||||
/obj/structure/closet/wardrobe/science_white/Initialize()
|
||||
/obj/structure/closet/wardrobe/science_white/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/dufflebag/sci
|
||||
else
|
||||
@@ -243,7 +243,7 @@
|
||||
/obj/item/storage/backpack/toxins,
|
||||
/obj/item/storage/backpack/satchel/tox)
|
||||
|
||||
/obj/structure/closet/wardrobe/robotics_black/Initialize()
|
||||
/obj/structure/closet/wardrobe/robotics_black/Initialize(mapload)
|
||||
if(prob(50))
|
||||
starts_with += /obj/item/storage/backpack/dufflebag/sci
|
||||
else
|
||||
@@ -392,7 +392,7 @@
|
||||
/obj/item/clothing/gloves/black,
|
||||
/obj/item/clothing/under/pants/camo)
|
||||
|
||||
/obj/structure/closet/wardrobe/tactical/Initialize()
|
||||
/obj/structure/closet/wardrobe/tactical/Initialize(mapload)
|
||||
if(prob(25))
|
||||
starts_with += /obj/item/storage/belt/security/tactical/bandolier
|
||||
else
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
density = TRUE
|
||||
var/list/starts_with
|
||||
|
||||
/obj/structure/largecrate/Initialize()
|
||||
/obj/structure/largecrate/Initialize(mapload)
|
||||
. = ..()
|
||||
if(starts_with)
|
||||
create_objects_in_loc(src, starts_with)
|
||||
@@ -75,7 +75,7 @@
|
||||
desc = "Wulf Aeronautics says it comes in a box for the consumer's sake... How is this so light?"
|
||||
icon_state = "vehiclecrate"
|
||||
|
||||
/obj/structure/largecrate/vehicle/Initialize()
|
||||
/obj/structure/largecrate/vehicle/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/obj/O in contents)
|
||||
O.update_icon()
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
name = "Predator carrier"
|
||||
starts_with = list(/mob/living/simple_mob/vore/catgirl)
|
||||
|
||||
/obj/structure/largecrate/animal/pred/Initialize() //This is nessesary to get a random one each time.
|
||||
/obj/structure/largecrate/animal/pred/Initialize(mapload) //This is nessesary to get a random one each time.
|
||||
starts_with = list(pick(/mob/living/simple_mob/vore/bee,
|
||||
/mob/living/simple_mob/vore/catgirl;3,
|
||||
/mob/living/simple_mob/vore/aggressive/frog,
|
||||
@@ -63,7 +63,7 @@
|
||||
name = "Dangerous Predator carrier"
|
||||
starts_with = list(/mob/living/simple_mob/animal/space/alien)
|
||||
|
||||
/obj/structure/largecrate/animal/dangerous/Initialize()
|
||||
/obj/structure/largecrate/animal/dangerous/Initialize(mapload)
|
||||
starts_with = list(pick(/mob/living/simple_mob/animal/space/carp/large,
|
||||
/mob/living/simple_mob/vore/aggressive/deathclaw,
|
||||
/mob/living/simple_mob/vore/aggressive/dino,
|
||||
@@ -103,7 +103,7 @@
|
||||
desc = "VARMAcorp experimental hostile environment adaptive breeding development kit. WARNING, DO NOT RELEASE IN WILD!"
|
||||
starts_with = list(/mob/living/simple_mob/vore/otie/cotie/phoron)
|
||||
|
||||
/obj/structure/largecrate/animal/otie/phoron/Initialize()
|
||||
/obj/structure/largecrate/animal/otie/phoron/Initialize(mapload)
|
||||
starts_with = list(pick(/mob/living/simple_mob/vore/otie/cotie/phoron;2,
|
||||
/mob/living/simple_mob/vore/otie/red/friendly;0.5))
|
||||
return ..()
|
||||
@@ -131,7 +131,7 @@
|
||||
desc = "Bounces around a lot. Looks messily packaged, were they in a hurry?"
|
||||
starts_with = list(/mob/living/simple_mob/vore/fennec)
|
||||
|
||||
/obj/structure/largecrate/animal/fennec/Initialize()
|
||||
/obj/structure/largecrate/animal/fennec/Initialize(mapload)
|
||||
starts_with = list(pick(/mob/living/simple_mob/vore/fennec,
|
||||
/mob/living/simple_mob/vore/fennix;0.5))
|
||||
return ..()
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
if(my_vehicle)
|
||||
. += span_notice("It seems to contain \the [my_vehicle].")
|
||||
|
||||
/obj/structure/vehiclecage/Initialize()
|
||||
/obj/structure/vehiclecage/Initialize(mapload)
|
||||
. = ..()
|
||||
if(my_vehicle_type)
|
||||
my_vehicle = new my_vehicle_type(src)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
var/obj/item/assembly/shock_kit/part = null
|
||||
var/last_time = 1.0
|
||||
|
||||
/obj/structure/bed/chair/e_chair/Initialize()
|
||||
/obj/structure/bed/chair/e_chair/Initialize(mapload)
|
||||
. = ..()
|
||||
add_overlay(image('icons/obj/objects.dmi', src, "echair_over", MOB_LAYER + 1, dir))
|
||||
return
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
var/hole_size= NO_HOLE
|
||||
var/invulnerable = FALSE
|
||||
|
||||
/obj/structure/fence/Initialize()
|
||||
/obj/structure/fence/Initialize(mapload)
|
||||
update_cut_status()
|
||||
return ..()
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
var/lock_difficulty = 1 //multiplier to picking/bypassing time
|
||||
var/keysound = 'sound/items/toolbelt_equip.ogg'
|
||||
|
||||
/obj/structure/fence/door/Initialize()
|
||||
/obj/structure/fence/door/Initialize(mapload)
|
||||
update_door_status()
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/smashed = 0
|
||||
var/starts_with_axe = TRUE
|
||||
|
||||
/obj/structure/fireaxecabinet/Initialize()
|
||||
/obj/structure/fireaxecabinet/Initialize(mapload)
|
||||
. = ..()
|
||||
if(starts_with_axe)
|
||||
fireaxe = new /obj/item/material/twohanded/fireaxe()
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
var/min_harvests = -1
|
||||
var/list/harvest_loot = null // Should be an associative list for things to spawn, and their weights. An example would be a branch from a tree.
|
||||
|
||||
/obj/structure/flora/Initialize()
|
||||
/obj/structure/flora/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
if(randomize_size)
|
||||
@@ -472,7 +472,7 @@
|
||||
max_harvests = 2
|
||||
min_harvests = 0
|
||||
|
||||
/obj/structure/flora/mushroom/Initialize()
|
||||
/obj/structure/flora/mushroom/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "mush[rand(1,4)]"
|
||||
if(prob(50))
|
||||
@@ -545,7 +545,7 @@
|
||||
max_harvests = 2
|
||||
min_harvests = 0
|
||||
|
||||
/obj/structure/flora/sif/subterranean/Initialize()
|
||||
/obj/structure/flora/sif/subterranean/Initialize(mapload)
|
||||
icon_state = "[initial(icon_state)][rand(1,2)]"
|
||||
. = ..()
|
||||
|
||||
@@ -566,7 +566,7 @@
|
||||
min_harvests = 0
|
||||
harvest_loot = list(/obj/item/reagent_containers/food/snacks/grown/sif/eyebulbs = 1)
|
||||
|
||||
/obj/structure/flora/sif/eyes/Initialize()
|
||||
/obj/structure/flora/sif/eyes/Initialize(mapload)
|
||||
icon_state = "[initial(icon_state)][rand(1,3)]"
|
||||
. = ..()
|
||||
|
||||
@@ -593,7 +593,7 @@
|
||||
/obj/item/reagent_containers/food/snacks/grown/sif/wildwabback = 30
|
||||
)
|
||||
|
||||
/obj/structure/flora/sif/tendrils/Initialize()
|
||||
/obj/structure/flora/sif/tendrils/Initialize(mapload)
|
||||
icon_state = "[initial(icon_state)][rand(1,3)]"
|
||||
. = ..()
|
||||
|
||||
@@ -625,7 +625,7 @@
|
||||
|
||||
var/variantnum = null
|
||||
|
||||
/obj/structure/flora/sif/frostbelle/Initialize()
|
||||
/obj/structure/flora/sif/frostbelle/Initialize(mapload)
|
||||
. = ..()
|
||||
variantnum = rand(1,3)
|
||||
update_icon()
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
/obj/structure/flora/tree/bigtree/choose_icon_state()
|
||||
return "[base_state][rand(1, 4)]"
|
||||
|
||||
/obj/structure/flora/tree/bigtree/Initialize()
|
||||
/obj/structure/flora/tree/bigtree/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
var/image/i = image('icons/obj/flora/moretrees_vr.dmi', "[icon_state]-b")
|
||||
@@ -29,4 +29,4 @@
|
||||
density = FALSE
|
||||
icon_state = "[icon_state]_stump"
|
||||
cut_overlays()
|
||||
set_light(0)
|
||||
set_light(0)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
var/is_stump = FALSE // If true, suspends damage tracking and most other effects.
|
||||
var/indestructable = FALSE // If true, the tree cannot die.
|
||||
|
||||
/obj/structure/flora/tree/Initialize()
|
||||
/obj/structure/flora/tree/Initialize(mapload)
|
||||
icon_state = choose_icon_state()
|
||||
|
||||
return ..()
|
||||
@@ -284,7 +284,7 @@
|
||||
light_shift = rand(0, 5)
|
||||
return "[base_state][light_shift]"
|
||||
|
||||
/obj/structure/flora/tree/sif/Initialize()
|
||||
/obj/structure/flora/tree/sif/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
icon_state = "redgate_hole"
|
||||
icon_state_opened = "redgate_hole"
|
||||
|
||||
/obj/structure/ghost_pod/ghost_activated/maintpred/redgate/Initialize()
|
||||
/obj/structure/ghost_pod/ghost_activated/maintpred/redgate/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!(src in active_ghost_pods))
|
||||
active_ghost_pods += src
|
||||
@@ -251,7 +251,7 @@
|
||||
new_character.visible_message(span_warning("[new_character] appears to crawl out of somewhere."))
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/ghost_pod/ghost_activated/maint_lurker/Initialize()
|
||||
/obj/structure/ghost_pod/ghost_activated/maint_lurker/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!(src in active_ghost_pods))
|
||||
active_ghost_pods += src
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
var/delay_to_self_open = 10 MINUTES // How long to wait for first attempt. Note that the timer by default starts when the pod is created.
|
||||
var/delay_to_try_again = 20 MINUTES // How long to wait if first attempt fails. Set to 0 to never try again.
|
||||
|
||||
/obj/structure/ghost_pod/automatic/Initialize()
|
||||
/obj/structure/ghost_pod/automatic/Initialize(mapload)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, PROC_REF(trigger)), delay_to_self_open)
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
var/list/clothing_possibilities
|
||||
|
||||
/obj/structure/ghost_pod/ghost_activated/human/Initialize()
|
||||
/obj/structure/ghost_pod/ghost_activated/human/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
handle_clothing_setup()
|
||||
@@ -152,7 +152,7 @@
|
||||
|
||||
var/list/clothing_possibilities
|
||||
|
||||
/obj/structure/ghost_pod/manual/human/Initialize()
|
||||
/obj/structure/ghost_pod/manual/human/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
handle_clothing_setup()
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
if(!QDELETED(src))
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/ghost_pod/ghost_activated/swarm_drone/event/Initialize()
|
||||
/obj/structure/ghost_pod/ghost_activated/swarm_drone/event/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
var/turf/T = get_turf(src)
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
var/suffer_cloneloss = FALSE
|
||||
var/clone_severity = 5
|
||||
|
||||
/obj/structure/ghost_pod/manual/survivor/Initialize()
|
||||
/obj/structure/ghost_pod/manual/survivor/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
handle_clothing_setup()
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"plant-13"
|
||||
)
|
||||
|
||||
/obj/machinery/holoplant/Initialize()
|
||||
/obj/machinery/holoplant/Initialize(mapload)
|
||||
. = ..()
|
||||
activate()
|
||||
|
||||
@@ -102,5 +102,5 @@
|
||||
|
||||
/obj/machinery/holoplant/shipped
|
||||
anchored = FALSE
|
||||
/obj/machinery/holoplant/shipped/Initialize()
|
||||
/obj/machinery/holoplant/shipped/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
opacity = 0
|
||||
density = TRUE
|
||||
|
||||
/obj/structure/foodcart/Initialize()
|
||||
/obj/structure/foodcart/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/obj/item/I in loc)
|
||||
if(istype(I, /obj/item/reagent_containers/food))
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
plane = PLATING_PLANE
|
||||
|
||||
/obj/structure/lattice/Initialize()
|
||||
/obj/structure/lattice/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
if(!(istype(src.loc, /turf/space) || istype(src.loc, /turf/simulated/open) || istype(src.loc, /turf/simulated/mineral) || istype(src.loc, /turf/simulated/shuttle/plating/airless/carry)))
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
var/lit = TRUE // If true, will have a glowing overlay and lighting.
|
||||
var/festive = FALSE // If true, adds a festive bow overlay to it.
|
||||
|
||||
/obj/structure/lightpost/Initialize()
|
||||
/obj/structure/lightpost/Initialize(mapload)
|
||||
update_icon()
|
||||
return ..()
|
||||
|
||||
@@ -39,4 +39,4 @@
|
||||
festive = TRUE
|
||||
|
||||
/obj/structure/lightpost/festive/unlit
|
||||
lit = FALSE
|
||||
lit = FALSE
|
||||
|
||||
@@ -136,7 +136,7 @@ Loot piles can be depleted, if loot_depleted is turned on. Note that players wh
|
||||
var/path = pick(rare_loot)
|
||||
return new path(src)
|
||||
|
||||
/obj/structure/loot_pile/Initialize()
|
||||
/obj/structure/loot_pile/Initialize(mapload)
|
||||
if(icon_states_to_use && icon_states_to_use.len)
|
||||
icon_state = pick(icon_states_to_use)
|
||||
. = ..()
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
noblend_objects = list(/obj/machinery/door/window)
|
||||
color = "#666666"
|
||||
|
||||
/obj/structure/grille/bay/Initialize()
|
||||
/obj/structure/grille/bay/Initialize(mapload)
|
||||
. = ..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
@@ -404,7 +404,7 @@
|
||||
maxhealth = 24
|
||||
glasstype = /obj/item/stack/material/glass
|
||||
|
||||
/obj/structure/window/bay/Initialize()
|
||||
/obj/structure/window/bay/Initialize(mapload)
|
||||
. = ..()
|
||||
var/obj/item/stack/material/glass/G = glasstype
|
||||
var/datum/material/M = get_material_by_name(initial(G.default_type))
|
||||
@@ -498,7 +498,7 @@
|
||||
maxhealth = 24
|
||||
alpha = 150
|
||||
|
||||
/obj/structure/window/eris/Initialize()
|
||||
/obj/structure/window/eris/Initialize(mapload)
|
||||
. = ..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
@@ -576,7 +576,7 @@
|
||||
|
||||
icon = null
|
||||
|
||||
/obj/effect/low_wall_spawner/Initialize()
|
||||
/obj/effect/low_wall_spawner/Initialize(mapload)
|
||||
. = ..()
|
||||
if(locate(/obj/effect/low_wall_spawner) in oview(0, src))
|
||||
warning("Duplicate low wall spawners in [x],[y],[z]!")
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
plane = PLANE_BUILDMODE
|
||||
|
||||
/* //VOREStation Edit
|
||||
/obj/effect/blocker/Initialize() // For non-gateway maps.
|
||||
/obj/effect/blocker/Initialize(mapload) // For non-gateway maps.
|
||||
. = ..()
|
||||
icon = null
|
||||
icon_state = null
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
plane = MOB_PLANE
|
||||
var/sourcepillow = "/obj/item/bedsheet/pillow"
|
||||
|
||||
/obj/structure/bed/pillowpile/Initialize()
|
||||
/obj/structure/bed/pillowpile/Initialize(mapload)
|
||||
. = ..()
|
||||
var/turf/T = get_turf(src)
|
||||
new pillowpilefront(T)
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
var/static/list/possible_states = list("health", "spider", "slime", "emp", "species", "egg", "vent", "mindshock", "viral", "gland")
|
||||
var/static/list/possible_tech = list(TECH_MATERIAL, TECH_ENGINEERING, TECH_PHORON, TECH_POWER, TECH_BIO, TECH_COMBAT, TECH_MAGNET, TECH_DATA)
|
||||
|
||||
/obj/item/prop/alien/junk/Initialize()
|
||||
/obj/item/prop/alien/junk/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = pick(possible_states)
|
||||
var/list/techs = possible_tech.Copy()
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
bound_height = 128
|
||||
var/has_misc_overlay = TRUE
|
||||
|
||||
/obj/structure/prop/altevian_jump_drive/Initialize()
|
||||
/obj/structure/prop/altevian_jump_drive/Initialize(mapload)
|
||||
.=..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
interaction_message = span_notice("The prismatic turret seems to be able to rotate.")
|
||||
|
||||
/obj/structure/prop/prism/Initialize()
|
||||
/obj/structure/prop/prism/Initialize(mapload)
|
||||
. = ..()
|
||||
if(degrees_from_north)
|
||||
animate(src, transform = turn(NORTH, degrees_from_north), time = 3)
|
||||
@@ -197,7 +197,7 @@
|
||||
for(var/obj/structure/prop/prism/P in my_turrets)
|
||||
P.rotate_auto(new_bearing)
|
||||
|
||||
/obj/structure/prop/prismcontrol/Initialize()
|
||||
/obj/structure/prop/prismcontrol/Initialize(mapload)
|
||||
. = ..()
|
||||
if(my_turrets.len) //Preset controls.
|
||||
for(var/obj/structure/prop/prism/P in my_turrets)
|
||||
|
||||
@@ -251,7 +251,7 @@
|
||||
/obj/structure/prop/machine/stamper/starts_on
|
||||
icon_state = "stamper_on"
|
||||
|
||||
/obj/structure/prop/machine/stamper/starts_on/Initialize()
|
||||
/obj/structure/prop/machine/stamper/starts_on/Initialize(mapload)
|
||||
. = ..()
|
||||
add_overlay("stamper_proc")
|
||||
add_overlay("stamper_but")
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
var/tally = 0 //The counter referenced against total_creature_max, or just to see how many mobs it has spawned.
|
||||
var/total_creature_max //If set, it can spawn this many creatures, total, ever.
|
||||
|
||||
/obj/structure/prop/nest/Initialize()
|
||||
/obj/structure/prop/nest/Initialize(mapload)
|
||||
. = ..()
|
||||
den_mobs = list()
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
visible_message(span_cult("\The [src] is completely unaffected by the blast."))
|
||||
return
|
||||
|
||||
/obj/machinery/door/blast/puzzle/Initialize()
|
||||
/obj/machinery/door/blast/puzzle/Initialize(mapload)
|
||||
. = ..()
|
||||
implicit_material = get_material_by_name("dungeonium")
|
||||
if(locks.len)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
/obj/structure/cult/pylon/swarm/Initialize()
|
||||
/obj/structure/cult/pylon/swarm/Initialize(mapload)
|
||||
. = ..()
|
||||
active_beams = list()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
var/datum/looping_sound/sequence/morse/soundloop
|
||||
var/message_to_play = "The quick brown fox jumps over the lazy dog."
|
||||
|
||||
/obj/structure/prop/transmitter/Initialize()
|
||||
/obj/structure/prop/transmitter/Initialize(mapload)
|
||||
soundloop = new(list(src), FALSE)
|
||||
set_new_message(message_to_play)
|
||||
soundloop.start()
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
if(climbable)
|
||||
verbs += /obj/structure/proc/climb_on
|
||||
|
||||
/obj/structure/railing/Initialize()
|
||||
/obj/structure/railing/Initialize(mapload)
|
||||
. = ..()
|
||||
if(src.anchored)
|
||||
update_icon(0)
|
||||
|
||||
@@ -22,7 +22,7 @@ FLOOR SAFES
|
||||
var/maxspace = 24 //the maximum combined w_class of stuff in the safe
|
||||
|
||||
|
||||
/obj/structure/safe/Initialize()
|
||||
/obj/structure/safe/Initialize(mapload)
|
||||
. = ..()
|
||||
tumbler_1_pos = rand(0, 72)
|
||||
tumbler_1_open = rand(0, 72)
|
||||
@@ -178,7 +178,7 @@ FLOOR SAFES
|
||||
plane = PLATING_PLANE
|
||||
layer = ABOVE_UTILITY
|
||||
|
||||
/obj/structure/safe/floor/Initialize()
|
||||
/obj/structure/safe/floor/Initialize(mapload)
|
||||
. = ..()
|
||||
var/turf/T = loc
|
||||
if(istype(T) && !T.is_plating())
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
/obj/item/stock_parts/matter_bin/adv = 20
|
||||
)
|
||||
|
||||
/obj/structure/salvageable/machine/Initialize()
|
||||
/obj/structure/salvageable/machine/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "machine[rand(0,6)]"
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
/obj/item/stock_parts/capacitor/adv = 30,
|
||||
/obj/item/computer_hardware/network_card/advanced = 20
|
||||
)
|
||||
/obj/structure/salvageable/computer/Initialize()
|
||||
/obj/structure/salvageable/computer/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "computer[rand(0,7)]"
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
/obj/item/stack/material/silver{amount = 10} = 30
|
||||
)
|
||||
|
||||
/obj/structure/salvageable/implant_container/Initialize()
|
||||
/obj/structure/salvageable/implant_container/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "implant_container[rand(0,1)]"
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
/obj/item/computer_hardware/network_card/advanced = 20
|
||||
)
|
||||
|
||||
/obj/structure/salvageable/data/Initialize()
|
||||
/obj/structure/salvageable/data/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "data[rand(0,1)]"
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
/obj/item/computer_hardware/network_card/advanced = 20
|
||||
)
|
||||
|
||||
/obj/structure/salvageable/server/Initialize()
|
||||
/obj/structure/salvageable/server/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "server[rand(0,1)]"
|
||||
|
||||
@@ -219,7 +219,7 @@
|
||||
/obj/item/computer_hardware/hard_drive/advanced = 40
|
||||
)
|
||||
|
||||
/obj/structure/salvageable/personal/Initialize()
|
||||
/obj/structure/salvageable/personal/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "personal[rand(0,12)]"
|
||||
new /obj/structure/table/reinforced (loc)
|
||||
@@ -234,7 +234,7 @@
|
||||
/obj/item/computer_hardware/hard_drive/cluster = 50
|
||||
)
|
||||
|
||||
/obj/structure/salvageable/bliss/Initialize()
|
||||
/obj/structure/salvageable/bliss/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "bliss[rand(0,1)]"
|
||||
|
||||
@@ -260,7 +260,7 @@
|
||||
/obj/item/stock_parts/scanning_module = 40
|
||||
)
|
||||
|
||||
/obj/structure/salvageable/personal/Initialize()
|
||||
/obj/structure/salvageable/personal/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "console[rand(0,2)]"
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
name = "\improper WARNING"
|
||||
icon_state = "securearea"
|
||||
|
||||
/obj/structure/sign/warning/Initialize()
|
||||
/obj/structure/sign/warning/Initialize(mapload)
|
||||
. = ..()
|
||||
desc = "A warning sign which reads '[name]'."
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
name = "\improper LETHAL TURRETS"
|
||||
icon_state = "turrets"
|
||||
|
||||
/obj/structure/sign/warning/lethal_turrets/Initialize()
|
||||
/obj/structure/sign/warning/lethal_turrets/Initialize(mapload)
|
||||
. = ..()
|
||||
desc += " Enter at own risk!."
|
||||
|
||||
@@ -336,7 +336,7 @@
|
||||
//disabled this proc, it serves no purpose except to overwrite the description that already exists. may have been intended for making your own signs?
|
||||
//seems to defeat the point of having a generic directional sign that mappers could edit and use in POIs? left it here in case something breaks.
|
||||
/*
|
||||
/obj/structure/sign/directions/Initialize()
|
||||
/obj/structure/sign/directions/Initialize(mapload)
|
||||
. = ..()
|
||||
desc = "A direction sign, pointing out the way to \the [src]."
|
||||
*/
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
var/mob/living/simple_mob/contained
|
||||
|
||||
/obj/structure/stasis_cage/Initialize()
|
||||
/obj/structure/stasis_cage/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
var/mob/living/simple_mob/A = locate() in loc
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
icon_state = "rollerbed"
|
||||
var/obj/item/roller/held
|
||||
|
||||
/obj/item/roller_holder/Initialize()
|
||||
/obj/item/roller_holder/Initialize(mapload)
|
||||
. = ..()
|
||||
held = new /obj/item/roller(src)
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
oxygentanks = 0
|
||||
|
||||
|
||||
/obj/structure/dispenser/Initialize()
|
||||
/obj/structure/dispenser/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i in 1 to oxygentanks)
|
||||
new /obj/item/tank/oxygen(src)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
var/global/list/allocated_gamma = list()
|
||||
|
||||
/obj/structure/trash_pile/Initialize()
|
||||
/obj/structure/trash_pile/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = pick(
|
||||
"pile1",
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
var/list/temperature_settings = list("normal" = 310, "boiling" = T0C+100, "freezing" = T0C)
|
||||
var/datum/looping_sound/showering/soundloop
|
||||
|
||||
/obj/machinery/shower/Initialize()
|
||||
/obj/machinery/shower/Initialize(mapload)
|
||||
create_reagents(50)
|
||||
soundloop = new(list(src), FALSE)
|
||||
return ..()
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
var/teleplumbed = FALSE
|
||||
var/exit_landmark
|
||||
|
||||
/obj/structure/toilet/Initialize()
|
||||
/obj/structure/toilet/Initialize(mapload)
|
||||
if(z in global.using_map.map_levels)
|
||||
teleplumbed = TRUE
|
||||
exit_landmark = locate(/obj/effect/landmark/teleplumb_exit)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/obj/effect/wingrille_spawn/CanPass(atom/movable/mover, turf/target)
|
||||
return FALSE
|
||||
|
||||
/obj/effect/wingrille_spawn/Initialize()
|
||||
/obj/effect/wingrille_spawn/Initialize(mapload)
|
||||
if(win_path && ticker && ticker.current_state < GAME_STATE_PLAYING)
|
||||
activate()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user