Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"

This commit is contained in:
Novacat
2022-08-27 08:49:56 -04:00
committed by GitHub
parent 0be7af4774
commit 1aa4c73e8d
599 changed files with 3329 additions and 4983 deletions
+5 -2
View File
@@ -41,8 +41,8 @@
var/frustration = 0
var/max_frustration = 0
/mob/living/bot/Initialize()
. = ..()
/mob/living/bot/New()
..()
update_icons()
default_language = GLOB.all_languages[LANGUAGE_GALCOM]
@@ -57,6 +57,9 @@
if(!using_map.bot_patrolling)
will_patrol = FALSE
// Make sure mapped in units start turned on.
/mob/living/bot/Initialize()
. = ..()
if(on)
turn_on() // Update lights and other stuff
+2 -2
View File
@@ -17,8 +17,8 @@
var/spray_blood = 0
var/list/target_types = list()
/mob/living/bot/cleanbot/Initialize()
. = ..()
/mob/living/bot/cleanbot/New()
..()
get_targets()
/mob/living/bot/cleanbot/Destroy()
+4 -4
View File
@@ -23,8 +23,8 @@
var/obj/structure/reagent_dispensers/watertank/tank
/mob/living/bot/farmbot/Initialize(var/ml, var/newTank)
. = ..(ml)
/mob/living/bot/farmbot/New(var/newloc, var/newTank)
..(newloc)
if(!newTank)
newTank = new /obj/structure/reagent_dispensers/watertank(src)
tank = newTank
@@ -338,8 +338,8 @@
w_class = ITEMSIZE_NORMAL
/obj/item/weapon/farmbot_arm_assembly/Initialize(var/ml, var/theTank)
. = ..(ml)
/obj/item/weapon/farmbot_arm_assembly/New(var/newloc, var/theTank)
..(newloc)
if(!theTank) // If an admin spawned it, it won't have a watertank it, so lets make one for em!
tank = new /obj/structure/reagent_dispensers/watertank(src)
else
+2 -2
View File
@@ -36,8 +36,8 @@
var/global/amount = 0
/mob/living/bot/mulebot/Initialize()
. = ..()
/mob/living/bot/mulebot/New()
..()
var/turf/T = get_turf(loc)
var/obj/machinery/navbeacon/N = locate() in T