This commit is contained in:
kevinz000
2018-12-06 18:34:37 -08:00
parent 8f946a39b4
commit c2c688c4c8
210 changed files with 296 additions and 296 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
var/datum/ai_holder/ai_holder = null
var/ai_holder_type = null // Which ai_holder datum to give to the mob when initialized. If null, nothing happens.
/mob/living/initialize()
/mob/living/Initialize()
if(ai_holder_type)
ai_holder = new ai_holder_type(src)
return ..()
+1 -1
View File
@@ -9,7 +9,7 @@
var/datum/say_list/say_list = null
var/say_list_type = /datum/say_list // Type to give us on initialization. Default has empty lists, so the mob will be silent.
/mob/living/initialize()
/mob/living/Initialize()
if(say_list_type)
say_list = new say_list_type(src)
return ..()
+1 -1
View File
@@ -26,7 +26,7 @@
var/species = SPECIES_HUMAN
delete_me = TRUE
/obj/effect/landmark/corpse/initialize()
/obj/effect/landmark/corpse/Initialize()
..()
createCorpse()
return INITIALIZE_HINT_QDEL
+3 -3
View File
@@ -8,7 +8,7 @@
var/active = 0
/obj/machinery/gateway/initialize()
/obj/machinery/gateway/Initialize()
update_icon()
if(dir == SOUTH)
density = 0
@@ -34,7 +34,7 @@
var/wait = 0 //this just grabs world.time at world start
var/obj/machinery/gateway/centeraway/awaygate = null
/obj/machinery/gateway/centerstation/initialize()
/obj/machinery/gateway/centerstation/Initialize()
update_icon()
wait = world.time + config.gateway_delay //+ thirty minutes default
awaygate = locate(/obj/machinery/gateway/centeraway)
@@ -149,7 +149,7 @@ obj/machinery/gateway/centerstation/process()
var/obj/machinery/gateway/centeraway/stationgate = null
/obj/machinery/gateway/centeraway/initialize()
/obj/machinery/gateway/centeraway/Initialize()
update_icon()
stationgate = locate(/obj/machinery/gateway/centerstation)
. = ..()
+1 -1
View File
@@ -5,7 +5,7 @@
var/lootdoubles = 0 //if the same item can be spawned twice
var/loot = "" //a list of possible items to spawn- a string of paths
/obj/effect/spawner/lootdrop/initialize()
/obj/effect/spawner/lootdrop/Initialize()
..()
var/list/things = params2list(loot)
+1 -1
View File
@@ -12,7 +12,7 @@
siemens_coefficient = 1 //Set to a default of 1, gets overridden in initialize()
permeability_coefficient = 0.05
/obj/item/clothing/gloves/fyellow/initialize()
/obj/item/clothing/gloves/fyellow/Initialize()
. = ..()
//Picks a value between 0 and 1, in 5% increments
var/shock_pick = rand(0,20)
+1 -1
View File
@@ -23,7 +23,7 @@
var/list/raw_images
var/last_status
/obj/item/clothing/head/pilot/initialize()
/obj/item/clothing/head/pilot/Initialize()
. = ..()
images = list()
+1 -1
View File
@@ -51,7 +51,7 @@
else
return "vanilla"
/obj/machinery/icecream_vat/initialize()
/obj/machinery/icecream_vat/Initialize()
. = ..()
create_reagents(100)
while(product_types.len < 6)
+1 -1
View File
@@ -104,7 +104,7 @@
base_icon = 'icons/turf/flooring/asteroid.dmi'
initial_flooring = null
/turf/simulated/floor/holofloor/desert/initialize()
/turf/simulated/floor/holofloor/desert/Initialize()
. = ..()
if(prob(10))
add_overlay("asteroid[rand(0,9)]")
+1 -1
View File
@@ -38,7 +38,7 @@
SSholomaps.station_holomaps += src
flags |= ON_BORDER // Why? It doesn't help if its not density
/obj/machinery/station_map/initialize()
/obj/machinery/station_map/Initialize()
. = ..()
if(SSholomaps.holomaps_initialized)
spawn(1) // Tragically we need to spawn this in order to give the frame construcing us time to set pixel_x/y
+2 -2
View File
@@ -13,7 +13,7 @@ GLOBAL_LIST_BOILERPLATE(all_seed_packs, /obj/item/seeds)
var/datum/seed/seed
var/modified = 0
/obj/item/seeds/initialize()
/obj/item/seeds/Initialize()
update_seed()
. = ..()
@@ -75,7 +75,7 @@ GLOBAL_LIST_BOILERPLATE(all_seed_packs, /obj/item/seeds)
/obj/item/seeds/random
seed_type = null
/obj/item/seeds/random/initialize()
/obj/item/seeds/random/Initialize()
seed = plant_controller.create_random_seed()
seed_type = seed.name
. = ..()
+1 -1
View File
@@ -165,7 +165,7 @@
nymph.visible_message("<font color='blue'><b>[nymph]</b> rolls around in [src] for a bit.</font>","<font color='blue'>You roll around in [src] for a bit.</font>")
return
/obj/machinery/portable_atmospherics/hydroponics/initialize()
/obj/machinery/portable_atmospherics/hydroponics/Initialize()
. = ..()
temp_chem_holder = new()
temp_chem_holder.create_reagents(10)
@@ -20,7 +20,7 @@
var/detail_color = COLOR_ASSEMBLY_BLACK
/obj/item/device/electronic_assembly/initialize()
/obj/item/device/electronic_assembly/Initialize()
battery = new(src)
processing_objects |= src
return ..()
@@ -108,7 +108,7 @@
icon_state = "circuitry"
worn_state = "circuitry"
/obj/item/clothing/under/circuitry/initialize()
/obj/item/clothing/under/circuitry/Initialize()
setup_integrated_circuit(/obj/item/device/electronic_assembly/clothing)
return ..()
@@ -121,7 +121,7 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/gloves/circuitry/initialize()
/obj/item/clothing/gloves/circuitry/Initialize()
setup_integrated_circuit(/obj/item/device/electronic_assembly/clothing/small)
return ..()
@@ -134,7 +134,7 @@
icon_state = "circuitry"
item_state = "night" // The on-mob sprite would be identical anyways.
/obj/item/clothing/glasses/circuitry/initialize()
/obj/item/clothing/glasses/circuitry/Initialize()
setup_integrated_circuit(/obj/item/device/electronic_assembly/clothing/small)
return ..()
@@ -146,7 +146,7 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/shoes/circuitry/initialize()
/obj/item/clothing/shoes/circuitry/Initialize()
setup_integrated_circuit(/obj/item/device/electronic_assembly/clothing/small)
return ..()
@@ -158,7 +158,7 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/head/circuitry/initialize()
/obj/item/clothing/head/circuitry/Initialize()
setup_integrated_circuit(/obj/item/device/electronic_assembly/clothing/small)
return ..()
@@ -170,7 +170,7 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/ears/circuitry/initialize()
/obj/item/clothing/ears/circuitry/Initialize()
setup_integrated_circuit(/obj/item/device/electronic_assembly/clothing/small)
return ..()
@@ -182,6 +182,6 @@
icon_state = "circuitry"
item_state = "circuitry"
/obj/item/clothing/suit/circuitry/initialize()
/obj/item/clothing/suit/circuitry/Initialize()
setup_integrated_circuit(/obj/item/device/electronic_assembly/clothing/large)
return ..()
@@ -25,7 +25,7 @@
"hot pink" = COLOR_ASSEMBLY_HOT_PINK
)
/obj/item/device/integrated_electronics/detailer/initialize()
/obj/item/device/integrated_electronics/detailer/Initialize()
update_icon()
return ..()
@@ -191,7 +191,7 @@
var/obj/machinery/power/circuit_io/IO = null // Dummy power machine to move energy in/out without a bunch of code duplication.
var/throughput = 10000 // Give/take up to 10kW.
/obj/item/integrated_circuit/passive/power/powernet/initialize()
/obj/item/integrated_circuit/passive/power/powernet/Initialize()
IO = new(src)
return ..()
@@ -353,7 +353,7 @@
var/code = 30
var/datum/radio_frequency/radio_connection
/obj/item/integrated_circuit/input/signaler/initialize()
/obj/item/integrated_circuit/input/signaler/Initialize()
. = ..()
set_frequency(frequency)
// Set the pins so when someone sees them, they won't show as null
+1 -1
View File
@@ -19,7 +19,7 @@
density = 1
opacity = 1
/obj/structure/bookcase/initialize()
/obj/structure/bookcase/Initialize()
. = ..()
for(var/obj/item/I in loc)
if(istype(I, /obj/item/weapon/book))
+1 -1
View File
@@ -18,7 +18,7 @@
var/needs_update = FALSE
/atom/movable/lighting_overlay/initialize()
/atom/movable/lighting_overlay/Initialize()
// doesn't need special init
initialized = TRUE
return INITIALIZE_HINT_NORMAL
+1 -1
View File
@@ -7,7 +7,7 @@
var/datum/codex_tree/tree = null
var/root_type = /datum/lore/codex/category/main_vir_lore //Runtimes on codex_tree.dm, line 18 with a null here
/obj/item/weapon/book/codex/initialize()
/obj/item/weapon/book/codex/Initialize()
tree = new(src, root_type)
. = ..()
+1 -1
View File
@@ -158,7 +158,7 @@ var/global/list/total_extraction_beacons = list()
density = FALSE
var/beacon_network = "station"
/obj/structure/extraction_point/initialize()
/obj/structure/extraction_point/Initialize()
. = ..()
name += " ([rand(100,999)]) ([get_area_name(src, TRUE)])"
global.total_extraction_beacons += src
+2 -2
View File
@@ -16,7 +16,7 @@
var/obj/machinery/mineral/processing_unit/machine = null
var/show_all_ores = FALSE
/obj/machinery/mineral/processing_unit_console/initialize()
/obj/machinery/mineral/processing_unit_console/Initialize()
. = ..()
src.machine = locate(/obj/machinery/mineral/processing_unit) in range(5, src)
if (machine)
@@ -192,7 +192,7 @@
ores_processing[OD.name] = 0
ores_stored[OD.name] = 0
/obj/machinery/mineral/processing_unit/initialize()
/obj/machinery/mineral/processing_unit/Initialize()
. = ..()
// TODO - Eschew input/output machinery and just use dirs ~Leshana
//Locate our output and input machinery.
+1 -1
View File
@@ -121,7 +121,7 @@ var/list/mining_overlay_cache = list()
//Cache hit
return mining_overlay_cache["[cache_id]_[direction]"]
/turf/simulated/mineral/initialize()
/turf/simulated/mineral/Initialize()
. = ..()
if(prob(20))
overlay_detail = "asteroid[rand(0,9)]"
@@ -44,7 +44,7 @@
src.equipment_path = path
src.cost = cost
/obj/machinery/power/quantumpad/initialize()
/obj/machinery/power/quantumpad/Initialize()
. = ..()
default_apply_parts()
+2 -2
View File
@@ -57,7 +57,7 @@
mouse_opacity = 0
var/resonance_damage = 20
/obj/effect/resonance/initialize(mapload, var/creator = null, var/timetoburst)
/obj/effect/resonance/Initialize(mapload, var/creator = null, var/timetoburst)
. = ..()
// Start small and grow to big size as we are about to burst
transform = matrix()*0.75
@@ -101,7 +101,7 @@
layer = ABOVE_MOB_LAYER
duration = 4
/obj/effect/temp_visual/resonance_crush/initialize()
/obj/effect/temp_visual/resonance_crush/Initialize()
. = ..()
transform = matrix()*1.5
animate(src, transform = matrix()*0.1, alpha = 50, time = 4)
+1 -1
View File
@@ -52,7 +52,7 @@
access_scanner.req_one_access = req_one_access.Copy()
// Make sure mapped in units start turned on.
/mob/living/bot/initialize()
/mob/living/bot/Initialize()
. = ..()
if(on)
turn_on() // Update lights and other stuff
+1 -1
View File
@@ -797,7 +797,7 @@ var/list/ai_verbs_default = list(
/mob/living/silicon/ai/announcer/
is_dummy = 1
/mob/living/silicon/ai/announcer/initialize()
/mob/living/silicon/ai/announcer/Initialize()
. = ..()
mob_list -= src
living_mob_list -= src
@@ -66,7 +66,7 @@
var/attempt_open = 0
// Pickup loot
/mob/living/simple_animal/hostile/mimic/crate/initialize()
/mob/living/simple_animal/hostile/mimic/crate/Initialize()
. = ..()
for(var/obj/item/I in loc)
I.forceMove(src)
@@ -27,7 +27,7 @@
icon_living = "rainbow baby slime"
icon_dead = "rainbow baby slime dead"
/mob/living/simple_animal/slime/science/initialize()
/mob/living/simple_animal/slime/science/Initialize()
. = ..()
overlays.Cut()
overlays += "aslime-:33"
@@ -150,7 +150,7 @@
var/supernatural = FALSE // Ditto.
/mob/living/simple_mob/initialize()
/mob/living/simple_mob/Initialize()
verbs -= /mob/verb/observe
health = maxHealth
@@ -45,7 +45,7 @@
if(mind)
borers.add_antagonist(mind)
/mob/living/simple_mob/animal/borer/initialize()
/mob/living/simple_mob/animal/borer/Initialize()
add_language("Cortical Link")
verbs += /mob/living/proc/ventcrawl
@@ -26,7 +26,7 @@
var/swarmling_faction = "spiders"
var/swarmling_prob = 10 // Odds that a spiderling will be a swarmling instead.
/mob/living/simple_mob/animal/giant_spider/carrier/initialize()
/mob/living/simple_mob/animal/giant_spider/carrier/Initialize()
spiderling_count = rand(5, 10)
adjust_scale(1.2)
return ..()
@@ -16,6 +16,6 @@
poison_per_bite = 5
poison_type = "condensedcapsaicin_v"
/mob/living/simple_mob/animal/giant_spider/pepper/initialize()
/mob/living/simple_mob/animal/giant_spider/pepper/Initialize()
adjust_scale(1.1)
return ..()
@@ -30,7 +30,7 @@
var/explosion_delay_lower = 1 SECOND // Lower bound for explosion delay.
var/explosion_delay_upper = 2 SECONDS // Upper bound.
/mob/living/simple_mob/animal/giant_spider/phorogenic/initialize()
/mob/living/simple_mob/animal/giant_spider/phorogenic/Initialize()
adjust_scale(1.25)
return ..()
@@ -103,7 +103,7 @@
icon_dead = "kitten_dead"
gender = NEUTER
/mob/living/simple_mob/animal/passive/cat/kitten/initialize()
/mob/living/simple_mob/animal/passive/cat/kitten/Initialize()
if(gender == NEUTER)
gender = pick(MALE, FEMALE)
return ..()
@@ -94,7 +94,7 @@
if(my_headset)
to_chat(user, "It is wearing \a [my_headset].")
/mob/living/simple_mob/animal/passive/bird/parrot/initialize()
/mob/living/simple_mob/animal/passive/bird/parrot/Initialize()
if(my_headset)
my_headset = new my_headset(src)
return ..()
@@ -134,7 +134,7 @@
icon_dead = "eclectus-dead"
tt_desc = "E Eclectus roratus"
/mob/living/simple_mob/animal/passive/bird/parrot/eclectus/initialize()
/mob/living/simple_mob/animal/passive/bird/parrot/eclectus/Initialize()
gender = pick(MALE, FEMALE)
if(gender == FEMALE)
icon_state = "eclectusf"
@@ -60,7 +60,7 @@
// Variant that automatically commands nearby allies to follow it when created.
// Suggested to spawn last so it can rally up all the shantaks easily before hunting for tasty explorers.
/mob/living/simple_mob/animal/sif/shantak/leader/autofollow/initialize()
/mob/living/simple_mob/animal/sif/shantak/leader/autofollow/Initialize()
rally_pack()
return ..()
@@ -102,7 +102,7 @@
mob_class = MOB_CLASS_PHOTONIC // Xeno-taser won't work on this as its not a 'real' carp.
/mob/living/simple_mob/animal/space/carp/holographic/initialize()
/mob/living/simple_mob/animal/space/carp/holographic/Initialize()
set_light(2) // Hologram lighting.
return ..()
@@ -46,7 +46,7 @@
melee_damage_lower = 1
melee_damage_upper = 2
/mob/living/simple_mob/blob/spore/initialize(mapload, var/obj/structure/blob/factory/my_factory)
/mob/living/simple_mob/blob/spore/Initialize(mapload, var/obj/structure/blob/factory/my_factory)
if(istype(my_factory))
factory = my_factory
factory.spores += src
@@ -33,7 +33,7 @@
var/datum/effect/effect/system/ion_trail_follow/ion_trail = null
var/obj/item/shield_projector/shields = null
/mob/living/simple_mob/mechanical/combat_drone/initialize()
/mob/living/simple_mob/mechanical/combat_drone/Initialize()
ion_trail = new
ion_trail.set_up(src)
ion_trail.start()
@@ -54,7 +54,7 @@
"haste" = /obj/item/weapon/spell/modifier/haste
)
/mob/living/simple_mob/mechanical/technomancer_golem/initialize()
/mob/living/simple_mob/mechanical/technomancer_golem/Initialize()
core = new(src)
return ..()
@@ -46,7 +46,7 @@
// Variant that automatically commands nearby allies to follow it when created.
// Useful to avoid having to manually set follow to a lot of hivebots that are gonna die in the next minute anyways.
/mob/living/simple_mob/mechanical/hivebot/support/commander/autofollow/initialize()
/mob/living/simple_mob/mechanical/hivebot/support/commander/autofollow/Initialize()
for(var/mob/living/L in hearers(7, src))
if(!L.ai_holder)
continue
@@ -48,6 +48,6 @@
set_defense_mode(!defense_mode)
// Variant that starts in defense mode, perhaps for PoIs.
/mob/living/simple_mob/mechanical/mecha/combat/durand/defensive/initialize()
/mob/living/simple_mob/mechanical/mecha/combat/durand/defensive/Initialize()
set_defense_mode(TRUE)
return ..()
@@ -17,7 +17,7 @@
/mob/living/simple_mob/mechanical/mecha/hoverpod/manned
pilot_type = /mob/living/simple_mob/humanoid/merc/ranged
/mob/living/simple_mob/mechanical/mecha/hoverpod/initialize()
/mob/living/simple_mob/mechanical/mecha/hoverpod/Initialize()
ion_trail = new /datum/effect/effect/system/ion_trail_follow()
ion_trail.set_up(src)
ion_trail.start()
@@ -40,7 +40,7 @@
var/has_repair_droid = FALSE // If true, heals 2 damage every tick and gets a repair droid overlay.
/mob/living/simple_mob/mechanical/mecha/initialize()
/mob/living/simple_mob/mechanical/mecha/Initialize()
sparks = new (src)
sparks.set_up(3, 1, src)
sparks.attach(src)
@@ -69,7 +69,7 @@
emote_see = list("bounces", "jiggles", "sways")
emote_hear = list("squishes")
/mob/living/simple_mob/slime/initialize()
/mob/living/simple_mob/slime/Initialize()
verbs += /mob/living/proc/ventcrawl
update_mood()
glow_color = color
@@ -400,7 +400,7 @@
/mob/living/simple_mob/slime/xenobio/ruby
)
/mob/living/simple_mob/slime/xenobio/ruby/initialize()
/mob/living/simple_mob/slime/xenobio/ruby/Initialize()
add_modifier(/datum/modifier/slime_strength, null, src) // Slime is always swole.
return ..()
@@ -766,7 +766,7 @@
/mob/living/simple_mob/slime/xenobio/rainbow
)
/mob/living/simple_mob/slime/xenobio/rainbow/initialize()
/mob/living/simple_mob/slime/xenobio/rainbow/Initialize()
unify()
return ..()
@@ -779,6 +779,6 @@
// Instead lets just give them an ai_holder that does that for us.
ai_holder_type = /datum/ai_holder/simple_mob/xenobio_slime/passive
/mob/living/simple_mob/slime/xenobio/rainbow/kendrick/initialize()
/mob/living/simple_mob/slime/xenobio/rainbow/kendrick/Initialize()
pacify() // So the physical mob also gets made harmless.
return ..()
@@ -20,7 +20,7 @@
var/number = 0 // This is used to make the slime semi-unique for indentification.
var/harmless = FALSE // Set to true when pacified. Makes the slime harmless, not get hungry, and not be able to grow/reproduce.
/mob/living/simple_mob/slime/xenobio/initialize(mapload, var/mob/living/simple_mob/slime/xenobio/my_predecessor)
/mob/living/simple_mob/slime/xenobio/Initialize(mapload, var/mob/living/simple_mob/slime/xenobio/my_predecessor)
ASSERT(ispath(ai_holder_type, /datum/ai_holder/simple_mob/xenobio_slime))
number = rand(1, 1000)
update_name()
+1 -1
View File
@@ -7,7 +7,7 @@ var/obj/effect/lobby_image = new /obj/effect/lobby_image
desc = "How are you reading this?"
screen_loc = "1,1"
/obj/effect/lobby_image/initialize()
/obj/effect/lobby_image/Initialize()
icon = using_map.lobby_icon
var/known_icon_states = icon_states(icon)
for(var/lobby_screen in using_map.lobby_screens)
+1 -1
View File
@@ -100,7 +100,7 @@
var/obj/effect/hoist_hook/source_hook
description_info = "Click this to raise or lower the hoist, or to switch directions if it can't move any further. It can also be collapsed into a hoist kit."
/obj/structure/hoist/initialize(mapload, ndir)
/obj/structure/hoist/Initialize(mapload, ndir)
. = ..()
dir = ndir
var/turf/newloc = get_step(src, dir)
+2 -2
View File
@@ -17,7 +17,7 @@
var/const/climb_time = 2 SECONDS
/obj/structure/ladder/initialize()
/obj/structure/ladder/Initialize()
. = ..()
// the upper will connect to the lower
if(allowed_directions & DOWN) //we only want to do the top one, as it will initialize the ones before it.
@@ -131,7 +131,7 @@
opacity = 0
anchored = 1
/obj/structure/stairs/initialize()
/obj/structure/stairs/Initialize()
. = ..()
for(var/turf/turf in locs)
var/turf/simulated/open/above = GetAbove(turf)
+1 -1
View File
@@ -34,7 +34,7 @@
..()
update()
/turf/simulated/open/initialize()
/turf/simulated/open/Initialize()
. = ..()
ASSERT(HasBelow(z))
update()
@@ -8,7 +8,7 @@
var/list/engines = list()
var/obj/effect/map/ship/linked
/obj/machinery/computer/engines/initialize()
/obj/machinery/computer/engines/Initialize()
. = ..()
linked = map_sectors["[z]"]
if (linked)
+1 -1
View File
@@ -10,7 +10,7 @@
var/dx //desitnation
var/dy //coordinates
/obj/machinery/computer/helm/initialize()
/obj/machinery/computer/helm/Initialize()
. = ..()
linked = map_sectors["[z]"]
if (linked)
@@ -8,7 +8,7 @@
var/obj/effect/map/destination //current destination
var/obj/effect/map/home //current destination
/obj/machinery/computer/shuttle_control/explore/initialize()
/obj/machinery/computer/shuttle_control/explore/Initialize()
. = ..()
home = map_sectors["[z]"]
shuttle_tag = "[shuttle_tag]-[z]"
@@ -53,7 +53,7 @@
var/effective_pressure = 3000
var/datum/ship_engine/thermal/controller
/obj/machinery/atmospherics/unary/engine/initialize()
/obj/machinery/atmospherics/unary/engine/Initialize()
. = ..()
controller = new(src)
+1 -1
View File
@@ -14,7 +14,7 @@
var/obj/machinery/computer/helm/nav_control
var/obj/machinery/computer/engines/eng_control
/obj/effect/map/ship/initialize()
/obj/effect/map/ship/Initialize()
. = ..()
for(var/obj/machinery/computer/engines/E in machines)
if (E.z == map_z)
+1 -1
View File
@@ -25,7 +25,7 @@
icon_state = "tallcabinet"
/obj/structure/filingcabinet/initialize()
/obj/structure/filingcabinet/Initialize()
for(var/obj/item/I in loc)
if(istype(I, /obj/item/weapon/paper) || istype(I, /obj/item/weapon/folder) || istype(I, /obj/item/weapon/photo) || istype(I, /obj/item/weapon/paper_bundle))
I.loc = src
+2 -2
View File
@@ -27,7 +27,7 @@
for(var/datum/nano_module/rcon/R in world)
R.FindDevices()
/obj/machinery/power/breakerbox/initialize()
/obj/machinery/power/breakerbox/Initialize()
. = ..()
default_apply_parts()
@@ -35,7 +35,7 @@
icon_state = "bbox_on"
// Enabled on server startup. Used in substations to keep them in bypass mode.
/obj/machinery/power/breakerbox/activated/initialize()
/obj/machinery/power/breakerbox/activated/Initialize()
. = ..()
set_state(1)
+1 -1
View File
@@ -20,7 +20,7 @@
maxcharge = 2400
charge_amount = 20
/obj/item/weapon/cell/device/weapon/empty/initialize()
/obj/item/weapon/cell/device/weapon/empty/Initialize()
. = ..()
charge = 0
update_icon()
+1 -1
View File
@@ -102,7 +102,7 @@
var/amount = 100
var/used = FALSE
/obj/item/device/fbp_backup_cell/initialize()
/obj/item/device/fbp_backup_cell/Initialize()
overlays += image(icon,"[icon_state]1")
/obj/item/device/fbp_backup_cell/attack(mob/living/M as mob, mob/user as mob)
+2 -2
View File
@@ -27,12 +27,12 @@ var/list/fusion_cores = list()
/obj/machinery/power/fusion_core/mapped
anchored = 1
/obj/machinery/power/fusion_core/initialize()
/obj/machinery/power/fusion_core/Initialize()
. = ..()
fusion_cores += src
default_apply_parts()
/obj/machinery/power/fusion_core/mapped/initialize()
/obj/machinery/power/fusion_core/mapped/Initialize()
. = ..()
connect_to_network()
@@ -17,7 +17,7 @@
fuel_colour = _colour
..(newloc)
/obj/item/weapon/fuel_assembly/initialize()
/obj/item/weapon/fuel_assembly/Initialize()
. = ..()
var/material/material = get_material_by_name(fuel_type)
if(istype(material))
@@ -7,7 +7,7 @@
circuit = /obj/item/weapon/circuitboard/fusion_fuel_compressor
/obj/machinery/fusion_fuel_compressor/initialize()
/obj/machinery/fusion_fuel_compressor/Initialize()
. = ..()
default_apply_parts()
@@ -18,7 +18,7 @@ var/list/fuel_injectors = list()
var/injecting = 0
var/obj/item/weapon/fuel_assembly/cur_assembly
/obj/machinery/fusion_fuel_injector/initialize()
/obj/machinery/fusion_fuel_injector/Initialize()
. = ..()
fuel_injectors += src
default_apply_parts()
@@ -20,7 +20,7 @@ var/list/gyrotrons = list()
anchored = 1
state = 2
/obj/machinery/power/emitter/gyrotron/initialize()
/obj/machinery/power/emitter/gyrotron/Initialize()
gyrotrons += src
active_power_usage = mega_energy * 50000
default_apply_parts()
+1 -1
View File
@@ -110,7 +110,7 @@
var/temperature = 0 //The current temperature
var/overheating = 0 //if this gets high enough the generator explodes
/obj/machinery/power/port_gen/pacman/initialize()
/obj/machinery/power/port_gen/pacman/Initialize()
. = ..()
if(anchored)
connect_to_network()
+1 -1
View File
@@ -41,7 +41,7 @@
src.set_dir(turn(src.dir, 90))
return 1
/obj/machinery/power/emitter/initialize()
/obj/machinery/power/emitter/Initialize()
. = ..()
if(state == 2 && anchored)
connect_to_network()
+2 -2
View File
@@ -25,7 +25,7 @@ GLOBAL_LIST_EMPTY(solars_list)
/obj/machinery/power/solar/drain_power()
return -1
/obj/machinery/power/solar/initialize(mapload, obj/item/solar_assembly/S)
/obj/machinery/power/solar/Initialize(mapload, obj/item/solar_assembly/S)
. = ..()
Make(S)
connect_to_network()
@@ -347,7 +347,7 @@ GLOBAL_LIST_EMPTY(solars_list)
updateDialog()
/obj/machinery/power/solar_control/initialize()
/obj/machinery/power/solar_control/Initialize()
. = ..()
if(!powernet) return
set_panels(cdir)
+1 -1
View File
@@ -25,7 +25,7 @@
..()
wires = new(src)
/obj/machinery/power/tesla_coil/initialize()
/obj/machinery/power/tesla_coil/Initialize()
. = ..()
default_apply_parts()
+1 -1
View File
@@ -27,7 +27,7 @@
..()
miniball = is_miniball
/obj/singularity/energy_ball/initialize()
/obj/singularity/energy_ball/Initialize()
. = ..()
if(!miniball)
set_light(10, 7, "#EEEEFF")
+3 -3
View File
@@ -85,7 +85,7 @@
#define COMPFRICTION 5e5
#define COMPSTARTERLOAD 2800
/obj/machinery/compressor/initialize()
/obj/machinery/compressor/Initialize()
. = ..()
default_apply_parts()
gas_contained = new()
@@ -194,7 +194,7 @@
#define TURBGENQ 100000
#define TURBGENG 0.8
/obj/machinery/power/turbine/initialize()
/obj/machinery/power/turbine/Initialize()
. = ..()
default_apply_parts()
// The outlet is pointed at the direction of the turbine component
@@ -318,7 +318,7 @@
// Turbine Computer
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/obj/machinery/computer/turbine_computer/initialize()
/obj/machinery/computer/turbine_computer/Initialize()
. = ..()
return INITIALIZE_HINT_LATELOAD
+1 -1
View File
@@ -15,7 +15,7 @@
var/fired_dir = null // Which direction was the projectile fired towards. Needed to invert the projectile turning based on if facing left or right.
var/obj/effect/projectile_shadow/shadow = null // Visual indicator for the projectile's 'true' position. Needed due to being bound to two dimensions in reality.
/obj/item/projectile/arc/initialize()
/obj/item/projectile/arc/Initialize()
shadow = new(get_turf(src))
return ..()
+2 -2
View File
@@ -23,7 +23,7 @@
id = "round_end_belt"
// create a conveyor
/obj/machinery/conveyor/initialize(mapload, newdir, on = 0)
/obj/machinery/conveyor/Initialize(mapload, newdir, on = 0)
. = ..()
if(newdir)
set_dir(newdir)
@@ -183,7 +183,7 @@
/obj/machinery/conveyor_switch/initialize()
/obj/machinery/conveyor_switch/Initialize()
..()
update()
return INITIALIZE_HINT_LATELOAD
+1 -1
View File
@@ -113,7 +113,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
S.update_connections()
break
/obj/machinery/computer/rdconsole/initialize()
/obj/machinery/computer/rdconsole/Initialize()
SyncRDevices()
. = ..()
+1 -1
View File
@@ -33,7 +33,7 @@
tot_rating += SP.rating
idle_power_usage /= max(1, tot_rating)
/obj/machinery/r_n_d/server/initialize()
/obj/machinery/r_n_d/server/Initialize()
. = ..()
if(!files)
files = new /datum/research(src)
+1 -1
View File
@@ -29,7 +29,7 @@
desc = "A machine that generates a field of energy optimized for blocking meteorites when activated. This version comes with a more efficent shield matrix."
energy_conversion_rate = 0.0012
/obj/machinery/shield_gen/initialize()
/obj/machinery/shield_gen/Initialize()
if(anchored)
for(var/obj/machinery/shield_capacitor/cap in range(1, src))
if(!cap.anchored)
+1 -1
View File
@@ -83,7 +83,7 @@
/obj/machinery/embedded_controller/radio/simple_docking_controller/escape_pod_berth
name = "escape pod berth controller"
/obj/machinery/embedded_controller/radio/simple_docking_controller/escape_pod_berth/initialize()
/obj/machinery/embedded_controller/radio/simple_docking_controller/escape_pod_berth/Initialize()
. = ..()
docking_program = new/datum/computer/file/embedded_program/docking/simple/escape_pod(src)
program = docking_program
+2 -2
View File
@@ -162,7 +162,7 @@
var/list/my_doors //Should be list("id_tag" = "Pretty Door Name", ...)
var/list/my_sensors //Should be list("id_tag" = "Pretty Sensor Name", ...)
/obj/machinery/computer/shuttle_control/web/initialize()
/obj/machinery/computer/shuttle_control/web/Initialize()
. = ..()
var/area/my_area = get_area(src)
if(my_doors)
@@ -472,7 +472,7 @@
var/shuttle_name //Text name of the shuttle to connect to
var/list/destinations //Make sure this STARTS with a destination that builds a route to one that always exists as an anchor.
/obj/shuttle_connector/initialize()
/obj/shuttle_connector/Initialize()
. = ..()
SSshuttles.OnDocksInitialized(CALLBACK(src, .proc/setup_routes))
+1 -1
View File
@@ -57,7 +57,7 @@
/obj/structure/table/blob_act()
take_damage(100)
/obj/structure/table/initialize()
/obj/structure/table/Initialize()
. = ..()
// One table per turf.
+1 -1
View File
@@ -22,7 +22,7 @@
turbolifts += src
..()
/obj/turbolift_map_holder/initialize()
/obj/turbolift_map_holder/Initialize()
. = ..()
// Create our system controller.
var/datum/turbolift/lift = new()
+1 -1
View File
@@ -22,7 +22,7 @@
//-------------------------------------------
// Standard procs
//-------------------------------------------
/obj/vehicle/train/initialize()
/obj/vehicle/train/Initialize()
. = ..()
for(var/obj/vehicle/train/T in orange(1, src))
latch(T)
@@ -7,7 +7,7 @@
var/obj/machinery/artifact/contained
/obj/structure/anomaly_container/initialize()
/obj/structure/anomaly_container/Initialize()
. = ..()
var/obj/machinery/artifact/A = locate() in loc
+1 -1
View File
@@ -41,7 +41,7 @@
/obj/structure/bookcase/manuals/xenoarchaeology
name = "Xenoarchaeology Manuals bookcase"
/obj/structure/bookcase/manuals/xenoarchaeology/initialize()
/obj/structure/bookcase/manuals/xenoarchaeology/Initialize()
. = ..()
new /obj/item/weapon/book/manual/excavation(src)
new /obj/item/weapon/book/manual/mass_spectrometry(src)
@@ -14,7 +14,7 @@
var/obj/scanned_object
var/report_num = 0
/obj/machinery/artifact_analyser/initialize()
/obj/machinery/artifact_analyser/Initialize()
. = ..()
reconnect_scanner()
+1 -1
View File
@@ -29,7 +29,7 @@
..()
/obj/item/weapon/melee/baton/slime/loaded/initialize()
/obj/item/weapon/melee/baton/slime/loaded/Initialize()
bcell = new/obj/item/weapon/cell/device(src)
update_icon()
return ..()