mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user