Merge pull request #5812 from TheGreatKitsune/item-tf-spawn

Item TF spawnpoints
This commit is contained in:
Kassc
2023-03-03 21:18:08 -05:00
committed by GitHub
9 changed files with 167 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
/obj/item
var/item_tf_spawn_allowed = FALSE
var/list/ckeys_allowed_itemspawn = list()
/obj/item/proc/item_tf_spawnpoint_set()
if(!item_tf_spawn_allowed)
item_tf_spawn_allowed = TRUE
item_tf_spawnpoints += src
/obj/item/proc/item_tf_spawnpoint_used()
if(item_tf_spawn_allowed)
item_tf_spawn_allowed = FALSE
item_tf_spawnpoints -= src
/obj/item/Destroy(force, ...)
if(item_tf_spawn_allowed)
item_tf_spawnpoints -= src
return ..()

View File

@@ -16,6 +16,10 @@
display_name = "Vorespawn - Pred"
msg = "has arrived on the station"
/datum/spawnpoint/vore/itemtf
display_name = "Item TF spawn"
msg = "has arrived on the station"
/datum/spawnpoint/vore/New()
..()
turfs = latejoin