mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-22 08:01:16 +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:
@@ -7,8 +7,8 @@
|
||||
can_reinforce = 0
|
||||
flipped = -1
|
||||
|
||||
/obj/structure/table/rack/New()
|
||||
..()
|
||||
/obj/structure/table/rack/Initialize()
|
||||
. = ..()
|
||||
verbs -= /obj/structure/table/verb/do_flip
|
||||
verbs -= /obj/structure/table/proc/do_put
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
/obj/structure/table/rack/steel
|
||||
color = "#666666"
|
||||
|
||||
/obj/structure/table/rack/steel/New()
|
||||
/obj/structure/table/rack/steel/Initialize()
|
||||
material = get_material_by_name(MAT_STEEL)
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
//Shelves
|
||||
|
||||
@@ -42,9 +42,9 @@
|
||||
/obj/structure/table/rack/shelf/steel
|
||||
color = "#666666"
|
||||
|
||||
/obj/structure/table/rack/shelf/steel/New()
|
||||
/obj/structure/table/rack/shelf/steel/Initialize()
|
||||
material = get_material_by_name(MAT_STEEL)
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
//Gunrack
|
||||
// SOMEONE should add cool overlay stuff to this
|
||||
@@ -56,6 +56,6 @@
|
||||
/obj/structure/table/rack/gun_rack/steel
|
||||
color = "#666666"
|
||||
|
||||
/obj/structure/table/rack/gun_rack/steel/New()
|
||||
/obj/structure/table/rack/gun_rack/steel/Initialize()
|
||||
material = get_material_by_name(MAT_STEEL)
|
||||
..()
|
||||
. = ..()
|
||||
Reference in New Issue
Block a user