mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
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:
@@ -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"
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user