Skip to content

Commit

Permalink
No xeno evolving
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 21, 2023
1 parent 5790204 commit e3ae9e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
#define MODE_RANDOM_HIVE (1<<12)// Makes Join-as-Xeno choose a hive to join as burrowed larva at random rather than at user's input..
#define MODE_THUNDERSTORM (1<<13)// Enables thunderstorm effects on maps that are compatible with it. (Lit exterior tiles, rain effects)
#define MODE_FACTION_CLASH (1<<14)// Disables scopes, sniper sentries, OBs, shooting corpses, dragging enemy corpses, stripping enemy corpses
#define MODE_NO_XENO_EVOLVE (1<<15) // Stops all xenos from evolving

// Gamemode Toggleable Flags
#define MODE_NO_SNIPER_SENTRY (1<<0) /// Upgrade kits will no longer allow you to select long-range upgrades
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

static_comms_amount = 0
requires_comms = FALSE
flags_round_type = MODE_NO_XENO_EVOLVE
toggleable_flags = MODE_NO_JOIN_AS_XENO|MODE_HARDCORE_PERMA

/datum/game_mode/colonialmarines/ai/can_start()
Expand Down
4 changes: 4 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/Evolution.dm
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@
to_chat(src, SPAN_WARNING("Nuh-uh."))
return FALSE

if(SSticker?.mode?.flags_round_type & MODE_NO_XENO_EVOLVE)

This comment has been minimized.

Copy link
@harryob

harryob Oct 21, 2023

Member

ssticker always exists

This comment has been minimized.

Copy link
@morrowwolf

morrowwolf Oct 21, 2023

Author Member

Why is it question marked everywhere !

to_chat(src, SPAN_WARNING("This mode disallows xeno evolution."))
return FALSE

if(lock_evolve)
to_chat(src, SPAN_WARNING("You are banished and cannot reach the hivemind."))
return FALSE
Expand Down

0 comments on commit e3ae9e9

Please sign in to comment.