mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Ripping a certain poster off the wall may occasionally reveal another poster (#96969)
## About The Pull Request On April Fools - or if you're exceptionally (un)lucky - ripping up a certain poster will reveal a certain other poster underneath. ## Why It's Good For The Game :clueless: ## Changelog 🆑 Melbert add: On April Fools, or if you're exceptionally (un)lucky, ripping up a certain poster will reveal a certain other poster underneath /🆑
This commit is contained in:
@@ -255,6 +255,25 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/poster/official/the_owl, 32)
|
||||
name = "No ERP"
|
||||
desc = "This poster reminds the crew that Enterprise Resource Planning is not allowed by company policy, in accordance with Spinward governmental regulations on megacorporations."
|
||||
icon_state = "no_erp"
|
||||
/// Tracks poster state for the hidden interaction
|
||||
VAR_PRIVATE/corrupted = FALSE
|
||||
|
||||
/obj/structure/sign/poster/official/no_erp/tear_poster(mob/user)
|
||||
if(prob(99) && !check_holidays(APRIL_FOOLS))
|
||||
return ..()
|
||||
|
||||
visible_message(span_notice("[user] rips [src] in a single, decisive motion... revealing another poster?"))
|
||||
playsound(src, 'sound/items/poster/poster_ripped.ogg', 100, TRUE)
|
||||
if(corrupted)
|
||||
name = initial(name)
|
||||
desc = initial(desc)
|
||||
icon_state = initial(icon_state)
|
||||
corrupted = FALSE
|
||||
else
|
||||
name = "Yes ERP"
|
||||
desc = "This poster reminds the crew that Enterprise Resource Planning is both effective and critical for the station's operations."
|
||||
icon_state = "yes_erp"
|
||||
corrupted = TRUE
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/poster/official/no_erp, 32)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user