mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
makes alt cookies a var on species (#66245)
This commit is contained in:
@@ -939,18 +939,7 @@
|
||||
if(!ishuman(H))
|
||||
to_chat(usr, "This can only be used on instances of type /mob/living/carbon/human.", confidential = TRUE)
|
||||
return
|
||||
//let's keep it simple
|
||||
//milk to plasmemes and skeletons, meat to lizards, electricity bars to ethereals, cookies to everyone else
|
||||
var/cookiealt = /obj/item/food/cookie
|
||||
if(isskeleton(H))
|
||||
cookiealt = /obj/item/reagent_containers/food/condiment/milk
|
||||
else if(isplasmaman(H))
|
||||
cookiealt = /obj/item/reagent_containers/food/condiment/milk
|
||||
else if(isethereal(H))
|
||||
cookiealt = /obj/item/food/energybar
|
||||
else if(islizard(H))
|
||||
cookiealt = /obj/item/food/meat/slab
|
||||
var/obj/item/new_item = new cookiealt(H)
|
||||
var/obj/item/new_item = new H.dna.species.species_cookie(H)
|
||||
if(H.put_in_hands(new_item))
|
||||
H.update_inv_hands()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user