Add IPC knockout chem and hunger hallucination. (#32177)

* Add IPC knockout chem and hunger hallucination.

* Apply suggestions from CRUNCH review

Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
Alan
2026-07-17 06:14:45 +00:00
committed by GitHub
co-authored by CRUNCH
parent 225a38b7de
commit be39ae6253
8 changed files with 94 additions and 2 deletions
@@ -782,6 +782,9 @@
nutrition_display.icon_state = null
return
nutrition_display.icon = dna.species.hunger_icon
if(nutrition_hud_override)
nutrition_display.icon_state = nutrition_hud_override
return
switch(nutrition)
if(NUTRITION_LEVEL_FULL to INFINITY)
nutrition_display.icon_state = "fat"
+2
View File
@@ -205,6 +205,8 @@
/// Overrides the health HUD element state if set.
var/health_hud_override = HEALTH_HUD_OVERRIDE_NONE
/// Overrides the nutrition HUD element state if set.
var/nutrition_hud_override = NUTRITION_HUD_OVERRIDE_NONE
/// A soft reference to the location where this mob's runechat message will appear. Uses `UID()`.
var/runechat_msg_location
/// The datum receiving keyboard input. parent mob by default.