mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Add Sorbitol
This commit is contained in:
6
code/modules/food/glass/bottle_ch.dm
Normal file
6
code/modules/food/glass/bottle_ch.dm
Normal file
@@ -0,0 +1,6 @@
|
||||
/obj/item/weapon/reagent_containers/glass/bottle/sorbitol
|
||||
name = "sorbitol bottle"
|
||||
desc = "A small bottle of sorbitol. Sickeningly sweet."
|
||||
icon = 'icons/obj/chemical.dmi'
|
||||
icon_state = "bottle-3"
|
||||
prefill = list("sorbitol" = 60)
|
||||
@@ -51,6 +51,13 @@
|
||||
required_reagents = list("cordradaxon" = 1, "gastirodaxon" = 1, "hepanephrodaxon" = 1, "respirodaxon" = 1)
|
||||
result_amount = 12 //More phoron-efficient alternative recipe.
|
||||
|
||||
/decl/chemical_reaction/instant/sorbitol
|
||||
name = "Sorbitol"
|
||||
id = "sorbitol"
|
||||
result = "sorbitol"
|
||||
required_reagents = list("unsorbitol" = 1, "phoron" = 1)
|
||||
result_amount = 2
|
||||
|
||||
///SAP RECIPES//////
|
||||
|
||||
/decl/chemical_reaction/instant/myelamine_sap //This is the clotting agent used by clotting packs.
|
||||
|
||||
@@ -14,6 +14,32 @@
|
||||
|
||||
if(prob(3))
|
||||
M.emote(pick("blush", "moan", "moan", "giggle"))
|
||||
|
||||
/datum/reagent/sorbitol
|
||||
name = "Sorbitol"
|
||||
id = "sorbitol"
|
||||
description = "A frothy green liquid, for causing cellular-level hetrogenous structure merging."
|
||||
reagent_state = LIQUID
|
||||
color = "#10881A"
|
||||
overdose = REAGENTS_OVERDOSE
|
||||
|
||||
/datum/reagent/sorbitol/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
M.make_dizzy(1)
|
||||
|
||||
for(var/obj/belly/B as anything in M.vore_organs)
|
||||
|
||||
if(B.digest_mode == DM_UNABSORB) //Don't affect bellies set to unabsorb
|
||||
continue
|
||||
|
||||
for(var/mob/living/P in B)
|
||||
if(P.absorbed || !P.absorbable)
|
||||
continue
|
||||
|
||||
else if(prob(10))
|
||||
B.absorb_living(P)
|
||||
if(B.reagent_mode_flags & DM_FLAG_REAGENTSABSORB && B.reagents.total_volume < B.reagents.maximum_volume) //CHOMPedit: absorption reagent production
|
||||
B.GenerateBellyReagents_absorbed()
|
||||
|
||||
|
||||
///GENDER CHANGE REAGENTS////
|
||||
|
||||
|
||||
@@ -2441,6 +2441,7 @@
|
||||
#include "code\modules\food\food\drinks\bottle\robot.dm"
|
||||
#include "code\modules\food\food\snacks\meat.dm"
|
||||
#include "code\modules\food\glass\bottle.dm"
|
||||
#include "code\modules\food\glass\bottle_ch.dm"
|
||||
#include "code\modules\food\glass\bottle_vr.dm"
|
||||
#include "code\modules\food\glass\bottle\robot.dm"
|
||||
#include "code\modules\food\kitchen\gibber.dm"
|
||||
|
||||
Reference in New Issue
Block a user