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

@@ -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