/atom New() => Initialize() [MDB IGNORE] (#8298)

* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
This commit is contained in:
MistakeNot4892
2021-11-14 19:09:14 +11:00
committed by GitHub
parent 0051b29ead
commit 2f0a618d45
589 changed files with 2903 additions and 3005 deletions

View File

@@ -17,10 +17,10 @@
var/fire_resist = 1
var/expandType = /obj/effect/blob
/obj/effect/blob/New(loc)
/obj/effect/blob/Initialize()
health = maxHealth
update_icon()
return ..(loc)
return ..()
/obj/effect/blob/CanPass(var/atom/movable/mover, vra/turf/target)
return FALSE
@@ -164,9 +164,9 @@
/obj/effect/blob/core/update_icon()
return
/obj/effect/blob/core/New(loc)
/obj/effect/blob/core/Initialize()
START_PROCESSING(SSobj, src)
return ..(loc)
return ..()
/obj/effect/blob/core/Destroy()
STOP_PROCESSING(SSobj, src)
@@ -188,8 +188,8 @@
brute_resist = 1
fire_resist = 2
/obj/effect/blob/shield/New()
..()
/obj/effect/blob/shield/Initialize()
. = ..()
update_nearby_tiles()
/obj/effect/blob/shield/Destroy()