Add rare hidden radio easter egg transmission
This commit is contained in:
1 parent
94b7646dce
commit
93883334d0
2 files changed
+8
No files matched your search
@@ -21,6 +21,7 @@
|
|||||||
"radio.inaccurate": "Dispatch flags inaccuracies in your report (-%d).",
|
"radio.inaccurate": "Dispatch flags inaccuracies in your report (-%d).",
|
||||||
"radio.received": "Dispatch received your report. Assistance en route.",
|
"radio.received": "Dispatch received your report. Assistance en route.",
|
||||||
"radio.emergency_dispatched": "Emergency responder dispatched.",
|
"radio.emergency_dispatched": "Emergency responder dispatched.",
|
||||||
|
"radio.easter_egg": "¿Dónde está la mota?",
|
||||||
"responder.arrived": "Responder arrives and %ss the situation.",
|
"responder.arrived": "Responder arrives and %ss the situation.",
|
||||||
"react.comply": "%s complies and steps back.",
|
"react.comply": "%s complies and steps back.",
|
||||||
"react.leave": "%s turns and leaves.",
|
"react.leave": "%s turns and leaves.",
|
||||||
|
|||||||
@@ -458,6 +458,13 @@ func _on_radio_submitted(report: Dictionary, emergency: bool) -> void:
|
|||||||
coordinator.crowd.apply_event("calm_professionalism")
|
coordinator.crowd.apply_event("calm_professionalism")
|
||||||
if audio:
|
if audio:
|
||||||
audio.play_radio_response()
|
audio.play_radio_response()
|
||||||
|
_maybe_radio_easter_egg()
|
||||||
|
|
||||||
|
## Rare hidden radio transmission: a stray voice asks "¿Dónde está la mota?"
|
||||||
|
## over the radio. Fires on a small random chance after a successful call.
|
||||||
|
func _maybe_radio_easter_egg() -> void:
|
||||||
|
if _door_rng.randf() < 0.025:
|
||||||
|
hud.log(Strings.lookup("radio.easter_egg"))
|
||||||
|
|
||||||
# ----------------------------------------------------------------- access --
|
# ----------------------------------------------------------------- access --
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user