Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into station_traits
This commit is contained in:
@@ -311,6 +311,7 @@
|
||||
/obj/item/reagent_containers/food/snacks/pizza/donkpocket = 0.3,
|
||||
/obj/item/reagent_containers/food/snacks/pizza/dank = 0.1) //pizzas here are weighted by chance to be someone's favorite
|
||||
var/static/list/pizza_preferences
|
||||
COOLDOWN_DECLARE(next_pizza_attunement)
|
||||
|
||||
/obj/item/pizzabox/infinite/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -323,11 +324,18 @@
|
||||
. += "<span class='deadsay'>This pizza box is anomalous, and will produce infinite pizza.</span>"
|
||||
|
||||
/obj/item/pizzabox/infinite/attack_self(mob/living/user)
|
||||
QDEL_NULL(pizza)
|
||||
if(ishuman(user))
|
||||
attune_pizza(user)
|
||||
if(COOLDOWN_FINISHED(src, next_pizza_attunement))
|
||||
QDEL_NULL(pizza)
|
||||
if(ishuman(user))
|
||||
attune_pizza(user)
|
||||
. = ..()
|
||||
|
||||
/obj/item/pizzabox/infinite/on_attack_hand(mob/user, act_intent, unarmed_attack_flags)
|
||||
var/had_pizza = (pizza ? TRUE : FALSE)
|
||||
. = ..()
|
||||
if(had_pizza && !pizza)
|
||||
COOLDOWN_START(src, next_pizza_attunement, (3 SECONDS))
|
||||
|
||||
/obj/item/pizzabox/infinite/proc/attune_pizza(mob/living/carbon/human/noms) //tonight on "proc names I never thought I'd type"
|
||||
if(!pizza_preferences[noms.ckey])
|
||||
pizza_preferences[noms.ckey] = pickweight(pizza_types)
|
||||
|
||||
@@ -771,8 +771,8 @@
|
||||
|
||||
/datum/chemical_reaction/pinkmilk
|
||||
name = "Strawberry Milk"
|
||||
id = /datum/reagent/consumable/pinkmilk
|
||||
results = list(/datum/reagent/consumable/pinkmilk = 2)
|
||||
id = /datum/reagent/consumable/milk/pinkmilk
|
||||
results = list(/datum/reagent/consumable/milk/pinkmilk = 2)
|
||||
required_reagents = list(/datum/reagent/consumable/strawberryjuice = 1, /datum/reagent/consumable/milk = 1)
|
||||
mix_message = "You feel a sweet aroma drift up your nose as the lactic mixture swirls. It reminds you of... a cafeteria."
|
||||
|
||||
@@ -1016,8 +1016,8 @@
|
||||
|
||||
/datum/chemical_reaction/pinktea
|
||||
name = "Strawberry Tea"
|
||||
id = /datum/reagent/consumable/pinktea
|
||||
results = list(/datum/reagent/consumable/pinktea = 5)
|
||||
id = /datum/reagent/consumable/tea/pinktea
|
||||
results = list(/datum/reagent/consumable/tea/pinktea = 5)
|
||||
required_reagents = list(/datum/reagent/consumable/strawberryjuice = 1, /datum/reagent/consumable/tea/arnold_palmer = 1, /datum/reagent/consumable/sugar = 1)
|
||||
|
||||
/datum/chemical_reaction/catnip_tea
|
||||
|
||||
Reference in New Issue
Block a user