Cetus Station (#11726)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Olive
2025-10-29 07:58:50 -07:00
committed by GitHub
parent 7759a2983c
commit c271b299fe
39 changed files with 611156 additions and 48 deletions

View File

@@ -36,3 +36,17 @@
/obj/effect/step_trigger/teleporter/poi/Initialize(mapload) //This is for placing teleporters in gateways/POIS, where Z levels can be different and I cant be assed to make fake teleporter stairs
. = ..()
teleport_z = src.z
/obj/effect/step_trigger/teleporter/randomspawn //teleporter/random was taken. This version only teleports when stepped on *sometimes*, and you can give it a chance not to spawn
var/destroyprob = 99
var/teleprob = 1
/obj/effect/step_trigger/teleporter/randomspawn/Initialize(mapload)
. = ..()
if(destroyprob && prob(destroyprob))
qdel(src)
/obj/effect/step_trigger/teleporter/randomspawn/Trigger()
if(teleprob && !prob(teleprob))
return FALSE
return ..()

View File

@@ -34,6 +34,10 @@
/datum/trait/neutral/xenochimera_YR3/handle_environment_special(mob/living/carbon/human/H)
var/list/nanitereagents = list(REAGENT_HEALINGNANITES, REAGENT_SHREDDINGNANITES, REAGENT_IRRADIATEDNANITES, REAGENT_NEUROPHAGENANITES, REAGENT_NIFREPAIRNANITES)
if(istype(H.loc, /turf/simulated/floor/water/digestive_enzymes/nanites))
var/turf/simulated/floor/water/digestive_enzymes/nanites/N = H.loc
if(N.active)
N.toggle_all(FALSE)
for(var/reagent in nanitereagents)
if(H.reagents.has_reagent(reagent))
H.adjust_nutrition(H.reagents.get_reagent_amount(reagent))