mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[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:
committed by
GitHub
parent
aff135e946
commit
11e9fd3516
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user