From efd75cda2bea71a356448341040a0228f8c9fc99 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Fri, 31 May 2024 16:25:12 -0400 Subject: [PATCH] Adds wikipage to zombie antag datum + minor fix (#25712) * Adds wikipage to zombie antag datum + minor fix * oops * okay send it --- code/datums/diseases/zombie_virus.dm | 4 ++++ code/game/gamemodes/game_mode.dm | 5 +++++ code/game/objects/items/weapons/manuals.dm | 2 +- code/modules/admin/player_panel.dm | 13 +++++++++++++ code/modules/antagonists/zombie/datum_zombie.dm | 7 +++++++ 5 files changed, 30 insertions(+), 1 deletion(-) diff --git a/code/datums/diseases/zombie_virus.dm b/code/datums/diseases/zombie_virus.dm index d47742631e0..8879070189a 100644 --- a/code/datums/diseases/zombie_virus.dm +++ b/code/datums/diseases/zombie_virus.dm @@ -31,9 +31,13 @@ if(!..()) return FALSE if(HAS_TRAIT(affected_mob, TRAIT_I_WANT_BRAINS) || affected_mob.mind?.has_antag_datum(/datum/antagonist/zombie)) + SSticker.mode.zombie_infected -= affected_mob + if(affected_mob.reagents.has_reagent("zombiecure4")) + return handle_rot(TRUE) stage = 7 return FALSE + SSticker.mode.zombie_infected |= affected_mob switch(stage) if(1) // cured by lvl 1 cure if(prob(4)) diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index 29dfb1fdd2f..dcb97d7f1d9 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -90,6 +90,11 @@ /// A list of all the minds that have the ERT special role var/list/datum/mind/ert = list() + /// A list of all minds that are zombies + var/list/datum/mind/zombies = list() + /// A list of all minds that are infected with the zombie virus, but aren't zombies yet + var/list/datum/mind/zombie_infected = list() + /datum/game_mode/proc/announce() //to be calles when round starts to_chat(world, "Notice: [src] did not define announce()") diff --git a/code/game/objects/items/weapons/manuals.dm b/code/game/objects/items/weapons/manuals.dm index 230b5e450b4..523e7e89cbf 100644 --- a/code/game/objects/items/weapons/manuals.dm +++ b/code/game/objects/items/weapons/manuals.dm @@ -543,7 +543,7 @@
| [name] |