More Initialize() garbage

This commit is contained in:
CitadelStationBot
2017-08-06 18:02:51 -05:00
parent 521c149627
commit 1b2efdcc1d
7 changed files with 20 additions and 20 deletions

View File

@@ -7,7 +7,7 @@
var/assembly_type
/obj/effect/spawner/newbomb/Initialize()
..()
. = ..()
var/obj/item/device/transfer_valve/V = new(src.loc)
var/obj/item/weapon/tank/internals/plasma/full/PT = new(V)
var/obj/item/weapon/tank/internals/oxygen/OT = new(V)

View File

@@ -9,7 +9,7 @@
var/state = 0
/obj/item/stack/tile/light/Initialize(mapload, new_amount, merge = TRUE)
..()
. = ..()
if(prob(5))
state = 3 //broken
else if(prob(5))
@@ -27,4 +27,4 @@
if(amount <= 0)
qdel(src)
else
return ..()
return ..()

View File

@@ -17,7 +17,7 @@
/turf/open/floor/plating/asteroid/Initialize()
var/proper_name = name
..()
. = ..()
name = proper_name
if(prob(floor_variance))
icon_state = "[environment_type][rand(0,12)]"
@@ -124,7 +124,7 @@
initial_gas_mix = "TEMP=2.7"
/turf/open/floor/plating/asteroid/basalt/Initialize()
..()
. = ..()
set_basalt_light(src)
/proc/set_basalt_light(turf/open/floor/B)

View File

@@ -8,7 +8,7 @@
icon_state = "alienpod1"
/turf/open/floor/plating/abductor/Initialize()
..()
. = ..()
icon_state = "alienpod[rand(1,9)]"
@@ -46,7 +46,7 @@
pixel_y = -4
pixel_x = -4
icon = smooth_icon
..()
. = ..()
/turf/open/floor/plating/ashplanet/break_tile()
return
@@ -74,7 +74,7 @@
/turf/open/floor/plating/ashplanet/wateryrock/Initialize()
icon_state = "[icon_state][rand(1, 9)]"
..()
. = ..()
/turf/open/floor/plating/beach
@@ -114,7 +114,7 @@
desc = "Like sand, but more <i>metal</i>."
/turf/open/floor/plating/ironsand/Initialize()
..()
. = ..()
icon_state = "ironsand[rand(1,15)]"
/turf/open/floor/plating/ironsand/burn_tile()

View File

@@ -44,14 +44,14 @@
/turf/open/floor/holofloor/asteroid/Initialize()
icon_state = "asteroid[rand(0, 12)]"
..()
. = ..()
/turf/open/floor/holofloor/basalt
name = "basalt"
icon_state = "basalt0"
/turf/open/floor/holofloor/basalt/Initialize()
..()
. = ..()
if(prob(15))
icon_state = "basalt[rand(0, 12)]"
set_basalt_light(src)
@@ -63,7 +63,7 @@
/turf/open/floor/holofloor/space/Initialize()
icon_state = SPACE_ICON_STATE // so realistic
..()
. = ..()
/turf/open/floor/holofloor/hyperspace
name = "hyperspace"
@@ -72,10 +72,10 @@
/turf/open/floor/holofloor/hyperspace/Initialize()
icon_state = "speedspace_ns_[(x + 5*y + (y%2+1)*7)%15+1]"
..()
. = ..()
/turf/open/floor/holofloor/hyperspace/ns/Initialize()
..()
. = ..()
icon_state = "speedspace_ns_[(x + 5*y + (y%2+1)*7)%15+1]"
/turf/open/floor/holofloor/carpet
@@ -89,7 +89,7 @@
canSmoothWith = null
/turf/open/floor/holofloor/carpet/Initialize()
..()
. = ..()
addtimer(CALLBACK(src, .proc/update_icon), 1)
/turf/open/floor/holofloor/carpet/update_icon()

View File

@@ -1,5 +1,5 @@
/obj/item/weapon/book/manual/random/Initialize()
..()
. = ..()
var/static/banned_books = list(/obj/item/weapon/book/manual/random, /obj/item/weapon/book/manual/nuclear, /obj/item/weapon/book/manual/wiki)
var/newtype = pick(subtypesof(/obj/item/weapon/book/manual) - banned_books)
new newtype(loc)
@@ -10,7 +10,7 @@
var/category = null
/obj/item/weapon/book/random/Initialize()
..()
. = ..()
create_random_books(amount, src.loc, TRUE, category)
qdel(src)
@@ -24,7 +24,7 @@
state = 2
/obj/structure/bookcase/random/Initialize(mapload)
..()
. = ..()
if(!book_count || !isnum(book_count))
update_icon()
return
@@ -77,7 +77,7 @@
var/ref_book_prob = 20
/obj/structure/bookcase/random/reference/Initialize(mapload)
..()
. = ..()
while(book_count > 0 && prob(ref_book_prob))
book_count--
new /obj/item/weapon/book/manual/random(src)

View File

@@ -51,7 +51,7 @@
icon_dead = "stickdog_dead"
/mob/living/simple_animal/hostile/stickman/Initialize(mapload, var/wizard_summoned)
..()
. = ..()
new /obj/effect/temp_visual/paper_scatter(src)
summoned_by_wizard = wizard_summoned