mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
blackbox logging for biohazards (#23309)
* blackbox logging for biohazards * guh it warned for the others but not this one * Update code/__DEFINES/misc_defines.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * define / lewc --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
co-authored by
Contrabang
parent
8eba366cdf
commit
44cde7c753
@@ -406,6 +406,7 @@ GLOBAL_VAR_INIT(nologevent, 0)
|
||||
message_admins("[key_name_admin(usr)] has admin ended the round with message: '[input]'")
|
||||
log_admin("[key_name(usr)] has admin ended the round with message: '[input]'")
|
||||
SSticker.force_ending = TRUE
|
||||
SSticker.event_blackbox(outcome = ROUND_END_FORCED)
|
||||
to_chat(world, "<span class='warning'><big><b>[input]</b></big></span>")
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "End Round") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
SSticker.mode_result = "admin ended"
|
||||
|
||||
@@ -41,3 +41,4 @@
|
||||
|
||||
spawncount--
|
||||
successSpawn = TRUE
|
||||
SSevents.biohazards_this_round += "Xenomorphs"
|
||||
|
||||
@@ -39,3 +39,4 @@
|
||||
to_chat(B, "<span class='motd'>For more information, check the wiki page: ([GLOB.configuration.url.wiki_url]/index.php/Blob)</span>")
|
||||
notify_ghosts("Infected Mouse has appeared in [get_area(B)].", source = B, action = NOTIFY_FOLLOW)
|
||||
successSpawn = TRUE
|
||||
SSevents.biohazards_this_round += "Blob"
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
#define TS_HIGHPOP_TRIGGER 80
|
||||
#define GREEN_SPIDER 1
|
||||
#define PRINCE_SPIDER 2
|
||||
#define WHITE_SPIDER 3
|
||||
#define PRINCESS_SPIDER 4
|
||||
#define QUEEN_SPIDER 5
|
||||
|
||||
/datum/event/spider_terror
|
||||
announceWhen = 240
|
||||
@@ -28,27 +23,27 @@
|
||||
var/spider_type
|
||||
var/infestation_type
|
||||
if((length(GLOB.clients)) < TS_HIGHPOP_TRIGGER)
|
||||
infestation_type = pick(GREEN_SPIDER, PRINCE_SPIDER, WHITE_SPIDER, PRINCESS_SPIDER)
|
||||
infestation_type = pick(TS_INFESTATION_GREEN_SPIDER, TS_INFESTATION_PRINCE_SPIDER, TS_INFESTATION_WHITE_SPIDER, TS_INFESTATION_PRINCESS_SPIDER)
|
||||
else
|
||||
infestation_type = pick(PRINCE_SPIDER, WHITE_SPIDER, PRINCESS_SPIDER, QUEEN_SPIDER)
|
||||
infestation_type = pick(TS_INFESTATION_PRINCE_SPIDER, TS_INFESTATION_WHITE_SPIDER, TS_INFESTATION_PRINCESS_SPIDER, TS_INFESTATION_QUEEN_SPIDER)
|
||||
switch(infestation_type)
|
||||
if(GREEN_SPIDER)
|
||||
if(TS_INFESTATION_GREEN_SPIDER)
|
||||
// Weakest, only used during lowpop.
|
||||
spider_type = /mob/living/simple_animal/hostile/poison/terror_spider/green
|
||||
spawncount = 5
|
||||
if(PRINCE_SPIDER)
|
||||
if(TS_INFESTATION_PRINCE_SPIDER)
|
||||
// Fairly weak. Dangerous in single combat but has little staying power. Always gets whittled down.
|
||||
spider_type = /mob/living/simple_animal/hostile/poison/terror_spider/prince
|
||||
spawncount = 1
|
||||
if(WHITE_SPIDER)
|
||||
if(TS_INFESTATION_WHITE_SPIDER)
|
||||
// Variable. Depends how many they infect.
|
||||
spider_type = /mob/living/simple_animal/hostile/poison/terror_spider/white
|
||||
spawncount = 2
|
||||
if(PRINCESS_SPIDER)
|
||||
if(TS_INFESTATION_PRINCESS_SPIDER)
|
||||
// Pretty strong.
|
||||
spider_type = /mob/living/simple_animal/hostile/poison/terror_spider/queen/princess
|
||||
spawncount = 3
|
||||
if(QUEEN_SPIDER)
|
||||
if(TS_INFESTATION_QUEEN_SPIDER)
|
||||
// Strongest, only used during highpop.
|
||||
spider_type = /mob/living/simple_animal/hostile/poison/terror_spider/queen
|
||||
spawncount = 1
|
||||
@@ -71,10 +66,6 @@
|
||||
S.give_intro_text()
|
||||
spawncount--
|
||||
successSpawn = TRUE
|
||||
SSevents.biohazards_this_round += infestation_type
|
||||
|
||||
#undef TS_HIGHPOP_TRIGGER
|
||||
#undef GREEN_SPIDER
|
||||
#undef PRINCE_SPIDER
|
||||
#undef WHITE_SPIDER
|
||||
#undef PRINCESS_SPIDER
|
||||
#undef QUEEN_SPIDER
|
||||
|
||||
Reference in New Issue
Block a user