mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-15 12:42:50 +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:
@@ -14,8 +14,8 @@
|
||||
var/graffiti_age = 0
|
||||
var/author = "unknown"
|
||||
|
||||
/obj/effect/decal/writing/New(var/newloc, var/_age, var/_message, var/_author)
|
||||
..(newloc)
|
||||
/obj/effect/decal/writing/Initialize(var/ml, var/_age, var/_message, var/_author)
|
||||
. = ..(ml)
|
||||
if(!isnull(_age))
|
||||
graffiti_age = _age
|
||||
if(!isnull(_message))
|
||||
|
||||
@@ -185,7 +185,9 @@
|
||||
notices = 5
|
||||
icon_state = "nboard05"
|
||||
|
||||
/obj/structure/noticeboard/anomaly/New()
|
||||
/obj/structure/noticeboard/anomaly/Initialize()
|
||||
. = ..()
|
||||
|
||||
var/obj/item/weapon/paper/P = new()
|
||||
P.name = "Memo RE: proper analysis procedure"
|
||||
P.info = "<br>We keep test dummies in pens here for a reason, so standard procedure should be to activate newfound alien artifacts and place the two in close proximity. Promising items I might even approve monkey testing on."
|
||||
|
||||
Reference in New Issue
Block a user