mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Initialize fixing (#10335)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2e725a0727
commit
ce2446922e
@@ -97,46 +97,46 @@
|
||||
|
||||
//Overmap ship definition (I have no idea why they use show_message?? but ok)
|
||||
|
||||
/obj/effect/overmap/visitable/ship/Initialize()
|
||||
/obj/effect/overmap/visitable/ship/Initialize(mapload)
|
||||
. = ..()
|
||||
hearer = AddComponent(/datum/component/hearer)
|
||||
|
||||
//Holopad definition
|
||||
|
||||
/obj/machinery/hologram/holopad/Initialize()
|
||||
/obj/machinery/hologram/holopad/Initialize(mapload)
|
||||
. = ..()
|
||||
hearer = AddComponent(/datum/component/hearer)
|
||||
|
||||
//UAV definition
|
||||
|
||||
/obj/item/uav/Initialize()
|
||||
/obj/item/uav/Initialize(mapload)
|
||||
. = ..()
|
||||
hearer = AddComponent(/datum/component/hearer)
|
||||
|
||||
//AIcard definition
|
||||
|
||||
/obj/item/aicard/Initialize()
|
||||
/obj/item/aicard/Initialize(mapload)
|
||||
. = ..()
|
||||
hearer = AddComponent(/datum/component/hearer)
|
||||
|
||||
//Tape recorder definition
|
||||
|
||||
/obj/item/taperecorder/Initialize()
|
||||
/obj/item/taperecorder/Initialize(mapload)
|
||||
. = ..()
|
||||
hearer = AddComponent(/datum/component/hearer)
|
||||
|
||||
//Portal definition
|
||||
|
||||
/obj/effect/map_effect/portal/master/Initialize()
|
||||
/obj/effect/map_effect/portal/master/Initialize(mapload)
|
||||
. = ..()
|
||||
hearer = AddComponent(/datum/component/hearer)
|
||||
|
||||
//Communicator definition
|
||||
|
||||
/obj/item/communicator/Initialize()
|
||||
/obj/item/communicator/Initialize(mapload)
|
||||
. = ..()
|
||||
hearer = AddComponent(/datum/component/hearer)
|
||||
|
||||
/obj/item/paicard/Initialize()
|
||||
/obj/item/paicard/Initialize(mapload)
|
||||
. = ..()
|
||||
hearer = AddComponent(/datum/component/hearer)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
/obj/item/stack/cable_coil = 5,
|
||||
)
|
||||
|
||||
/obj/machinery/food_replicator/Initialize()
|
||||
/obj/machinery/food_replicator/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
default_apply_parts()
|
||||
|
||||
@@ -24,13 +24,9 @@
|
||||
light_color = "#FF0000"
|
||||
//var/global/list/vr_mob_tf_options // Global var located in global_list_ch.dm
|
||||
|
||||
|
||||
/obj/machinery/vr_sleeper/Initialize()
|
||||
/obj/machinery/vr_sleeper/Initialize(mapload)
|
||||
. = ..()
|
||||
default_apply_parts()
|
||||
|
||||
/obj/machinery/vr_sleeper/Initialize()
|
||||
. = ..()
|
||||
smoke = new
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -62,7 +62,8 @@
|
||||
lightboom = 0
|
||||
flash = 0
|
||||
|
||||
/obj/effect/instantboom/Initialize()
|
||||
/obj/effect/instantboom/Initialize(mapload)
|
||||
..()
|
||||
var/turf/T = get_turf(src)
|
||||
explosion(T,devastation,heavyboom,lightboom,flash)
|
||||
qdel(src)
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
return module.attack_self(user)
|
||||
..()
|
||||
|
||||
/obj/item/paicard/flipper/Initialize() //ChompEDIT New --> Initialize
|
||||
..()
|
||||
/obj/item/paicard/flipper/Initialize(mapload) //ChompEDIT New --> Initialize
|
||||
. = ..()
|
||||
desc = "The [name] is a versatile security device designed to protect and empower users in a variety of contexts. With features such as wireless hacking, radio analysis, signal jamming, and physical lock picking, the [name] is the ultimate tool for security professionals, hobbyists, and anyone seeking to better understand and defend against modern threats. Whether you're investigating a security breach, testing your own defenses, or simply curious about the workings of wireless technology, the [name] has you covered."
|
||||
MultiTool = new /obj/item/multitool(src)
|
||||
Signal = new /obj/item/assembly/signaler(src)
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/neotane/Initialize()
|
||||
/obj/item/reagent_containers/pill/neotane/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_NEOTANE, 10)
|
||||
color = reagents.get_color()
|
||||
@@ -95,7 +95,7 @@
|
||||
desc = "An experimental pill."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/burncard/Initialize()
|
||||
/obj/item/reagent_containers/pill/burncard/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_BURNCARD, 10)
|
||||
color = reagents.get_color()
|
||||
@@ -105,7 +105,7 @@
|
||||
desc = "An experimental pill."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/flamecure/Initialize()
|
||||
/obj/item/reagent_containers/pill/flamecure/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_FLAMECURE, 5)
|
||||
color = reagents.get_color()
|
||||
@@ -115,7 +115,7 @@
|
||||
desc = "An experimental pill."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/juggernog/Initialize()
|
||||
/obj/item/reagent_containers/pill/juggernog/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_JUGGERNOG, 5)
|
||||
color = reagents.get_color()
|
||||
@@ -125,7 +125,7 @@
|
||||
desc = "An experimental pill."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/curea/Initialize()
|
||||
/obj/item/reagent_containers/pill/curea/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_CUREA, 10)
|
||||
color = reagents.get_color()
|
||||
@@ -135,7 +135,7 @@
|
||||
desc = "An experimental pill."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/souldew/Initialize()
|
||||
/obj/item/reagent_containers/pill/souldew/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_SOULDEW, 10)
|
||||
color = reagents.get_color()
|
||||
@@ -146,8 +146,7 @@
|
||||
desc = "An expirmental pill."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/purifyingagent/Initialize()
|
||||
|
||||
/obj/item/reagent_containers/pill/purifyingagent/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_PURIFYINGAGENT, 10)
|
||||
|
||||
@@ -158,7 +157,7 @@
|
||||
desc = "A pill to help you concentrate."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/methylphenidate/Initialize()
|
||||
/obj/item/reagent_containers/pill/methylphenidate/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_METHYLPHENIDATE, 10)
|
||||
color = reagents.get_color()
|
||||
@@ -168,7 +167,7 @@
|
||||
desc = "A pill to help treat severe depression."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/paroxetine/Initialize()
|
||||
/obj/item/reagent_containers/pill/paroxetine/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_PAROXETINE, 10)
|
||||
color = reagents.get_color()
|
||||
@@ -178,7 +177,7 @@
|
||||
desc = "A pill to help treat jitters, confusion, and blurred vision."
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/adranol/Initialize()
|
||||
/obj/item/reagent_containers/pill/adranol/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_ADRANOL, 10)
|
||||
color = reagents.get_color()
|
||||
@@ -188,7 +187,7 @@
|
||||
desc = "Just one couldn't hurt, right?"
|
||||
icon_state = "pill2"
|
||||
|
||||
/obj/item/reagent_containers/pill/aphrodisiac/Initialize()
|
||||
/obj/item/reagent_containers/pill/aphrodisiac/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_APHRODISIAC, 20)
|
||||
color = reagents.get_color()
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/obj/effect/map_helper
|
||||
icon = 'icons/misc/map_helpers.dmi'
|
||||
|
||||
/obj/effect/map_helper/Initialize()
|
||||
/obj/effect/map_helper/Initialize(mapload)
|
||||
. = ..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
@@ -124,4 +124,4 @@ Make this if you can figure out a way to do it for every area in that z level ex
|
||||
var/area/A = get_area(src)
|
||||
if(A)
|
||||
A.flags |= PHASE_SHIELDED
|
||||
qdel(src)
|
||||
qdel(src)
|
||||
|
||||
@@ -116,7 +116,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
|
||||
@@ -175,7 +175,7 @@
|
||||
/obj/item/retail_scanner/security //CHOMPStation addition
|
||||
)
|
||||
|
||||
/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
|
||||
@@ -220,7 +220,7 @@
|
||||
/obj/item/ticket_printer //CHOMPStation addition
|
||||
)
|
||||
|
||||
/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
|
||||
@@ -231,22 +231,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 ..()
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
name = "Dangerous drone carrier"
|
||||
starts_with = list(/mob/living/simple_mob/vore/sect_drone)
|
||||
|
||||
/obj/structure/largecrate/animal/bugsect/Initialize()
|
||||
/obj/structure/largecrate/animal/bugsect/Initialize(mapload)
|
||||
starts_with = list(pick(/mob/living/simple_mob/vore/sect_drone,
|
||||
/mob/living/simple_mob/vore/sect_queen))
|
||||
return ..()
|
||||
@@ -47,4 +47,4 @@
|
||||
/obj/structure/largecrate/animal/gravityshell
|
||||
name = "Exotic crate"
|
||||
desc = "WARNING: HAZARDOUS CONTENTS. HANDLE WITH CAUTION"
|
||||
starts_with = list(/mob/living/simple_mob/vore/spacecritter/gravityshell)
|
||||
starts_with = list(/mob/living/simple_mob/vore/spacecritter/gravityshell)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
var/total_w = 0
|
||||
var/panic_mult = 1
|
||||
|
||||
/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)
|
||||
@@ -133,7 +133,7 @@
|
||||
var/mob/living/simple_mob/vore/aggressive/corrupthound/muffinmonster
|
||||
var/obj/machinery/recycling/crusher/crusher //Bluespace connection for recyclables
|
||||
|
||||
/obj/structure/biowaste_tank/Initialize()
|
||||
/obj/structure/biowaste_tank/Initialize(mapload)
|
||||
muffinmonster = new /mob/living/simple_mob/vore/aggressive/corrupthound/muffinmonster(src)
|
||||
muffinmonster.name = "Activate Muffin Monster"
|
||||
muffinmonster.voremob_loaded = TRUE
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
light_color = "#FF3300" // Orangeish?
|
||||
light_on = TRUE
|
||||
|
||||
/turf/simulated/shuttle/wall/alien/orange/Initialize()
|
||||
/turf/simulated/shuttle/wall/alien/orange/Initialize(mapload)
|
||||
. = ..()
|
||||
update_light()
|
||||
|
||||
@@ -25,4 +25,4 @@
|
||||
icon_state = "hull-r_titanium"
|
||||
|
||||
/turf/simulated/wall/quartz/Initialize(mapload)
|
||||
. = ..(mapload, MAT_QUARTZ, MAT_QUARTZ, MAT_QUARTZ)
|
||||
. = ..(mapload, MAT_QUARTZ, MAT_QUARTZ, MAT_QUARTZ)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
/obj/item/clothing/gloves/ring/buzzer/get_cell()
|
||||
return battery
|
||||
|
||||
/obj/item/clothing/gloves/ring/buzzer/Initialize()
|
||||
/obj/item/clothing/gloves/ring/buzzer/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!battery)
|
||||
battery = new battery_type(src)
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
icon_state = "leaves"
|
||||
bitesize = 1
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/weatherlily/Initialize()
|
||||
/obj/item/reagent_containers/food/snacks/weatherlily/Initialize(mapload)
|
||||
. = ..()
|
||||
//reagents.add_reagent(REAGENT_ID_AMATOXIN, 1) I want this for lore of this being a strange bioenginered thing to mess with organic things buuuut it's one of two food sources
|
||||
reagents.add_reagent(REAGENT_ID_LUMINOL,1)
|
||||
@@ -124,7 +124,7 @@
|
||||
nutriment_desc = list(REAGENT_ID_PROTEIN = 4)
|
||||
bitesize = 2
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/mutatedmeat/Initialize()
|
||||
/obj/item/reagent_containers/food/snacks/mutatedmeat/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_PROTEIN, 4)
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
var/static/list/possible_states = list("crystal", "generator","core", "hilt")
|
||||
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/prototype/Initialize()
|
||||
/obj/item/prop/alien/prototype/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = pick(possible_states)
|
||||
var/list/techs = possible_tech.Copy()
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
center_of_mass_x = 17 //CHOMPEdit
|
||||
center_of_mass_y= 3 //CHOMPEdit
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/bottle/snaps/Initialize()
|
||||
/obj/item/reagent_containers/food/drinks/bottle/snaps/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_SNAPS, 100)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
nutriment_desc = list(REAGENT_ID_PROTEIN = 6, REAGENT_ID_DEATHBLOOD = 6)
|
||||
bitesize = 6
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/deathclawmeat/Initialize()
|
||||
/obj/item/reagent_containers/food/snacks/deathclawmeat/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_PROTEIN, 6)
|
||||
reagents.add_reagent(REAGENT_ID_DEATHBLOOD, 6)
|
||||
@@ -23,7 +23,7 @@
|
||||
nutriment_desc = list(REAGENT_ID_PROTEIN = 6, REAGENT_ID_LIQUIDFIRE = 6)
|
||||
bitesize = 6
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/dragonmeat/Initialize()
|
||||
/obj/item/reagent_containers/food/snacks/dragonmeat/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_PROTEIN, 6)
|
||||
reagents.add_reagent(REAGENT_ID_LIQUIDFIRE, 6)
|
||||
@@ -38,7 +38,7 @@
|
||||
nutriment_desc = list(REAGENT_ID_PROTEIN = 6, REAGENT_ID_NEOLIQUIDFIRE = 6, REAGENT_ID_PHORON = 3)
|
||||
bitesize = 6
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/phorondragonmeat/Initialize()
|
||||
/obj/item/reagent_containers/food/snacks/phorondragonmeat/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_PROTEIN, 6)
|
||||
reagents.add_reagent(REAGENT_ID_NEOLIQUIDFIRE, 6)
|
||||
@@ -54,7 +54,7 @@
|
||||
nutriment_desc = list(REAGENT_ID_PROTEIN = 3, REAGENT_ID_LIQUIDLIFE = 3)
|
||||
bitesize = 6
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/metroidmeat/Initialize()
|
||||
/obj/item/reagent_containers/food/snacks/metroidmeat/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_PROTEIN, 3)
|
||||
reagents.add_reagent(REAGENT_ID_LIQUIDLIFE, 3)
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
/obj/structure/candybowl/medical
|
||||
name = "medical candy bowl"
|
||||
|
||||
/obj/structure/candybowl/medical/Initialize()
|
||||
/obj/structure/candybowl/medical/Initialize(mapload)
|
||||
. = ..()
|
||||
candy += list(
|
||||
/obj/item/clothing/mask/chewable/candy/lolli,
|
||||
@@ -147,7 +147,7 @@
|
||||
/obj/structure/candybowl/engineering
|
||||
name = "engineering candy bowl"
|
||||
|
||||
/obj/structure/candybowl/engineering/Initialize()
|
||||
/obj/structure/candybowl/engineering/Initialize(mapload)
|
||||
. = ..()
|
||||
candy += list(
|
||||
/obj/item/reagent_containers/food/snacks/welders_original,
|
||||
@@ -158,7 +158,7 @@
|
||||
/obj/structure/candybowl/cargo
|
||||
name = "cargo candy bowl"
|
||||
|
||||
/obj/structure/candybowl/cargo/Initialize()
|
||||
/obj/structure/candybowl/cargo/Initialize(mapload)
|
||||
. = ..()
|
||||
candy += list(
|
||||
/obj/item/reagent_containers/food/snacks/butterscotch,
|
||||
@@ -169,7 +169,7 @@
|
||||
/obj/structure/candybowl/science
|
||||
name = "science candy bowl"
|
||||
|
||||
/obj/structure/candybowl/science/Initialize()
|
||||
/obj/structure/candybowl/science/Initialize(mapload)
|
||||
. = ..()
|
||||
candy += list(
|
||||
/obj/item/reagent_containers/food/snacks/reishicup,
|
||||
@@ -181,7 +181,7 @@
|
||||
/obj/structure/candybowl/security
|
||||
name = "security candy bowl"
|
||||
|
||||
/obj/structure/candybowl/security/Initialize()
|
||||
/obj/structure/candybowl/security/Initialize(mapload)
|
||||
. = ..()
|
||||
candy += list(
|
||||
/obj/item/reagent_containers/food/snacks/spicy_boys,
|
||||
@@ -200,7 +200,7 @@
|
||||
var/list/ckeys_that_took = list()
|
||||
var/list/costumes
|
||||
|
||||
/obj/structure/boxpile/Initialize()
|
||||
/obj/structure/boxpile/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
costumes = typesof(/obj/item/storage/box/halloween/)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "rotten egg"
|
||||
desc = "A rotten egg. It stinks!"
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/egg/rotten/Initialize()
|
||||
/obj/item/reagent_containers/food/snacks/egg/rotten/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_TOXIN, 3)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
var/slip_reflex = FALSE
|
||||
var/synth_reag_processing = TRUE
|
||||
|
||||
/mob/living/carbon/Initialize()
|
||||
/mob/living/carbon/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
cozyloop = new(list(src), FALSE)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
var/scream_emote = null
|
||||
*/
|
||||
|
||||
/mob/living/Initialize()
|
||||
/mob/living/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
deaf_loop = new(list(src), FALSE)
|
||||
|
||||
@@ -110,8 +110,8 @@
|
||||
attack_edge = 1
|
||||
attack_armor_type = "melee" //Default is melee but I'm stating this explicitly to make it more obvious to anybody reading this
|
||||
|
||||
/mob/living/simple_mob/animal/synx/Initialize()
|
||||
..()
|
||||
/mob/living/simple_mob/animal/synx/Initialize(mapload)
|
||||
. = ..()
|
||||
src.adjust_nutrition(src.max_nutrition)
|
||||
build_icons(1)
|
||||
voremob_loaded = 1
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
var/body_color
|
||||
|
||||
/mob/living/simple_mob/animal/space/carp/station/Initialize()
|
||||
/mob/living/simple_mob/animal/space/carp/station/Initialize(mapload)
|
||||
.=..()
|
||||
|
||||
body_color = pick(list("green","red","orange","yellow","blue"))
|
||||
@@ -20,4 +20,4 @@
|
||||
if(body_color == "yellow")
|
||||
color = "#00FF00"
|
||||
if(body_color == "blue")
|
||||
color = "#0099CC"
|
||||
color = "#0099CC"
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
var/splatter_volume = 5 // The volume of its chemical container, for said cloud of reagents.
|
||||
var/list/my_chems = list(REAGENT_ID_MOLD)
|
||||
|
||||
/obj/item/projectile/arc/vial/Initialize()
|
||||
/obj/item/projectile/arc/vial/Initialize(mapload)
|
||||
. = ..()
|
||||
if(splatter)
|
||||
create_reagents(splatter_volume)
|
||||
|
||||
@@ -577,7 +577,7 @@
|
||||
|
||||
disable_duration_percent = 0
|
||||
|
||||
/mob/living/simple_mob/mechanical/mecha/imperion/Initialize()
|
||||
/mob/living/simple_mob/mechanical/mecha/imperion/Initialize(mapload)
|
||||
add_modifier(/datum/modifier/bossbuff, null, src) // Slime is always swole.
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -608,7 +608,7 @@
|
||||
stage = 2
|
||||
sealed = TRUE
|
||||
|
||||
/obj/item/grenade/chem_grenade/frost/Initialize()
|
||||
/obj/item/grenade/chem_grenade/frost/Initialize(mapload)
|
||||
. = ..()
|
||||
var/obj/item/reagent_containers/glass/beaker/bluespace/B1 = new(src)
|
||||
var/obj/item/reagent_containers/glass/beaker/bluespace/B2 = new(src)
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
/obj/item/rig_module/teleporter = 5
|
||||
)
|
||||
|
||||
/mob/living/simple_mob/humanoid/eclipse/head/engineer/Initialize()
|
||||
/mob/living/simple_mob/humanoid/eclipse/head/engineer/Initialize(mapload)
|
||||
add_modifier(/datum/modifier/technomancer/haste, null, src) // tesh goes nyooooom
|
||||
return ..()
|
||||
|
||||
@@ -656,4 +656,4 @@
|
||||
if(prob(50))
|
||||
bomb_lines(A)
|
||||
else
|
||||
chaos_lines(A)
|
||||
chaos_lines(A)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
var/list/product_records = list()
|
||||
|
||||
|
||||
/mob/living/simple_mob/humanoid/starhunter/trader/Initialize()
|
||||
/mob/living/simple_mob/humanoid/starhunter/trader/Initialize(mapload)
|
||||
. = ..()
|
||||
build_inventory()
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
pain_emote_1p = list("skree")
|
||||
pain_emote_3p = list("skrees")
|
||||
|
||||
/mob/living/simple_mob/metroid/Initialize()
|
||||
/mob/living/simple_mob/metroid/Initialize(mapload)
|
||||
nutrition = 100 //Have them start off pretty hungry still.
|
||||
add_verb(src,/mob/living/proc/ventcrawl) //CHOMPEdit TGPanel //May not do anything at the moment.
|
||||
return ..()
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
var/amount_grown = 0
|
||||
var/metroid_type = /mob/living/simple_mob/metroid/juvenile/baby
|
||||
|
||||
/obj/effect/metroid/egg/Initialize()
|
||||
/obj/effect/metroid/egg/Initialize(mapload)
|
||||
pixel_x = rand(3,-3)
|
||||
pixel_y = rand(3,-3)
|
||||
START_PROCESSING(SSobj, src)
|
||||
@@ -39,4 +39,4 @@
|
||||
amount_grown += rand(0,2)
|
||||
if(amount_grown >= 100)
|
||||
new metroid_type(src.loc, src)
|
||||
qdel(src)
|
||||
qdel(src)
|
||||
|
||||
@@ -217,7 +217,7 @@
|
||||
coretype = /obj/item/slime_extract/ruby
|
||||
melee_attack_delay = 1 SECOND
|
||||
|
||||
/mob/living/simple_mob/slime/feral/ruby/Initialize()
|
||||
/mob/living/simple_mob/slime/feral/ruby/Initialize(mapload)
|
||||
add_modifier(/datum/modifier/slime_strength, null, src) // Slime is always swole.
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -781,7 +781,7 @@ GLOBAL_LIST_INIT(obelisk_lure_messages, list(
|
||||
|
||||
// hackified shitcode poached from the pitcher plant for ~~cool flavor text~~ when you're near either 'structure'
|
||||
|
||||
/mob/living/simple_mob/vore/blackhole_obelisk/Initialize()
|
||||
/mob/living/simple_mob/vore/blackhole_obelisk/Initialize(mapload)
|
||||
. = ..()
|
||||
obelisk_lure_messages = GLOB.obelisk_lure_messages
|
||||
loopy = new(list(src),FALSE)
|
||||
@@ -851,21 +851,21 @@ GLOBAL_LIST_INIT(obelisk_lure_messages, list(
|
||||
///size randomization!///
|
||||
///-------------------------------------------------------------------------------------------------------------------------------------------------------------///
|
||||
|
||||
/mob/living/simple_mob/vore/blackhole/Initialize()
|
||||
/mob/living/simple_mob/vore/blackhole/Initialize(mapload)
|
||||
. = ..()
|
||||
var/oursize = rand(90, 150) / 100
|
||||
resize(oursize)
|
||||
|
||||
/mob/living/simple_mob/vore/blackhole/bikers/Initialize()
|
||||
/mob/living/simple_mob/vore/blackhole/bikers/Initialize(mapload)
|
||||
. = ..()
|
||||
resize(1) // Scale them back down
|
||||
|
||||
/mob/living/simple_mob/vore/otie/syndicate/blackhole/Initialize()
|
||||
/mob/living/simple_mob/vore/otie/syndicate/blackhole/Initialize(mapload)
|
||||
. = ..()
|
||||
var/oursize = rand(100, 180) / 100
|
||||
resize(oursize)
|
||||
|
||||
/mob/living/simple_mob/humanoid/merc/ranged/sniper/blackhole/Initialize()
|
||||
/mob/living/simple_mob/humanoid/merc/ranged/sniper/blackhole/Initialize(mapload)
|
||||
. = ..()
|
||||
var/oursize = rand(100, 180) / 100
|
||||
resize(oursize)
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
/mob/living/simple_mob/vore/greatwolf/Initialize()
|
||||
/mob/living/simple_mob/vore/greatwolf/Initialize(mapload)
|
||||
. = ..()
|
||||
add_verb(src,/mob/living/simple_mob/proc/pick_color) //CHOMPEdit TGPanel
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
/mob/living/simple_mob/animal/passive/cockroach)
|
||||
var/obj/item/vac_attachment/swoopie/Vac
|
||||
|
||||
/mob/living/simple_mob/vore/aggressive/corrupthound/swoopie/Initialize()
|
||||
/mob/living/simple_mob/vore/aggressive/corrupthound/swoopie/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!voremob_loaded)
|
||||
voremob_loaded = TRUE
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/mob/living/simple_mob/vore/wolf/direwolf/Initialize()
|
||||
/mob/living/simple_mob/vore/wolf/direwolf/Initialize(mapload)
|
||||
. = ..()
|
||||
add_verb(src,/mob/living/simple_mob/proc/pick_color) //CHOMPEdit TGPanel
|
||||
/* Combat refactor walkback. 100 old
|
||||
|
||||
@@ -39,14 +39,14 @@
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/meat/xeyakin
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/meat/xeyakin/Initialize()
|
||||
/obj/item/reagent_containers/food/snacks/meat/xeyakin/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent("xeyakinblood", 2)
|
||||
reagents.add_reagent(REAGENT_ID_XEYAKIN_BLOOD, 2)
|
||||
|
||||
|
||||
/datum/reagent/xeyakinblood
|
||||
name = "Xeyakin Blood"
|
||||
id = "xeyakinblood"
|
||||
name = REAGENT_XEYAKIN_BLOOD
|
||||
id = REAGENT_ID_XEYAKIN_BLOOD
|
||||
description = "The blood of a legendary beast."
|
||||
taste_description = "divine"
|
||||
taste_mult = 1.5
|
||||
|
||||
@@ -91,8 +91,8 @@
|
||||
|
||||
can_be_drop_prey = FALSE //CHOMP Add
|
||||
|
||||
/mob/living/simple_mob/xeno_ch/Initialize()
|
||||
..()
|
||||
/mob/living/simple_mob/xeno_ch/Initialize(mapload)
|
||||
. = ..()
|
||||
src.adjust_nutrition(src.max_nutrition)
|
||||
sight |= SEE_MOBS
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
icon_state = "tallcabinet"
|
||||
|
||||
|
||||
/obj/structure/filingcabinet/Initialize()
|
||||
/obj/structure/filingcabinet/Initialize(mapload)
|
||||
for(var/obj/item/I in loc)
|
||||
if(istype(I, /obj/item/paper) || istype(I, /obj/item/folder) || istype(I, /obj/item/photo) || istype(I, /obj/item/paper_bundle))
|
||||
I.loc = src
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
icon_state = "em_light"
|
||||
w_class = ITEMSIZE_TINY
|
||||
|
||||
/obj/item/cell/emergency_light/Initialize()
|
||||
/obj/item/cell/emergency_light/Initialize(mapload)
|
||||
. = ..()
|
||||
var/area/A = get_area(src)
|
||||
if(!A.lightswitch || !A.light_power)
|
||||
@@ -215,7 +215,7 @@
|
||||
var/amount = 100
|
||||
var/used = FALSE
|
||||
|
||||
/obj/item/fbp_backup_cell/Initialize()
|
||||
/obj/item/fbp_backup_cell/Initialize(mapload)
|
||||
. = ..()
|
||||
add_overlay("[icon_state]_100")
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/is_picked_up = FALSE
|
||||
var/is_long = TRUE
|
||||
|
||||
/obj/item/gun/projectile/automatic/serdy/Initialize()
|
||||
/obj/item/gun/projectile/automatic/serdy/Initialize(mapload)
|
||||
. = ..()
|
||||
update_transform()
|
||||
update_icon()
|
||||
@@ -1119,7 +1119,7 @@
|
||||
icon_state = "c20r"
|
||||
return
|
||||
|
||||
/obj/item/gun/projectile/automatic/c20r/Initialize()
|
||||
/obj/item/gun/projectile/automatic/c20r/Initialize(mapload)
|
||||
. = ..()
|
||||
update_transform()
|
||||
|
||||
@@ -1137,7 +1137,7 @@
|
||||
. = ..()
|
||||
icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e"
|
||||
|
||||
/obj/item/gun/projectile/automatic/sts35/Initialize()
|
||||
/obj/item/gun/projectile/automatic/sts35/Initialize(mapload)
|
||||
. = ..()
|
||||
update_transform()
|
||||
|
||||
@@ -1156,7 +1156,7 @@
|
||||
. = ..()
|
||||
icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e"
|
||||
*/
|
||||
/obj/item/gun/projectile/automatic/wt550/Initialize()
|
||||
/obj/item/gun/projectile/automatic/wt550/Initialize(mapload)
|
||||
. = ..()
|
||||
update_transform()
|
||||
|
||||
@@ -1178,7 +1178,7 @@
|
||||
icon_state = "carbine-e"
|
||||
return
|
||||
|
||||
/obj/item/gun/projectile/automatic/z8/Initialize()
|
||||
/obj/item/gun/projectile/automatic/z8/Initialize(mapload)
|
||||
. = ..()
|
||||
update_transform()
|
||||
|
||||
@@ -1201,7 +1201,7 @@
|
||||
. = ..()
|
||||
icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-empty"
|
||||
|
||||
/obj/item/gun/projectile/automatic/mini_uzi/Initialize()
|
||||
/obj/item/gun/projectile/automatic/mini_uzi/Initialize(mapload)
|
||||
. = ..()
|
||||
update_transform()
|
||||
|
||||
@@ -1243,7 +1243,7 @@
|
||||
icon = 'icons/obj/gun_ch.dmi'
|
||||
icon_state = "m1911"
|
||||
|
||||
/obj/item/gun/projectile/colt/Initialize()
|
||||
/obj/item/gun/projectile/colt/Initialize(mapload)
|
||||
.=..()
|
||||
update_icon()
|
||||
|
||||
@@ -1380,7 +1380,7 @@
|
||||
var/is64x32 = TRUE
|
||||
var/is_picked_up = FALSE
|
||||
|
||||
/obj/item/gun/projectile/shotgun/pump/Initialize()
|
||||
/obj/item/gun/projectile/shotgun/pump/Initialize(mapload)
|
||||
. = ..()
|
||||
if(is64x32)
|
||||
update_transform()
|
||||
@@ -1475,7 +1475,7 @@
|
||||
/obj/item/gun/projectile/shotgun/doublebarrel/sawn //Default sawn shotgun needs it's old icon path back
|
||||
icon = 'icons/obj/gun.dmi'
|
||||
|
||||
/obj/item/gun/projectile/shotgun/doublebarrel/Initialize()
|
||||
/obj/item/gun/projectile/shotgun/doublebarrel/Initialize(mapload)
|
||||
. = ..()
|
||||
update_transform()
|
||||
update_icon()
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
REAGENT_ID_COPPER, REAGENT_ID_MERCURY, REAGENT_ID_RADIUM, REAGENT_ID_WATER, REAGENT_ID_ETHANOL, REAGENT_ID_SUGAR, REAGENT_ID_SACID, REAGENT_ID_TUNGSTEN, REAGENT_ID_CALCIUM
|
||||
)
|
||||
|
||||
/obj/machinery/chemical_synthesizer/Initialize()
|
||||
/obj/machinery/chemical_synthesizer/Initialize(mapload)
|
||||
. = ..()
|
||||
// Create the reagents datum which will act as the machine's reaction vessel.
|
||||
create_reagents(600)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/list/affecting
|
||||
var/voracity = 5 //How much stuff is swallowed at once.
|
||||
|
||||
/obj/machinery/v_garbosystem/Initialize()
|
||||
/obj/machinery/v_garbosystem/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/dir in cardinal)
|
||||
src.crusher = locate(/obj/machinery/recycling/crusher, get_step(src, dir))
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
return ..() + saving
|
||||
|
||||
// Load the vars_to_save from the savefile
|
||||
/obj/soulgem/Initialize()
|
||||
/obj/soulgem/Initialize(mapload)
|
||||
. = ..()
|
||||
if(ismob(loc))
|
||||
owner = loc
|
||||
|
||||
Reference in New Issue
Block a user