Merge pull request #15585 from SandPoot/Initialize(mapload)

Every case of initialize that should have mapload, does
This commit is contained in:
silicons
2022-04-15 17:41:57 -07:00
committed by GitHub
881 changed files with 1588 additions and 1588 deletions
@@ -30,7 +30,7 @@
var/stealth_armor = list(MELEE = 15, BULLET = 15, LASER = 15, ENERGY = 15, BOMB = 15, BIO = 15, RAD = 15, FIRE = 70, ACID = 70)
var/combat_armor = list(MELEE = 50, BULLET = 50, LASER = 50, ENERGY = 50, BOMB = 50, BIO = 50, RAD = 50, FIRE = 90, ACID = 90)
/obj/item/clothing/suit/armor/abductor/vest/Initialize()
/obj/item/clothing/suit/armor/abductor/vest/Initialize(mapload)
. = ..()
stealth_armor = getArmor(arglist(stealth_armor))
combat_armor = getArmor(arglist(combat_armor))
@@ -19,7 +19,7 @@
var/mind_control_duration = 1800
var/active_mind_control = FALSE
/obj/item/organ/heart/gland/Initialize()
/obj/item/organ/heart/gland/Initialize(mapload)
. = ..()
icon_state = pick(list("health", "spider", "slime", "emp", "species", "egg", "vent", "mindshock", "viral"))
@@ -8,7 +8,7 @@
mind_control_duration = 1200
var/list/possible_reagents = list()
/obj/item/organ/heart/gland/chem/Initialize()
/obj/item/organ/heart/gland/chem/Initialize(mapload)
. = ..()
for(var/R in subtypesof(/datum/reagent/drug) + subtypesof(/datum/reagent/medicine) + typesof(/datum/reagent/toxin))
possible_reagents += R
@@ -12,7 +12,7 @@
//TODO : replace with presets or spectrum
return rgb(rand(0,255),rand(0,255),rand(0,255))
/obj/machinery/abductor/gland_dispenser/Initialize()
/obj/machinery/abductor/gland_dispenser/Initialize(mapload)
. = ..()
gland_types = subtypesof(/obj/item/organ/heart/gland)
gland_types = shuffle(gland_types)
@@ -49,7 +49,7 @@
icon_state = "teleport"
duration = 80
/obj/effect/temp_visual/teleport_abductor/Initialize()
/obj/effect/temp_visual/teleport_abductor/Initialize(mapload)
. = ..()
var/datum/effect_system/spark_spread/S = new
S.set_up(10,0,loc)
@@ -221,7 +221,7 @@
hud_type = /datum/hud/blobbernaut
var/independent = FALSE
/mob/living/simple_animal/hostile/blob/blobbernaut/Initialize()
/mob/living/simple_animal/hostile/blob/blobbernaut/Initialize(mapload)
. = ..()
if(independent)
pass_flags &= ~PASSBLOB
@@ -9,7 +9,7 @@
point_return = 25
/obj/structure/blob/node/Initialize()
/obj/structure/blob/node/Initialize(mapload)
GLOB.blob_nodes += src
START_PROCESSING(SSobj, src)
. = ..()
@@ -12,7 +12,7 @@
var/nighttime_duration = 900 //15 Minutes
var/issued_XP = FALSE
/obj/effect/sunlight/Initialize()
/obj/effect/sunlight/Initialize(mapload)
. = ..()
/obj/effect/sunlight/proc/start_countdown()
@@ -302,7 +302,7 @@
firing_effect_type = null
var/obj/item/gun/magic/tentacle/gun //the item that shot it
/obj/item/ammo_casing/magic/tentacle/Initialize()
/obj/item/ammo_casing/magic/tentacle/Initialize(mapload)
gun = loc
. = ..()
@@ -321,7 +321,7 @@
var/chain
var/obj/item/ammo_casing/magic/tentacle/source //the item that shot it
/obj/item/projectile/tentacle/Initialize()
/obj/item/projectile/tentacle/Initialize(mapload)
source = loc
. = ..()
@@ -506,7 +506,7 @@
armor = list(MELEE = 0, BULLET = 0, LASER = 0,ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 90, ACID = 90) //No armor at all.
mutantrace_variation = NONE
/obj/item/clothing/suit/space/changeling/Initialize()
/obj/item/clothing/suit/space/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
if(ismob(loc))
@@ -527,7 +527,7 @@
armor = list(MELEE = 0, BULLET = 0, LASER = 0,ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 90, ACID = 90)
flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH
/obj/item/clothing/head/helmet/space/changeling/Initialize()
/obj/item/clothing/head/helmet/space/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -563,7 +563,7 @@
cold_protection = 0
heat_protection = 0
/obj/item/clothing/suit/armor/changeling/Initialize()
/obj/item/clothing/suit/armor/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
if(ismob(loc))
@@ -577,7 +577,7 @@
armor = list(MELEE = 70, BULLET = 60, LASER = 30, ENERGY = 40, BOMB = 10, BIO = 4, RAD = 0, FIRE = 50, ACID = 90)
flags_inv = HIDEEARS|HIDEHAIR|HIDEEYES|HIDEFACIALHAIR|HIDEFACE
/obj/item/clothing/head/helmet/changeling/Initialize()
/obj/item/clothing/head/helmet/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -655,7 +655,7 @@
max_heat_protection_temperature = GLOVES_MAX_TEMP_PROTECT
armor = list(MELEE = 20, BULLET = 20, LASER = 20, ENERGY = 20, BOMB = 35, BIO = 35, RAD = 35, FIRE = 0, ACID = 0)
/obj/item/clothing/gloves/claws/Initialize()
/obj/item/clothing/gloves/claws/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -727,7 +727,7 @@
to_chat(user, "<span class='notice'>[src] are now formed to allow for [fasthands ? "fast, precise strikes" : "crippling, damaging blows"].</span>")
addtimer(CALLBACK(src, .proc/use_buffs, user, TRUE), 0.1) // go fuckin get em
/obj/item/clothing/gloves/fingerless/pugilist/cling/Initialize()
/obj/item/clothing/gloves/fingerless/pugilist/cling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -12,7 +12,7 @@
/obj/item/clothing/glasses/changeling
name = "flesh"
/obj/item/clothing/glasses/changeling/Initialize()
/obj/item/clothing/glasses/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -27,7 +27,7 @@
/obj/item/clothing/under/changeling
name = "flesh"
/obj/item/clothing/under/changeling/Initialize()
/obj/item/clothing/under/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -43,7 +43,7 @@
name = "flesh"
allowed = list(/obj/item/changeling)
/obj/item/clothing/suit/changeling/Initialize()
/obj/item/clothing/suit/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -58,7 +58,7 @@
/obj/item/clothing/head/changeling
name = "flesh"
/obj/item/clothing/head/changeling/Initialize()
/obj/item/clothing/head/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -72,7 +72,7 @@
/obj/item/clothing/shoes/changeling
name = "flesh"
/obj/item/clothing/shoes/changeling/Initialize()
/obj/item/clothing/shoes/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -87,7 +87,7 @@
/obj/item/clothing/gloves/changeling
name = "flesh"
/obj/item/clothing/gloves/changeling/Initialize()
/obj/item/clothing/gloves/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -102,7 +102,7 @@
/obj/item/clothing/mask/changeling
name = "flesh"
/obj/item/clothing/mask/changeling/Initialize()
/obj/item/clothing/mask/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -119,7 +119,7 @@
slot_flags = ALL
allowed = list(/obj/item/changeling)
/obj/item/changeling/Initialize()
/obj/item/changeling/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT)
@@ -10,7 +10,7 @@
opacity = 0
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF | FREEZE_PROOF
/obj/effect/clockwork/Initialize()
/obj/effect/clockwork/Initialize(mapload)
. = ..()
GLOB.all_clockwork_objects += src
@@ -16,7 +16,7 @@
/obj/effect/clockwork/city_of_cogs_rift/singularity_pull()
return
/obj/effect/clockwork/city_of_cogs_rift/Initialize()
/obj/effect/clockwork/city_of_cogs_rift/Initialize(mapload)
. = ..()
visible_message("<span class='warning'>The air above [loc] shimmers and pops as a [name] forms there!</span>")
for(var/mob/M in GLOB.player_list)
@@ -32,7 +32,7 @@
smooth = SMOOTH_TRUE
layer = CLOSED_TURF_LAYER
/obj/effect/clockwork/overlay/wall/Initialize()
/obj/effect/clockwork/overlay/wall/Initialize(mapload)
. = ..()
queue_smooth_neighbors(src)
addtimer(CALLBACK(GLOBAL_PROC, .proc/queue_smooth, src), 1)
@@ -200,7 +200,7 @@
sigil_name = "Sigil of Transmission"
affects_servants = TRUE
/obj/effect/clockwork/sigil/transmission/Initialize()
/obj/effect/clockwork/sigil/transmission/Initialize(mapload)
. = ..()
update_icon()
@@ -229,7 +229,7 @@
else if(get_clockwork_power())
to_chat(L, "<span class='brass'>You feel a slight, static shock.</span>")
/obj/effect/clockwork/sigil/transmission/Initialize()
/obj/effect/clockwork/sigil/transmission/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
@@ -8,7 +8,7 @@
density = TRUE
CanAtmosPass = ATMOS_PASS_NO
/obj/effect/clockwork/servant_blocker/Initialize()
/obj/effect/clockwork/servant_blocker/Initialize(mapload)
. = ..()
air_update_turf(TRUE)
@@ -17,7 +17,7 @@
var/is_stable = FALSE
var/busy = FALSE //If someone is already working on closing the gateway, only needed for stable gateways but in the parent to not need typecasting
/obj/effect/clockwork/spatial_gateway/Initialize()
/obj/effect/clockwork/spatial_gateway/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, .proc/check_setup), 1)
@@ -8,7 +8,7 @@
icon_state = "rare_pepe"
w_class = WEIGHT_CLASS_SMALL
/obj/item/clockwork/Initialize()
/obj/item/clockwork/Initialize(mapload)
. = ..()
ratvar_act()
GLOB.all_clockwork_objects += src
@@ -172,7 +172,7 @@
var/randomspritemax = 2
var/sprite_shift = 9
/obj/item/clockwork/alloy_shards/Initialize()
/obj/item/clockwork/alloy_shards/Initialize(mapload)
. = ..()
if(randomsinglesprite)
replace_name_desc()
@@ -26,7 +26,7 @@
var/damage_per_combo = 2
var/maximum_combo_damage = 18 //33 damage on max stacks. Usually the target will already be dead by then but if they somehow aren't, better to have this capped
/obj/item/clockwork/brass_claw/Initialize()
/obj/item/clockwork/brass_claw/Initialize(mapload)
. = ..()
AddComponent(/datum/component/butchering, 60, 80)
@@ -10,7 +10,7 @@
mutantrace_variation = STYLE_MUZZLE
armor = list(MELEE = 50, BULLET = 70, LASER = 0, ENERGY = 0, BOMB = 60, BIO = 0, RAD = 0, FIRE = 100, ACID = 100, MAGIC = 60, WOUND = 65)
/obj/item/clothing/head/helmet/clockwork/Initialize()
/obj/item/clothing/head/helmet/clockwork/Initialize(mapload)
. = ..()
ratvar_act()
GLOB.all_clockwork_objects += src
@@ -72,7 +72,7 @@
allowed = list(/obj/item/clockwork, /obj/item/clothing/glasses/wraith_spectacles, /obj/item/clothing/glasses/judicial_visor, /obj/item/mmi/posibrain/soul_vessel, /obj/item/reagent_containers/food/drinks/bottle/holyoil)
mutantrace_variation = STYLE_DIGITIGRADE|STYLE_SNEK_TAURIC
/obj/item/clothing/suit/armor/clockwork/Initialize()
/obj/item/clothing/suit/armor/clockwork/Initialize(mapload)
. = ..()
ratvar_act()
GLOB.all_clockwork_objects += src
@@ -137,7 +137,7 @@
resistance_flags = FIRE_PROOF | ACID_PROOF
armor = list(MELEE = 80, BULLET = 70, LASER = 0, ENERGY = 0, BOMB = 60, BIO = 0, RAD = 0, FIRE = 100, ACID = 100, MAGIC = 70, WOUND = 85)
/obj/item/clothing/gloves/clockwork/Initialize()
/obj/item/clothing/gloves/clockwork/Initialize(mapload)
. = ..()
ratvar_act()
GLOB.all_clockwork_objects += src
@@ -190,7 +190,7 @@
equip_delay_other = 30
resistance_flags = FIRE_PROOF | ACID_PROOF
/obj/item/clothing/shoes/clockwork/Initialize()
/obj/item/clothing/shoes/clockwork/Initialize(mapload)
. = ..()
ratvar_act()
GLOB.all_clockwork_objects += src
@@ -106,7 +106,7 @@
if(!GLOB.ratvar_awakens)
SStgui.close_uis(src)
/obj/item/clockwork/slab/Initialize()
/obj/item/clockwork/slab/Initialize(mapload)
. = ..()
update_slab_info(src)
START_PROCESSING(SSobj, src)
@@ -11,7 +11,7 @@
var/creation_message = "<span class='brass'>The chassis shudders and hums to life!</span>"
var/construct_type //The construct this shell will create
/obj/item/clockwork/construct_chassis/Initialize()
/obj/item/clockwork/construct_chassis/Initialize(mapload)
. = ..()
var/area/A = get_area(src)
if(A && construct_type)
@@ -92,7 +92,7 @@
var/infinite_resources = FALSE //No.
var/static/obj/item/seasonal_hat //Share it with all other scarabs, since we're from the same cult!
/obj/item/clockwork/construct_chassis/cogscarab/Initialize()
/obj/item/clockwork/construct_chassis/cogscarab/Initialize(mapload)
. = ..()
if(GLOB.servants_active)
infinite_resources = FALSE //This check is relatively irrelevant until *someone* makes the infinite resources var default to true again, so, leaving it in.
@@ -12,7 +12,7 @@
item_flags = NOBLUDGEON
var/obj/machinery/power/apc/apc
/obj/item/clockwork/integration_cog/Initialize()
/obj/item/clockwork/integration_cog/Initialize(mapload)
. = ..()
transform *= 0.5 //little cog!
@@ -13,7 +13,7 @@
var/recharge_cooldown = 300 //divided by 10 if ratvar is alive
actions_types = list(/datum/action/item_action/clock/toggle_visor)
/obj/item/clothing/glasses/judicial_visor/Initialize()
/obj/item/clothing/glasses/judicial_visor/Initialize(mapload)
. = ..()
GLOB.all_clockwork_objects += src
blaster = new(src)
@@ -25,7 +25,7 @@
force_replace_ai_name = TRUE
overrides_aicore_laws = TRUE
/obj/item/mmi/posibrain/soul_vessel/Initialize()
/obj/item/mmi/posibrain/soul_vessel/Initialize(mapload)
. = ..()
radio.on = FALSE
laws = new /datum/ai_laws/ratvar()
@@ -12,7 +12,7 @@
visor_vars_to_toggle = NONE //we don't actually toggle anything we just set it
tint = 3 //this'll get reset, but it won't handle vision updates properly otherwise
/obj/item/clothing/glasses/wraith_spectacles/Initialize()
/obj/item/clothing/glasses/wraith_spectacles/Initialize(mapload)
. = ..()
GLOB.all_clockwork_objects += src
@@ -23,7 +23,7 @@
var/playstyle_string = "<span class='heavy_brass'>You are a bug, yell at whoever spawned you!</span>"
var/empower_string = "<span class='heavy_brass'>You have nothing to empower, yell at the coders!</span>" //Shown to the mob when the herald beacon activates
/mob/living/simple_animal/hostile/clockwork/Initialize()
/mob/living/simple_animal/hostile/clockwork/Initialize(mapload)
. = ..()
update_values()
@@ -34,7 +34,7 @@
Stay near your host to protect and heal them; being too far from your host will rapidly cause you massive damage. Recall to your host if you are too weak and believe you cannot continue \
fighting safely. As a final note, you should probably avoid harming any fellow servants of Ratvar.</span>"
/mob/living/simple_animal/hostile/clockwork/guardian/Initialize()
/mob/living/simple_animal/hostile/clockwork/guardian/Initialize(mapload)
. = ..()
true_name = pick(possible_true_names)
@@ -18,7 +18,7 @@
var/construction_value = 0 //How much value the structure contributes to the overall "power" of the structures on the station
var/immune_to_servant_attacks = FALSE //if we ignore attacks from servants of ratvar instead of taking damage
/obj/structure/destructible/clockwork/Initialize()
/obj/structure/destructible/clockwork/Initialize(mapload)
. = ..()
change_construction_value(construction_value)
GLOB.all_clockwork_objects += src
@@ -129,7 +129,7 @@
density = FALSE
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF
/obj/structure/destructible/clockwork/massive/Initialize()
/obj/structure/destructible/clockwork/massive/Initialize(mapload)
. = ..()
GLOB.poi_list += src
@@ -5,7 +5,7 @@
clockwork_desc = "A trap that shouldn't exist, and you should report this as a bug."
var/list/wired_to
/obj/structure/destructible/clockwork/trap/Initialize()
/obj/structure/destructible/clockwork/trap/Initialize(mapload)
. = ..()
wired_to = list()
@@ -80,7 +80,7 @@
break_message = "<span class='warning'>The trigger breaks apart!</span>"
density = FALSE
/obj/structure/destructible/clockwork/trap/trigger/Initialize()
/obj/structure/destructible/clockwork/trap/trigger/Initialize(mapload)
. = ..()
for(var/obj/structure/destructible/clockwork/trap/T in get_turf(src))
if(!istype(T, /obj/structure/destructible/clockwork/trap/trigger))
@@ -33,7 +33,7 @@
var/recalls_remaining = 1
var/recalling
/obj/structure/destructible/clockwork/massive/celestial_gateway/Initialize()
/obj/structure/destructible/clockwork/massive/celestial_gateway/Initialize(mapload)
. = ..()
INVOKE_ASYNC(src, .proc/spawn_animation)
glow = new(get_turf(src))
@@ -16,7 +16,7 @@
var/hierophant_cost = MIN_CLOCKCULT_POWER //how much it costs to broadcast with large text
var/gateway_cost = 2000 //how much it costs to open a gateway
/obj/structure/destructible/clockwork/powered/clockwork_obelisk/Initialize()
/obj/structure/destructible/clockwork/powered/clockwork_obelisk/Initialize(mapload)
. = ..()
toggle(1)
@@ -17,7 +17,7 @@
var/votes_needed = 0 //How many votes are needed to activate the beacon
var/available = FALSE //If the beacon can be used
/obj/structure/destructible/clockwork/heralds_beacon/Initialize()
/obj/structure/destructible/clockwork/heralds_beacon/Initialize(mapload)
. = ..()
voters = list()
START_PROCESSING(SSprocessing, src)
@@ -16,7 +16,7 @@
var/atom/movable/target
var/list/idle_messages = list(" sulkily glares around.", " lazily drifts from side to side.", " looks around for something to burn.", " slowly turns in circles.")
/obj/structure/destructible/clockwork/ocular_warden/Initialize()
/obj/structure/destructible/clockwork/ocular_warden/Initialize(mapload)
. = ..()
START_PROCESSING(SSfastprocess, src)
@@ -17,7 +17,7 @@
var/convert_range = 10
obj_flags = CAN_BE_HIT | DANGEROUS_POSSESSION
/obj/structure/destructible/clockwork/massive/ratvar/Initialize()
/obj/structure/destructible/clockwork/massive/ratvar/Initialize(mapload)
. = ..()
GLOB.ratvar_awakens++
for(var/obj/O in GLOB.all_clockwork_objects)
@@ -16,7 +16,7 @@
var/ini_dir = null
/obj/structure/destructible/clockwork/reflector/Initialize()
/obj/structure/destructible/clockwork/reflector/Initialize(mapload)
. = ..()
allowed_projectile_typecache = typecacheof(allowed_projectile_typecache)
@@ -16,7 +16,7 @@
light_color = "#DAAA18"
var/star_light_star_bright = FALSE //If this stargazer can see starlight
/obj/structure/destructible/clockwork/stargazer/Initialize()
/obj/structure/destructible/clockwork/stargazer/Initialize(mapload)
. = ..()
START_PROCESSING(SSprocessing, src)
@@ -14,7 +14,7 @@
debris = list()
var/timerid
/obj/structure/destructible/clockwork/taunting_trail/Initialize()
/obj/structure/destructible/clockwork/taunting_trail/Initialize(mapload)
. = ..()
timerid = QDEL_IN(src, 15)
var/obj/structure/destructible/clockwork/taunting_trail/Tt = locate(/obj/structure/destructible/clockwork/taunting_trail) in loc
@@ -13,7 +13,7 @@
var/wiggle_wiggle
var/mutable_appearance/impale_overlay //This is applied to any mob impaled so that they visibly have the skewer coming through their chest
/obj/structure/destructible/clockwork/trap/brass_skewer/Initialize()
/obj/structure/destructible/clockwork/trap/brass_skewer/Initialize(mapload)
. = ..()
START_PROCESSING(SSfastprocess, src)
@@ -15,7 +15,7 @@
/obj/structure/destructible/clockwork/wall_gear/displaced
anchored = FALSE
/obj/structure/destructible/clockwork/wall_gear/Initialize()
/obj/structure/destructible/clockwork/wall_gear/Initialize(mapload)
. = ..()
new /obj/effect/temp_visual/ratvar/gear(get_turf(src))
+8 -8
View File
@@ -39,7 +39,7 @@
armour_penetration = 35
actions_types = list(/datum/action/item_action/cult_dagger)
/obj/item/melee/cultblade/dagger/Initialize()
/obj/item/melee/cultblade/dagger/Initialize(mapload)
. = ..()
var/image/I = image(icon = 'icons/effects/blood.dmi' , icon_state = null, loc = src)
I.override = TRUE
@@ -62,7 +62,7 @@
hitsound = 'sound/weapons/bladeslice.ogg'
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "rended")
/obj/item/melee/cultblade/Initialize()
/obj/item/melee/cultblade/Initialize(mapload)
. = ..()
AddComponent(/datum/component/butchering, 40, 100)
AddElement(/datum/element/sword_point)
@@ -87,7 +87,7 @@
item_flags = NEEDS_PERMIT | DROPDEL
flags_1 = NONE
/obj/item/melee/cultblade/ghost/Initialize()
/obj/item/melee/cultblade/ghost/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT)
@@ -131,7 +131,7 @@
var/spin_cooldown = 250
var/dash_toggled = TRUE
/obj/item/cult_bastard/Initialize()
/obj/item/cult_bastard/Initialize(mapload)
. = ..()
set_light(4)
jaunt = new(src)
@@ -326,7 +326,7 @@
/obj/item/clothing/head/culthood/alt/ghost
item_flags = DROPDEL
/obj/item/clothing/head/culthood/alt/ghost/Initialize()
/obj/item/clothing/head/culthood/alt/ghost/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT)
@@ -340,7 +340,7 @@
/obj/item/clothing/suit/cultrobes/alt/ghost
item_flags = DROPDEL
/obj/item/clothing/suit/cultrobes/alt/ghost/Initialize()
/obj/item/clothing/suit/cultrobes/alt/ghost/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT)
@@ -716,7 +716,7 @@
var/wielded = FALSE // track wielded status on item
/obj/item/cult_spear/Initialize()
/obj/item/cult_spear/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
@@ -874,7 +874,7 @@
var/firing = FALSE
var/angle
/obj/item/blood_beam/Initialize()
/obj/item/blood_beam/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT)
@@ -89,7 +89,7 @@
var/static/image/radial_shell = image(icon = 'icons/obj/wizard.dmi', icon_state = "construct-cult")
var/static/image/radial_unholy_water = image(icon = 'icons/obj/drinks.dmi', icon_state = "holyflask")
/obj/structure/destructible/cult/talisman/Initialize()
/obj/structure/destructible/cult/talisman/Initialize(mapload)
. = ..()
radial_unholy_water.color = "#333333"
+1 -1
View File
@@ -5,7 +5,7 @@ This file contains the cult dagger and rune list code
*/
/obj/item/melee/cultblade/dagger/Initialize()
/obj/item/melee/cultblade/dagger/Initialize(mapload)
. = ..()
if(!LAZYLEN(GLOB.rune_types))
GLOB.rune_types = list()
+1 -1
View File
@@ -832,7 +832,7 @@ structure_check() searches for nearby cultist structures required for the invoca
var/ghost_limit = 3
var/ghosts = 0
/obj/effect/rune/manifest/Initialize()
/obj/effect/rune/manifest/Initialize(mapload)
. = ..()
+1 -1
View File
@@ -44,7 +44,7 @@
Though you are not obligated to help, perhaps by aiding a higher ranking devil, you might just get a promotion. However, you are incapable \
of intentionally harming a fellow devil.</B>"
/mob/living/simple_animal/imp/Initialize()
/mob/living/simple_animal/imp/Initialize(mapload)
..()
boost = world.time + 30
@@ -25,7 +25,7 @@
var/mob/living/oldform
var/list/devil_overlays[DEVIL_TOTAL_LAYERS]
/mob/living/carbon/true_devil/Initialize()
/mob/living/carbon/true_devil/Initialize(mapload)
create_bodyparts() //initialize bodyparts
create_internal_organs()
grant_all_languages()
@@ -8,7 +8,7 @@
///Used mainly for summoning ritual to prevent spamming the rune to create millions of monsters.
var/is_in_use = FALSE
/obj/effect/eldritch/Initialize()
/obj/effect/eldritch/Initialize(mapload)
. = ..()
var/image/I = image(icon = 'icons/effects/eldritch.dmi', icon_state = null, loc = src)
I.override = TRUE
@@ -216,7 +216,7 @@
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
alpha = 0
/obj/effect/broken_illusion/Initialize()
/obj/effect/broken_illusion/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src,.proc/show_presence),15 SECONDS)
addtimer(CALLBACK(src,.proc/remove_presence),195 SECONDS)
@@ -295,7 +295,7 @@
///Tracked image
var/image/img
/obj/effect/reality_smash/Initialize()
/obj/effect/reality_smash/Initialize(mapload)
. = ..()
GLOB.reality_smash_track.smashes += src
img = image(icon, src, image_state, OBJ_LAYER)
@@ -8,7 +8,7 @@
var/mob/living/carbon/human/target
var/datum/antagonist/heretic/sac_targetter //The heretic who used this to acquire the current target - gets cleared when target gets sacrificed.
/obj/item/living_heart/Initialize()
/obj/item/living_heart/Initialize(mapload)
. = ..()
GLOB.living_heart_cache.Add(src) //Add is better than +=.
@@ -310,7 +310,7 @@
. += "This item can carve 'Grasping carving' - when stepped on it causes heavy damage to the legs and stuns for 5 seconds."
. += "This item can carve 'Mad carving' - when stepped on it causes dizzyness, jiterryness, temporary blindness, confusion , stuttering and slurring."
/obj/item/melee/rune_knife/Initialize()
/obj/item/melee/rune_knife/Initialize(mapload)
. = ..()
linked_action = new(src)
@@ -702,7 +702,7 @@
duration = 1 MINUTES
layer = LOW_SIGIL_LAYER
/obj/effect/temp_visual/glowing_rune/Initialize()
/obj/effect/temp_visual/glowing_rune/Initialize(mapload)
. = ..()
pixel_y = rand(-6,6)
pixel_x = rand(-6,6)
+1 -1
View File
@@ -9,7 +9,7 @@ GLOBAL_LIST_EMPTY(gangster_cell_phones)
var/gang_id = "Grove Street Families"
var/activated = FALSE
/obj/item/gangster_cellphone/Initialize()
/obj/item/gangster_cellphone/Initialize(mapload)
. = ..()
GLOB.gangster_cell_phones += src
flags_1 |= HEAR_1
+1 -1
View File
@@ -52,7 +52,7 @@
You can attack any item or dead creature to consume it - creatures will fully restore your health. \
Finally, you can restore yourself to your original form while morphed by shift-clicking yourself.</b>"
/mob/living/simple_animal/hostile/morph/Initialize()
/mob/living/simple_animal/hostile/morph/Initialize(mapload)
. = ..()
src.AddElement(/datum/element/ventcrawling, given_tier = VENTCRAWLER_ALWAYS)
@@ -32,7 +32,7 @@
var/list/engymodels = list("Default", "Default - Treads", "Heavy", "Sleek", "Marina", "Can", "Spider", "Loader","Handy", "Pup Dozer", "Vale")
/obj/item/borg_chameleon/Initialize()
/obj/item/borg_chameleon/Initialize(mapload)
. = ..()
friendlyName = pick(GLOB.ai_names)
@@ -31,7 +31,7 @@
var/proper_bomb = TRUE //Please
var/obj/effect/countdown/nuclearbomb/countdown
/obj/machinery/nuclearbomb/Initialize()
/obj/machinery/nuclearbomb/Initialize(mapload)
. = ..()
countdown = new(src)
GLOB.nuke_list += src
@@ -507,7 +507,7 @@
proper_bomb = FALSE
var/obj/structure/reagent_dispensers/beerkeg/keg
/obj/machinery/nuclearbomb/beer/Initialize()
/obj/machinery/nuclearbomb/beer/Initialize(mapload)
. = ..()
keg = new(src)
QDEL_NULL(core)
@@ -619,7 +619,7 @@ This is here to make the tiles around the station mininuke change when it's arme
var/last_disk_move
var/process_tick = 0
/obj/item/disk/nuclear/Initialize()
/obj/item/disk/nuclear/Initialize(mapload)
. = ..()
AddElement(/datum/element/bed_tuckable, 6, -6, 0)
@@ -74,7 +74,7 @@
flags_1 = NONE
/obj/item/pinpointer/syndicate_cyborg/Initialize()
/obj/item/pinpointer/syndicate_cyborg/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CYBORG_ITEM_TRAIT)
@@ -91,7 +91,7 @@
target = closest_operative
..()
/obj/item/pinpointer/spider_cyborg/Initialize()
/obj/item/pinpointer/spider_cyborg/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CYBORG_ITEM_TRAIT)
@@ -70,7 +70,7 @@
var/slam_mode = FALSE
var/datum/action/cooldown/slam
/mob/living/simple_animal/slaughter/Initialize()
/mob/living/simple_animal/slaughter/Initialize(mapload)
..()
var/obj/effect/proc_holder/spell/bloodcrawl/bloodspell = new
AddSpell(bloodspell)
@@ -282,7 +282,7 @@
T = find_safe_turf()
for(var/mob/living/M in consumed_mobs)
if(!M)
continue
continue
M.forceMove(T)
if(M.revive(full_heal = TRUE, admin_revive = TRUE))
M.grab_ghost(force = TRUE)
+3 -3
View File
@@ -30,7 +30,7 @@
3. Biological resources will be harvested at a later date; do not harm them.
"}
/obj/effect/mob_spawn/swarmer/Initialize()
/obj/effect/mob_spawn/swarmer/Initialize(mapload)
. = ..()
var/area/A = get_area(src)
if(A)
@@ -106,7 +106,7 @@
var/resources = 0 //Resource points, generated by consuming metal/glass
var/max_resources = 100
/mob/living/simple_animal/hostile/swarmer/Initialize()
/mob/living/simple_animal/hostile/swarmer/Initialize(mapload)
. = ..()
remove_verb(src, /mob/living/verb/pulled)
for(var/datum/atom_hud/data/diagnostic/diag_hud in GLOB.huds)
@@ -607,7 +607,7 @@
icon_state = "disintegrate"
duration = 10
/obj/effect/temp_visual/swarmer/disintegration/Initialize()
/obj/effect/temp_visual/swarmer/disintegration/Initialize(mapload)
. = ..()
playsound(loc, "sparks", 100, 1)
@@ -355,7 +355,7 @@ GLOBAL_LIST_INIT(blacklisted_malf_machines, typecacheof(list(
var/detonation_timer
var/next_announce
/obj/machinery/doomsday_device/Initialize()
/obj/machinery/doomsday_device/Initialize(mapload)
. = ..()
countdown = new(src)
@@ -444,6 +444,6 @@
duration = 40
pixel_x = 500
/obj/effect/temp_visual/tornado/Initialize()
/obj/effect/temp_visual/tornado/Initialize(mapload)
. = ..()
animate(src, pixel_x = -500, time = 40)
@@ -618,7 +618,7 @@
else
. += "It appears to have no author."
/obj/item/spellbook/Initialize()
/obj/item/spellbook/Initialize(mapload)
. = ..()
prepare_spells()