Announcer¶
The announcer is the top-left card: a face and one or two short lines. Every
line is a row in announcer.json. Announcer lists the
game's lines and when each plays.
Re-voice a line¶
Change the words, face (from sprites/) or sound (from sfx/):
[
{
"id": "helicopter",
"lines": ["Chopper overhead."],
"portrait": "neon.boss",
"sound": "neon.chopper"
}
]
| Field | Effect |
|---|---|
portrait |
Face sprite. boss_idle.png becomes neon.boss_idle; add boss_talk_a.png and boss_talk_b.png to animate the mouth. |
enemy |
Introduces that enemy (game or mod) the first time one comes close. |
priority, cooldown, ttl |
Which call goes first and how long it waits. |
From code¶
game.say plays any line, optionally with live text:
A mod of only lines, faces and sounds is cosmetic.
Examples: warlord (a boss with a face and radio sound), blackout.