mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 21:22:40 +00:00
/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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user