Some Initialize ports

This commit is contained in:
Cyberboss
2017-04-13 16:01:28 -04:00
parent 611ecb13fe
commit 4564df41f0
13 changed files with 35 additions and 35 deletions
+2 -2
View File
@@ -266,8 +266,8 @@ or shoot a gun to move around via Newton's 3rd Law of Motion."
icon_state = "no-servants-caches"
var/static/list/scripture_states = list(SCRIPTURE_DRIVER = TRUE, SCRIPTURE_SCRIPT = FALSE, SCRIPTURE_APPLICATION = FALSE, SCRIPTURE_REVENANT = FALSE, SCRIPTURE_JUDGEMENT = FALSE)
/obj/screen/alert/clockwork/scripture_reqs/New()
..()
/obj/screen/alert/clockwork/scripture_reqs/Initialize()
. = ..()
START_PROCESSING(SSprocessing, src)
process()
+2 -2
View File
@@ -80,8 +80,8 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
name = "Asteroid - Artifact"
icon_state = "cave"
/area/asteroid/artifactroom/New()
..()
/area/asteroid/artifactroom/Initialize()
. = ..()
set_dynamic_lighting()
/area/planet/clown
+1 -1
View File
@@ -25,7 +25,7 @@
var/lightswitch = 1
var/requires_power = 1
var/always_unpowered = 0 // This gets overriden to 1 for space in area/New().
var/always_unpowered = 0 // This gets overriden to 1 for space in area/Initialize().
var/outdoors = 0 //For space, the asteroid, lavaland, etc. Used with blueprints to determine if we are adding a new area (vs editing a station room)
+2 -2
View File
@@ -15,7 +15,7 @@
var/point_rate = 2
/obj/structure/blob/core/New(loc, client/new_overmind = null, new_rate = 2, placed = 0)
/obj/structure/blob/core/Initialize(mapload, client/new_overmind = null, new_rate = 2, placed = 0)
GLOB.blob_cores += src
START_PROCESSING(SSobj, src)
GLOB.poi_list |= src
@@ -25,7 +25,7 @@
if(overmind)
update_icon()
point_rate = new_rate
..()
. = ..()
/obj/structure/blob/core/scannerreport()
return "Directs the blob's expansion, gradually expands, and sustains nearby blob spores and blobbernauts."
+2 -2
View File
@@ -10,10 +10,10 @@
point_return = 25
/obj/structure/blob/node/New(loc)
/obj/structure/blob/node/Initialize()
GLOB.blob_nodes += src
START_PROCESSING(SSobj, src)
..()
. = ..()
/obj/structure/blob/node/scannerreport()
return "Gradually expands and sustains nearby blob spores and blobbernauts."
+2 -2
View File
@@ -21,14 +21,14 @@
var/mob/camera/blob/overmind
/obj/structure/blob/New(loc)
/obj/structure/blob/Initialize()
var/area/Ablob = get_area(loc)
if(Ablob.blob_allowed) //Is this area allowed for winning as blob?
GLOB.blobs_legit += src
GLOB.blobs += src //Keep track of the blob in the normal list either way
setDir(pick(GLOB.cardinal))
update_icon()
..()
.= ..()
ConsumeTile()
if(atmosblock)
CanAtmosPass = ATMOS_PASS_NO
@@ -11,8 +11,8 @@
// divided by healing_ticks to get heal/tick
var/total_healing = 100
/obj/effect/proc_holder/changeling/fleshmend/New()
..()
/obj/effect/proc_holder/changeling/fleshmend/Initialize()
. = ..()
START_PROCESSING(SSobj, src)
/obj/effect/proc_holder/changeling/fleshmend/Destroy()
@@ -162,8 +162,8 @@
sharpness = IS_SHARP
var/can_drop = FALSE
/obj/item/weapon/melee/arm_blade/New(location,silent,synthetic)
..()
/obj/item/weapon/melee/arm_blade/Initialize(mapload,silent,synthetic)
. = ..()
if(ismob(loc) && !silent)
loc.visible_message("<span class='warning'>A grotesque blade forms around [loc.name]\'s arm!</span>", "<span class='warning'>Our arm twists and mutates, transforming it into a deadly blade.</span>", "<span class='italics'>You hear organic matter ripping and tearing!</span>")
if(synthetic)
@@ -240,8 +240,8 @@
throw_range = 0
throw_speed = 0
/obj/item/weapon/gun/magic/tentacle/New(location,silent)
..()
/obj/item/weapon/gun/magic/tentacle/Initialize(mapload, silent)
. = ..()
if(ismob(loc))
if(!silent)
loc.visible_message("<span class='warning'>[loc.name]\'s arm starts stretching inhumanly!</span>", "<span class='warning'>Our arm twists and mutates, transforming it into a tentacle.</span>", "<span class='italics'>You hear organic matter ripping and tearing!</span>")
@@ -266,9 +266,9 @@
firing_effect_type = null
var/obj/item/weapon/gun/magic/tentacle/gun //the item that shot it
/obj/item/ammo_casing/magic/tentacle/New(obj/item/weapon/gun/magic/tentacle/tentacle_gun)
gun = tentacle_gun
..()
/obj/item/ammo_casing/magic/tentacle/Initialize()
gun = loc
. = ..()
/obj/item/ammo_casing/magic/tentacle/Destroy()
gun = null
@@ -285,9 +285,9 @@
var/chain
var/obj/item/ammo_casing/magic/tentacle/source //the item that shot it
/obj/item/projectile/tentacle/New(obj/item/ammo_casing/magic/tentacle/tentacle_casing)
source = tentacle_casing
..()
/obj/item/projectile/tentacle/Initialize()
source = loc
. = ..()
/obj/item/projectile/tentacle/fire(setAngle)
if(firer)
@@ -407,8 +407,8 @@
var/remaining_uses //Set by the changeling ability.
/obj/item/weapon/shield/changeling/New()
..()
/obj/item/weapon/shield/changeling/Initialize()
. = ..()
if(ismob(loc))
loc.visible_message("<span class='warning'>The end of [loc.name]\'s hand inflates rapidly, forming a huge shield-like mass!</span>", "<span class='warning'>We inflate our hand into a strong shield.</span>", "<span class='italics'>You hear organic matter ripping and tearing!</span>")
@@ -452,8 +452,8 @@
allowed = list(/obj/item/device/flashlight, /obj/item/weapon/tank/internals/emergency_oxygen, /obj/item/weapon/tank/internals/oxygen)
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0, fire = 90, acid = 90) //No armor at all.
/obj/item/clothing/suit/space/changeling/New()
..()
/obj/item/clothing/suit/space/changeling/Initialize()
. = ..()
if(ismob(loc))
loc.visible_message("<span class='warning'>[loc.name]\'s flesh rapidly inflates, forming a bloated mass around their body!</span>", "<span class='warning'>We inflate our flesh, creating a spaceproof suit!</span>", "<span class='italics'>You hear organic matter ripping and tearing!</span>")
START_PROCESSING(SSobj, src)
@@ -501,8 +501,8 @@
cold_protection = 0
heat_protection = 0
/obj/item/clothing/suit/armor/changeling/New()
..()
/obj/item/clothing/suit/armor/changeling/Initialize()
. = ..()
if(ismob(loc))
loc.visible_message("<span class='warning'>[loc.name]\'s flesh turns black, quickly transforming into a hard, chitinous mass!</span>", "<span class='warning'>We harden our flesh, creating a suit of armor!</span>", "<span class='italics'>You hear organic matter ripping and tearing!</span>")
+1 -1
View File
@@ -35,7 +35,7 @@
return ..()
/obj/machinery/computer/Initialize()
..()
. = ..()
power_change()
/obj/machinery/computer/process()
+1 -1
View File
@@ -127,7 +127,7 @@ Class Procs:
/obj/machinery/Initialize()
if (!armor)
armor = list(melee = 25, bullet = 10, laser = 10, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 50, acid = 70)
..()
. = ..()
GLOB.machines += src
if(!speed_process)
START_PROCESSING(SSmachines, src)
+2 -2
View File
@@ -119,8 +119,8 @@
hud_possible = list (DIAG_STAT_HUD, DIAG_BATT_HUD, DIAG_MECH_HUD, DIAG_TRACK_HUD)
/obj/mecha/New()
..()
/obj/mecha/Initialize()
. = ..()
events = new
icon_state += "-open"
add_radio()
+1 -1
View File
@@ -102,7 +102,7 @@ GLOBAL_DATUM_INIT(fire_overlay, /image, image("icon" = 'icons/effects/fire.dmi',
/obj/item/Initialize()
if (!materials)
materials = list()
..()
. = ..()
for(var/path in actions_types)
new path(src)
actions_types = null
+1 -1
View File
@@ -12,7 +12,7 @@
/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)
..()
. = ..()
if(smooth)
queue_smooth(src)
queue_smooth_neighbors(src)