mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 00:20:55 +01:00
blacklist some animals from being targeted by sentience events
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/var/list/blacklisted_sentient_animals = typecacheof(list(
|
||||
/mob/living/simple_animal/slime,
|
||||
/mob/living/simple_animal/hostile/megafauna,
|
||||
/mob/living/simple_animal/hostile/blob,
|
||||
/mob/living/simple_animal/jacq,
|
||||
/mob/living/simple_animal/holodeck_monkey,
|
||||
/mob/living/simple_animal/astral))
|
||||
|
||||
/datum/round_event_control/sentience
|
||||
name = "Random Human-level Intelligence"
|
||||
typepath = /datum/round_event/ghost_role/sentience
|
||||
@@ -33,6 +41,8 @@
|
||||
var/turf/T = get_turf(L)
|
||||
if(!T || !is_station_level(T.z))
|
||||
continue
|
||||
if(is_type_in_typecache(L, blacklisted_sentient_animals))
|
||||
continue
|
||||
if(!(L in GLOB.player_list) && !L.mind)
|
||||
potential += L
|
||||
|
||||
|
||||
Reference in New Issue
Block a user