[MIRROR] Fixes to more Initialize procs (#2733)

* Fixes to more Initialize procs

* Update ai_monitored.dm

* Update cleanable.dm

* Update instruments.dm

* Update musician.dm

* Update noticeboard.dm

* Update mimic.dm

* Update interactive.dm
This commit is contained in:
CitadelStationBot
2017-09-13 22:54:12 -05:00
committed by Poojawa
parent b4c27d5533
commit e4db027692
48 changed files with 988 additions and 989 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
var/area/starting_area
/mob/camera/aiEye/remote/base_construction/Initialize()
..()
. = ..()
starting_area = get_area(loc)
/mob/camera/aiEye/remote/base_construction/setLoc(var/t)
@@ -54,7 +54,7 @@
RCD = new(src)
/obj/machinery/computer/camera_advanced/base_construction/Initialize(mapload)
..()
. = ..()
if(mapload) //Map spawned consoles have a filled RCD and stocked special structures
RCD.matter = RCD.max_matter
fans_remaining = 4
@@ -173,7 +173,7 @@
SSblackbox.add_details("wisp_lantern","Returned")
/obj/item/device/wisp_lantern/Initialize()
..()
. = ..()
wisp = new(src)
/obj/item/device/wisp_lantern/Destroy()
@@ -242,7 +242,7 @@
teleport_color = "#FD3F48"
/obj/item/device/warp_cube/red/Initialize()
..()
. = ..()
if(!linked)
var/obj/item/device/warp_cube/blue = new(src.loc)
linked = blue
@@ -397,7 +397,7 @@
desc = "Somehow, it's in two places at once."
/obj/item/device/shared_storage/red/Initialize()
..()
. = ..()
if(!bag)
var/obj/item/storage/backpack/shared/S = new(src)
var/obj/item/device/shared_storage/blue = new(src.loc)
@@ -703,7 +703,7 @@
var/list/mob/dead/observer/spirits
/obj/item/melee/ghost_sword/Initialize()
..()
. = ..()
spirits = list()
START_PROCESSING(SSobj, src)
GLOB.poi_list |= src
+1 -1
View File
@@ -48,7 +48,7 @@
var/datum/action/innate/minedrone/dump_ore/dump_ore_action
/mob/living/simple_animal/hostile/mining_drone/Initialize()
..()
. = ..()
toggle_light_action = new()
toggle_light_action.Grant(src)
toggle_mode_action = new()
+2 -2
View File
@@ -295,7 +295,7 @@
qdel(src)
/obj/item/ore/Initialize()
..()
. = ..()
pixel_x = rand(0,16)-8
pixel_y = rand(0,8)-8
@@ -322,7 +322,7 @@
var/value = 1
/obj/item/coin/Initialize()
..()
. = ..()
pixel_x = rand(0,16)-8
pixel_y = rand(0,8)-8