Skip to content

Commit

Permalink
now you can maka da bonemeal
Browse files Browse the repository at this point in the history
  • Loading branch information
klushy225 committed Jan 15, 2025
1 parent c711f0c commit 0f92a4b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
10 changes: 10 additions & 0 deletions code/modules/chemistry/Chemistry-Tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,16 @@ proc/ui_describe_reagents(atom/A)
I.reagents.trans_to(src, I.reagents.total_volume)
qdel(I)

else if (istype(I, /obj/item/reagent_containers/bone_fragments))
if(src.reagents.total_volume >= src.reagents.maximum_volume)
boutput(user, SPAN_ALERT("[src] is full."))
return

boutput(user, SPAN_NOTICE("You toss the [I] into the beaker."))

I.reagents.trans_to(src, I.reagents.total_volume)
qdel(I)

else if (istype(I, /obj/item/reagent_containers/food/snacks/breadloaf))
if (src.reagents.total_volume >= src.reagents.maximum_volume)
boutput(user, SPAN_ALERT("[src] is full."))
Expand Down
2 changes: 1 addition & 1 deletion code/modules/chemistry/Reagents-Misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3204,7 +3204,7 @@ datum
fluid_g = 210
fluid_b = 210

on_plant_life(var/obj/plantpot/P, var/datum/plantgrowth_tick/growth_tick)
on_plant_life(var/obj/machinery/plantpot/P, var/datum/plantgrowth_tick/growth_tick)
growth_tick.harvests_bonus += 0.6

///////////////////////////
Expand Down
8 changes: 8 additions & 0 deletions code/modules/materials/Mat_RawMaterials.dm
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,14 @@ ABSTRACT_TYPE(/obj/item/material_piece/rubber)
default_material = "bone"
uses_default_material_appearance = FALSE
mat_changename = FALSE
attackby(obj/item/W, mob/user)
if(istype(W,/obj/item/extinguisher))
playsound(src,"sound/impact_sounds/Crystal_Shatter_1.ogg",30)
var/obj/item/reagent_containers/bone_fragments/B = new(src)
B.set_loc(src.loc)
qdel(src)
else
playsound(src,"sound/impact_sounds/Crystal_Hit_1.ogg",30)

/obj/item/material_piece/gnesis
name = "wafer"
Expand Down

0 comments on commit 0f92a4b

Please sign in to comment.