Staticpath [MDB ignore] (#19166)

* move those to static paths

* maps

* .

* .

* ugh

* .
This commit is contained in:
Kashargul
2026-02-22 22:10:59 +01:00
committed by GitHub
parent 6c6d7a89e2
commit f8333a8d93
392 changed files with 92269 additions and 7526 deletions
+7 -7
View File
@@ -1,21 +1,21 @@
/stack
/datum/stack
var/list/contents=new
/stack/proc/Push(value)
/datum/stack/proc/Push(value)
contents+=value
/stack/proc/Pop()
/datum/stack/proc/Pop()
if(!contents.len) return null
. = contents[contents.len]
contents.len--
/stack/proc/Top() //returns the item on the top of the stack without removing it
/datum/stack/proc/Top() //returns the item on the top of the stack without removing it
if(!contents.len) return null
return contents[contents.len]
/stack/proc/Copy()
var/stack/S=new()
/datum/stack/proc/Copy()
var/datum/stack/S=new()
S.contents=src.contents.Copy()
return S
/stack/proc/Clear()
/datum/stack/proc/Clear()
contents.Cut()