Merge pull request #24132 from Cyberboss/LowLevelInitialize

Ports some low level New()s to Initialize
This commit is contained in:
Joan Lung
2017-02-17 20:52:17 -05:00
committed by GitHub
5 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ var/global/image/fire_overlay = image("icon" = 'icons/effects/fire.dmi', "icon_s
// non-clothing items
var/datum/dog_fashion/dog_fashion = null
/obj/item/New()
/obj/item/Initialize()
if (!materials)
materials = list()
..()
+1 -1
View File
@@ -28,7 +28,7 @@
var/unique_rename = 0 // can you customize the description/name of the thing?
/obj/New()
/obj/Initialize()
..()
if (!armor)
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 0, acid = 0)
+1 -1
View File
@@ -9,7 +9,7 @@
var/mob/structureclimber
var/broken = 0 //similar to machinery's stat BROKEN
/obj/structure/New()
/obj/structure/Initialize()
if (!armor)
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 50, acid = 50)
..()