Random Event Fixes (#9582)

This commit is contained in:
Guti
2024-12-09 22:57:39 +01:00
committed by GitHub
parent 6e1bc8aadf
commit dc4c515c8b
12 changed files with 56 additions and 109 deletions

View File

@@ -9,9 +9,12 @@
Z_choices -= global.using_map.sealed_levels
// CHOMPEdit End
for(var/turf/simulated/floor/T in world)
var/area/A = T.loc
if(T.z in Z_choices)
if(!T.block_tele)
pick_turfs += T
if(A.flag_check(AREA_FORBID_EVENTS)) // CHOMPEdit - No spawning in dorms
continue
// CHOMPAdd Start - Chance to end up in a belly. Fun (:
for(var/mob/living/mob in player_list)
if(mob.can_be_drop_pred && isfloor(mob.loc))