[TM FOR THE LOVE OF GOD] Makes a bunch of random things initialise. (#25539)

* I disabled my lunacy inhibitors

* Update code/game/objects/objs.dm

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
AffectedArc07
2024-06-12 22:53:58 +01:00
committed by GitHub
parent 3479f84437
commit b842e3909a
9 changed files with 31 additions and 36 deletions
+10 -11
View File
@@ -39,17 +39,6 @@
var/list/req_one_access = null
var/req_one_access_txt = "0"
/obj/New()
..()
if(obj_integrity == null)
obj_integrity = max_integrity
if(on_blueprints && isturf(loc))
var/turf/T = loc
if(force_blueprints)
T.add_blueprints(src)
else
T.add_blueprints_preround(src)
/obj/Initialize(mapload)
. = ..()
if(islist(armor))
@@ -61,6 +50,15 @@
if(sharp)
AddComponent(/datum/component/surgery_initiator)
if(obj_integrity == null)
obj_integrity = max_integrity
if(on_blueprints && isturf(loc))
var/turf/T = loc
if(force_blueprints)
T.add_blueprints(src)
else
T.add_blueprints_preround(src)
/obj/Topic(href, href_list, nowindow = FALSE, datum/ui_state/state = GLOB.default_state)
// Calling Topic without a corresponding window open causes runtime errors
if(!nowindow && ..())
@@ -86,6 +84,7 @@
if(!ismachinery(src))
if(!speed_process)
STOP_PROCESSING(SSobj, src) // TODO: Have a processing bitflag to reduce on unnecessary loops through the processing lists
// AA 2024-05-20 - processing var?????
else
STOP_PROCESSING(SSfastprocess, src)
return ..()