Blob Fake Announcements are now followed by a clarification 60 to 180 seconds later. (#928)

Draft because untested.

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

Blob Fake Announcements are now followed by a clarification 20 to 40
seconds later.

## Why It's Good For The Game

Prevents issues of Dynamic fucking up and putting everyone on red alert
status for no real reason (fucking over antags).

## Changelog

🆑 BurgerBB
balance: Blob Fake Announcements are now followed by a clarification 60
to 180 seconds later.
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

<!-- By opening a pull request. You have read and understood the
repository rules located on the main README.md on this project. -->

---------

Co-authored-by: The Sharkening <95130227+StrangeWeirdKitten@users.noreply.github.com>
This commit is contained in:
BurgerLUA
2024-01-17 23:54:19 -05:00
committed by nevimer
co-authored by The Sharkening
parent 78368622d4
commit 8d3735f297
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,39 @@
/datum/round_event/ghost_role/blob/announce(fake)
. = ..()
if(fake)
var/unlucky_victim = "your mother" //debug text that should never trigger but should tell coders that something went wrong without breaking immersion
var/unlucky_victim_fatty_score = 0
//Get the fattest person
for(var/mob/living/carbon/human/possible_fatty as anything in GLOB.human_list)
if(!possible_fatty.mind)
continue
if(possible_fatty.stat == DEAD)
continue //Too mean
if(possible_fatty.name != possible_fatty.real_name)
continue //Not possible to pick up on sensors.
var/turf/possible_fatty_turf = get_turf(possible_fatty)
if(!possible_fatty_turf || !is_station_level(possible_fatty_turf.z))
continue
var/possible_fatty_score = possible_fatty.nutrition
if(possible_fatty.has_quirk(/datum/quirk/overweight))
possible_fatty_score = possible_fatty_score * 1.5 + 1000
if(possible_fatty_score > unlucky_victim_fatty_score)
unlucky_victim = "[possible_fatty]" //We don't use .name here because we want "The" to be affixed to it if needed.
unlucky_victim_fatty_score = possible_fatty_score
addtimer(CALLBACK(src,PROC_REF(lose_some_weight_fatty),unlucky_victim),rand(60 SECONDS,180 SECONDS))
/datum/round_event/ghost_role/blob/proc/lose_some_weight_fatty(victim)
priority_announce(
"It appears that the level 5 biohazard aboard [station_name()] was a false alarm, as our sensors appeared to have mistakenly labeled [victim] as a level 5 biohazard. \
All crewmembers are reminded to practice healthy eating habbits as part of Nanotrasen's Safe and Healthy Eating program.",
"Biohazard Alert"
)
+1
View File
@@ -8271,6 +8271,7 @@
#include "modular_zubbers\code\modules\dynamic\midround_rulesets.dm"
#include "modular_zubbers\code\modules\emotes\scream_datums.dm"
#include "modular_zubbers\code\modules\emotes\species_screams.dm"
#include "modular_zubbers\code\modules\events\ghost_role\blob.dm"
#include "modular_zubbers\code\modules\experisci\experiment\types\scanning_fish.dm"
#include "modular_zubbers\code\modules\fishing\fishing_minigame.dm"
#include "modular_zubbers\code\modules\fluff\flora\ash_flora.dm"