[MIRROR] Various medical features and adjustments. Kiosk rework. (#10321)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-06 14:01:48 -07:00
committed by GitHub
parent aff135e946
commit 11e9fd3516
15 changed files with 317 additions and 109 deletions

View File

@@ -131,7 +131,11 @@
if(M == user)
to_chat(user, "You take a bite of the crayon and swallow it.")
user.nutrition += 1
user.reagents.add_reagent(REAGENT_ID_CRAYONDUST,min(5,uses)/3)
if(ishuman(user))
var/mob/living/carbon/human/human = user
human.ingested.add_reagent(REAGENT_ID_CRAYONDUST,min(5,uses)/3)
else
user.reagents.add_reagent(REAGENT_ID_CRAYONDUST,min(5,uses)/3)
if(uses)
uses -= 5
if(uses <= 0)
@@ -221,7 +225,11 @@
if(M == user)
to_chat(user, "You take a bite of the marker and swallow it.")
user.nutrition += 1
user.reagents.add_reagent(REAGENT_ID_MARKERINK,6)
if(ishuman(user))
var/mob/living/carbon/human/human = user
human.ingested.add_reagent(REAGENT_ID_MARKERINK,6)
else
user.reagents.add_reagent(REAGENT_ID_MARKERINK,6)
if(uses)
uses -= 5
if(uses <= 0)