Update files
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
var/strength = 30
|
||||
|
||||
/obj/effect/wind/Initialize()
|
||||
/obj/effect/wind/Initialize(mapload)
|
||||
. = ..()
|
||||
START_PROCESSING(SSobj,src)
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
QDEL_NULL(reset)
|
||||
return ..()
|
||||
|
||||
/obj/item/ctf/Initialize()
|
||||
/obj/item/ctf/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!reset)
|
||||
reset = new reset_path(get_turf(src))
|
||||
@@ -167,7 +167,7 @@
|
||||
var/static/arena_reset = FALSE
|
||||
var/static/list/people_who_want_to_play = list()
|
||||
|
||||
/obj/machinery/capture_the_flag/Initialize()
|
||||
/obj/machinery/capture_the_flag/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.poi_list |= src
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
///override this to add special spawn conditions to a ghost role
|
||||
/obj/effect/mob_spawn/proc/allow_spawn(mob/user, silent = FALSE)
|
||||
return TRUE
|
||||
|
||||
|
||||
//ATTACK GHOST IGNORING PARENT RETURN VALUE
|
||||
/obj/effect/mob_spawn/attack_ghost(mob/user, latejoinercalling)
|
||||
if(!SSticker.HasRoundStarted() || !loc || !ghost_usable)
|
||||
@@ -184,7 +184,7 @@
|
||||
var/facial_hair_style
|
||||
var/skin_tone
|
||||
|
||||
/obj/effect/mob_spawn/human/Initialize()
|
||||
/obj/effect/mob_spawn/human/Initialize(mapload)
|
||||
if(ispath(outfit))
|
||||
outfit = new outfit()
|
||||
if(!outfit)
|
||||
|
||||
@@ -174,7 +174,7 @@ GLOBAL_LIST_EMPTY(gateway_destinations)
|
||||
/// Visual object for handling the viscontents
|
||||
var/obj/effect/gateway_portal_effect/portal_visuals
|
||||
|
||||
/obj/machinery/gateway/Initialize()
|
||||
/obj/machinery/gateway/Initialize(mapload)
|
||||
generate_destination()
|
||||
update_icon()
|
||||
portal_visuals = new
|
||||
@@ -231,7 +231,7 @@ GLOBAL_LIST_EMPTY(gateway_destinations)
|
||||
destination_type = /datum/gateway_destination/gateway/home
|
||||
destination_name = "Home Gateway"
|
||||
|
||||
/obj/machinery/gateway/centerstation/Initialize()
|
||||
/obj/machinery/gateway/centerstation/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!GLOB.the_gateway)
|
||||
GLOB.the_gateway = src
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
density = FALSE
|
||||
var/active = 1
|
||||
|
||||
/obj/structure/firepit/Initialize()
|
||||
/obj/structure/firepit/Initialize(mapload)
|
||||
..()
|
||||
toggleFirepit()
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
else
|
||||
UnregisterSignal(M, COMSIG_MOB_SAY)
|
||||
|
||||
/obj/item/clothing/head/rice_hat/cursed/Initialize()
|
||||
/obj/item/clothing/head/rice_hat/cursed/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_NODROP, SHAMEBRERO_TRAIT)
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
icon_state = "barrier0"
|
||||
alpha = 100
|
||||
|
||||
/obj/effect/murderdome/dead_barricade/Initialize()
|
||||
/obj/effect/murderdome/dead_barricade/Initialize(mapload)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/respawn), 3 MINUTES)
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
//Syndicate sub-machine guns.
|
||||
/obj/item/gun/ballistic/automatic/c20r/sc_c20r
|
||||
|
||||
/obj/item/gun/ballistic/automatic/c20r/sc_c20r/Initialize()
|
||||
/obj/item/gun/ballistic/automatic/c20r/sc_c20r/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/ammo in magazine.stored_ammo)
|
||||
if(prob(95)) //95% chance
|
||||
@@ -57,7 +57,7 @@
|
||||
//Barman's shotgun
|
||||
/obj/item/gun/ballistic/shotgun/sc_pump
|
||||
|
||||
/obj/item/gun/ballistic/shotgun/sc_pump/Initialize()
|
||||
/obj/item/gun/ballistic/shotgun/sc_pump/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/ammo in magazine.stored_ammo)
|
||||
if(prob(95)) //95% chance
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
var/question = "Travel back?"
|
||||
var/list/zlevels
|
||||
|
||||
/obj/structure/signpost/Initialize()
|
||||
/obj/structure/signpost/Initialize(mapload)
|
||||
. = ..()
|
||||
set_light(2)
|
||||
zlevels = SSmapping.levels_by_trait(ZTRAIT_STATION)
|
||||
@@ -63,7 +63,7 @@
|
||||
exit the area."
|
||||
question = "Leave? You might never come back."
|
||||
|
||||
/obj/structure/signpost/exit/Initialize()
|
||||
/obj/structure/signpost/exit/Initialize(mapload)
|
||||
. = ..()
|
||||
zlevels = list()
|
||||
for(var/i in 1 to world.maxz)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
var/times_spoken_to = 0
|
||||
var/list/shenanigans = list()
|
||||
|
||||
/obj/structure/speaking_tile/Initialize()
|
||||
/obj/structure/speaking_tile/Initialize(mapload)
|
||||
. = ..()
|
||||
var/json_file = file("data/npc_saves/Poly.json")
|
||||
if(!fexists(json_file))
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
var/id
|
||||
var/delay = TRUE // If the generated destination should be delayed by configured gateway delay
|
||||
|
||||
/obj/effect/landmark/awaystart/Initialize()
|
||||
/obj/effect/landmark/awaystart/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/gateway_destination/point/current
|
||||
for(var/datum/gateway_destination/point/D in GLOB.gateway_destinations)
|
||||
|
||||
Reference in New Issue
Block a user