Merge remote-tracking branch 'Citadel-Station-13/master' into Garlic
This commit is contained in:
@@ -467,7 +467,9 @@
|
||||
if(H.physiology)
|
||||
H.physiology.stamina_mod *= 0.5
|
||||
if(H.dna && H.dna.species)
|
||||
H.dna.species.punchdamagehigh *= 5
|
||||
H.dna.species.punchdamagehigh *= 4
|
||||
H.dna.species.punchdamagelow *= 4
|
||||
H.dna.species.punchstunthreshold *= 2
|
||||
|
||||
/datum/reagent/drug/skooma/on_mob_end_metabolize(mob/living/L)
|
||||
. = ..()
|
||||
@@ -478,7 +480,9 @@
|
||||
if(H.physiology)
|
||||
H.physiology.stamina_mod *= 2
|
||||
if(H.dna && H.dna.species)
|
||||
H.dna.species.punchdamagehigh *= 0.2
|
||||
H.dna.species.punchdamagehigh *= 0.25
|
||||
H.dna.species.punchdamagelow *= 0.25
|
||||
H.dna.species.punchstunthreshold *= 0.5
|
||||
|
||||
/datum/reagent/drug/skooma/on_mob_life(mob/living/carbon/M)
|
||||
M.adjustOrganLoss(ORGAN_SLOT_BRAIN, 1*REM)
|
||||
|
||||
@@ -495,6 +495,24 @@
|
||||
toxpwr = 0.5
|
||||
taste_description = "bad cooking"
|
||||
|
||||
/datum/reagent/toxin/condensed_cooking_oil
|
||||
name = "Condensed Cooking Oil"
|
||||
description = "Taste the consequences of your mistakes."
|
||||
reagent_state = LIQUID
|
||||
color = "#d6d6d8"
|
||||
metabolization_rate = 0.25 * REAGENTS_METABOLISM
|
||||
toxpwr = 0
|
||||
taste_mult = -2
|
||||
taste_description = "awful cooking"
|
||||
|
||||
/datum/reagent/toxin/condensed_cooking_oil/on_mob_life(mob/living/carbon/M)
|
||||
if(prob(15))
|
||||
M.vomit()
|
||||
else
|
||||
if(prob(40))
|
||||
M.adjustOrganLoss(ORGAN_SLOT_HEART, 0.5) //For reference, bungotoxin does 3
|
||||
..()
|
||||
|
||||
/datum/reagent/toxin/itching_powder
|
||||
name = "Itching Powder"
|
||||
description = "A powder that induces itching upon contact with the skin. Causes the victim to scratch at their itches and has a very low chance to decay into Histamine."
|
||||
|
||||
@@ -388,3 +388,67 @@
|
||||
|
||||
/obj/item/reagent_containers/glass/get_belt_overlay()
|
||||
return mutable_appearance('icons/obj/clothing/belt_overlays.dmi', "bottle")
|
||||
|
||||
//Mortar & Pestle
|
||||
|
||||
/obj/item/pestle
|
||||
name = "pestle"
|
||||
desc = "An ancient, simple tool used in conjunction with a mortar to grind or juice items."
|
||||
icon = 'icons/obj/chemical.dmi'
|
||||
icon_state = "pestle"
|
||||
force = 4
|
||||
|
||||
/obj/item/reagent_containers/glass/mortar
|
||||
name = "mortar"
|
||||
desc = "A specially formed bowl of ancient design. It is possible to crush or juice items placed in it using a pestle; however the process, unlike modern methods, is slow and physically exhausting. Alt click to eject the item."
|
||||
icon_state = "mortar"
|
||||
amount_per_transfer_from_this = 10
|
||||
possible_transfer_amounts = list(5, 10, 15, 20, 25, 30, 50)
|
||||
item_flags = NO_MAT_REDEMPTION
|
||||
reagent_flags = OPENCONTAINER
|
||||
spillable = TRUE
|
||||
var/obj/item/grinded
|
||||
|
||||
/obj/item/reagent_containers/glass/mortar/AltClick(mob/user)
|
||||
. = ..()
|
||||
if(grinded)
|
||||
grinded.forceMove(drop_location())
|
||||
grinded = null
|
||||
to_chat(user, "<span class='notice'>You eject the item inside.</span>")
|
||||
return TRUE
|
||||
|
||||
/obj/item/reagent_containers/glass/mortar/attackby(obj/item/I, mob/living/carbon/human/user)
|
||||
..()
|
||||
if(istype(I,/obj/item/pestle))
|
||||
if(grinded)
|
||||
if(IS_STAMCRIT(user))
|
||||
to_chat(user, "<span class='warning'>You are too tired to work!</span>")
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You start grinding...</span>")
|
||||
if((do_after(user, 25, target = src)) && grinded)
|
||||
user.adjustStaminaLoss(20)
|
||||
if(grinded.juice_results) //prioritize juicing
|
||||
grinded.on_juice()
|
||||
reagents.add_reagent_list(grinded.juice_results)
|
||||
to_chat(user, "<span class='notice'>You juice [grinded] into a fine liquid.</span>")
|
||||
QDEL_NULL(grinded)
|
||||
return
|
||||
grinded.on_grind()
|
||||
reagents.add_reagent_list(grinded.grind_results)
|
||||
if(grinded.reagents) //food and pills
|
||||
grinded.reagents.trans_to(src, grinded.reagents.total_volume)
|
||||
to_chat(user, "<span class='notice'>You break [grinded] into powder.</span>")
|
||||
QDEL_NULL(grinded)
|
||||
return
|
||||
return
|
||||
else
|
||||
to_chat(user, "<span class='warning'>There is nothing to grind!</span>")
|
||||
return
|
||||
if(grinded)
|
||||
to_chat(user, "<span class='warning'>There is something inside already!</span>")
|
||||
return
|
||||
if(I.juice_results || I.grind_results)
|
||||
I.forceMove(src)
|
||||
grinded = I
|
||||
return
|
||||
to_chat(user, "<span class='warning'>You can't grind this!</span>")
|
||||
|
||||
Reference in New Issue
Block a user