some more new to init (#17231)

* some more new to init

* rigs

* rigs

* intellisense moment

* telcoms and landmarks

* fix that as well

* some more minor things

* re add missing message

* fix trash eating...
This commit is contained in:
Kashargul
2025-03-01 19:39:52 +01:00
committed by GitHub
parent e6afc35d22
commit 4f8e9f7ef8
117 changed files with 570 additions and 643 deletions
+2 -3
View File
@@ -62,9 +62,7 @@
if(visible || update_now)
if(!updating)
updating = 1
spawn(UPDATE_BUFFER) // Batch large changes, such as many doors opening or closing at once
update()
updating = 0
addtimer(CALLBACK(src, PROC_REF(update)), UPDATE_BUFFER, TIMER_DELETE_ME) // Batch large changes, such as many doors opening or closing at once
else
changed = 1
@@ -112,6 +110,7 @@
var/client/client = m.GetViewerClient()
if(client)
client.images += t.obfuscations[obfuscation.type]
updating = 0
/datum/chunk/proc/acquireVisibleTurfs(var/list/visible)
+2 -2
View File
@@ -34,8 +34,8 @@
updateVisibility(src)
return ..()
/obj/structure/New()
..()
/obj/structure/Initialize(mapload)
. = ..()
updateVisibility(src)
// EFFECTS
@@ -46,7 +46,7 @@
/obj/item/rig/protean/ex_act(severity)
return
/obj/item/rig/protean/New(var/newloc, var/mob/living/carbon/human/P)
/obj/item/rig/protean/Initialize(mapload, var/mob/living/carbon/human/P)
if(P)
var/datum/species/protean/S = P.species
S.OurRig = src
@@ -55,7 +55,7 @@
myprotean = P
else
to_chat(P, span_notice("You should have spawned with a backpack to assimilate into your RIG. Try clicking it with a backpack."))
..(newloc)
. = ..()
/obj/item/rig/protean/Destroy()
if(myprotean)