Commit Graph

8 Commits

Author SHA1 Message Date
Atermonera
619e8b1b94 Ported /tg/ style screen alerts, replacing the hunger icon with them 2020-05-31 11:52:17 -04:00
Aronai Sieyes
35eaa9b40a Add more screen alert types 2020-05-21 12:38:18 -04:00
Aronai Sieyes
2d590505c1 Fix buckled/item based alerts 2020-05-15 13:43:35 -04:00
Aronai Sieyes
6873a3238d Add confused alert 2020-05-15 13:43:24 -04:00
Aronai Sieyes
a537ef77fa Further tweak alerts 2020-05-14 18:14:10 -04:00
Aronai Sieyes
9307fa0738 Further alert holo tweaks 2020-05-14 13:04:14 -04:00
Aronai Sieyes
ebe252d988 Further add on to the alert system 2020-05-14 12:26:20 -04:00
ShadowLarkens
f905cfc020 Ported /tg/ style screen alerts, replacing the hunger icon with them
This adds throw_alert() and /obj/screen/alert, a system that allows you
to do custom hud alerts for any variety of things from "You're too
cold!" to mecha status indicators for the pilot.

There's quite a few things that actually got replaced; the
fire/oxy/tox/co2 alerts are all now just alerts, as is nutrition. The
xenochimera feral indicator would probably be a good candidate for
conversion, but I didn't touch it in this PR. There's also a number of
new alerts, such as blindness, highness, legcuffed, buckled, handcuffed,
and probably some more I missed; read code/_onclick/hud/alert.dm and see
for yourself!

Additionally, a number of tweaks have been done to resisting code, to
make it so that there's an indicator when you're buckled or handcuffed,
and can just click the alert to start resisting. This includes a
refactor that combines the logic for lockers, holders, micros
escaping from shoes, and struggling in a gut all into one proc, called
container_resist(). This means that vore bellies actually no longer need
the resist override, but it's been left in place just in case someone
finds something else they want to use it for.

Also, the health and internals indicator got moved down one tile each.
Needed room for the alerts. If we add the oxygen tank action buttons
from /tg/ and remove the internals indicator, the health indicator can
go back where it was originally.
2020-05-13 19:36:01 -07:00