mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-09 17:02:56 +00:00
Chomps Edits & optimisation
This commit is contained in:
@@ -283,14 +283,11 @@
|
||||
message = "hides their wings."
|
||||
visible_message("[src] [message]")
|
||||
|
||||
// Chomp Edit Start
|
||||
/mob/living/carbon/human/verb/hide_nutrition_vr()
|
||||
set name = "Show/Hide Nutrition Levels"
|
||||
set category = "IC"
|
||||
set desc = "Allow other player to see your current nutrition level or not."
|
||||
nutrition_hidden = !nutrition_hidden
|
||||
var/message = ""
|
||||
if(!nutrition_hidden)
|
||||
message = "Players will now see your nutrition levels."
|
||||
else
|
||||
message = "Players will no longer see your nutrition levels."
|
||||
to_chat(src, "[message]")
|
||||
to_chat(src, "Players will [nutrition_hidden ? "no longer" : "now"] see your nutrition levels.")
|
||||
// Chomp Edit End
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
/mob/living/carbon/human/proc/examine_nutrition()
|
||||
if(!show_pudge()) //Some clothing or equipment can hide this.
|
||||
return ""
|
||||
if(nutrition_hidden)
|
||||
if(nutrition_hidden) // Chomp Edit
|
||||
return ""
|
||||
var/message = ""
|
||||
var/nutrition_examine = round(nutrition)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
var/ability_flags = 0 //Shadekin abilities/potentially other species-based?
|
||||
var/sensorpref = 5 //Suit sensor loadout pref
|
||||
var/wings_hidden = FALSE
|
||||
var/nutrition_hidden = FALSE
|
||||
var/nutrition_hidden = FALSE // Chomp Edit
|
||||
|
||||
/mob/living/carbon/human/proc/shadekin_get_energy()
|
||||
var/datum/species/shadekin/SK = species
|
||||
|
||||
Reference in New Issue
Block a user