amazing truely amazing
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
id = "mcube"
|
||||
build_type = BIOGENERATOR
|
||||
materials = list(/datum/material/biomass = 250)
|
||||
build_path = /obj/item/reagent_containers/food/snacks/monkeycube
|
||||
build_path = /obj/item/reagent_containers/food/snacks/cube/monkey
|
||||
category = list("initial", "Food")
|
||||
|
||||
/datum/design/smeat
|
||||
|
||||
@@ -624,9 +624,9 @@ datum/status_effect/stabilized/blue/on_remove()
|
||||
O.extinguish() //All shamelessly copied from water's reaction_obj, since I didn't seem to be able to get it here for some reason.
|
||||
O.acid_level = 0
|
||||
// Monkey cube
|
||||
if(istype(O, /obj/item/reagent_containers/food/snacks/monkeycube))
|
||||
if(istype(O, /obj/item/reagent_containers/food/snacks/cube))
|
||||
to_chat(owner, "<span class='warning'>[linked_extract] kept your hands wet! It makes [O] expand!</span>")
|
||||
var/obj/item/reagent_containers/food/snacks/monkeycube/cube = O
|
||||
var/obj/item/reagent_containers/food/snacks/cube/cube = O
|
||||
cube.Expand()
|
||||
|
||||
// Dehydrated carp
|
||||
|
||||
@@ -53,7 +53,7 @@ Industrial extracts:
|
||||
|
||||
/obj/item/slimecross/industrial/grey
|
||||
colour = "grey"
|
||||
itempath = /obj/item/reagent_containers/food/snacks/monkeycube
|
||||
itempath = /obj/item/reagent_containers/food/snacks/cube/monkey
|
||||
itemamount = 5
|
||||
|
||||
/obj/item/slimecross/industrial/orange
|
||||
|
||||
@@ -19,14 +19,14 @@ Reproductive extracts:
|
||||
return
|
||||
if(istype(O, /obj/item/storage/bag/bio))
|
||||
var/list/inserted = list()
|
||||
SEND_SIGNAL(O, COMSIG_TRY_STORAGE_TAKE_TYPE, /obj/item/reagent_containers/food/snacks/monkeycube, src, 1, null, null, user, inserted)
|
||||
SEND_SIGNAL(O, COMSIG_TRY_STORAGE_TAKE_TYPE, /obj/item/reagent_containers/food/snacks/cube/monkey, src, 1, null, null, user, inserted)
|
||||
if(inserted.len)
|
||||
var/obj/item/reagent_containers/food/snacks/monkeycube/M = inserted[1]
|
||||
var/obj/item/reagent_containers/food/snacks/cube/monkey/M = inserted[1]
|
||||
if(istype(M))
|
||||
eat_cube(M, user)
|
||||
else
|
||||
to_chat(user, "<span class='warning'>There are no monkey cubes in the bio bag!</span>")
|
||||
if(istype(O,/obj/item/reagent_containers/food/snacks/monkeycube))
|
||||
if(istype(O,/obj/item/reagent_containers/food/snacks/cube/monkey))
|
||||
eat_cube(O, user)
|
||||
if(cubes_eaten >= 3)
|
||||
var/cores = rand(1,4)
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
else
|
||||
to_chat(user, "<span class='warning'>[src] already has the contents of [O] installed!</span>")
|
||||
return
|
||||
if(istype(O, /obj/item/reagent_containers/food/snacks/monkeycube) && (upgradetier & XENOBIO_UPGRADE_MONKEYS)) //CIT CHANGE - makes monkey-related actions require XENOBIO_UPGRADE_MONKEYS
|
||||
if(istype(O, /obj/item/reagent_containers/food/snacks/cube/monkey) && (upgradetier & XENOBIO_UPGRADE_MONKEYS)) //CIT CHANGE - makes monkey-related actions require XENOBIO_UPGRADE_MONKEYS
|
||||
monkeys++
|
||||
to_chat(user, "<span class='notice'>You feed [O] to [src]. It now has [monkeys] monkey cubes stored.</span>")
|
||||
qdel(O)
|
||||
@@ -155,7 +155,7 @@
|
||||
var/obj/item/storage/P = O
|
||||
var/loaded = FALSE
|
||||
for(var/obj/G in P.contents)
|
||||
if(istype(G, /obj/item/reagent_containers/food/snacks/monkeycube))
|
||||
if(istype(G, /obj/item/reagent_containers/food/snacks/cube/monkey))
|
||||
loaded = TRUE
|
||||
monkeys++
|
||||
qdel(G)
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
/obj/item/slime_extract/grey/activate(mob/living/carbon/human/user, datum/species/jelly/luminescent/species, activation_type)
|
||||
switch(activation_type)
|
||||
if(SLIME_ACTIVATE_MINOR)
|
||||
var/obj/item/reagent_containers/food/snacks/monkeycube/M = new
|
||||
var/obj/item/reagent_containers/food/snacks/cube/monkey/M = new
|
||||
if(!user.put_in_active_hand(M))
|
||||
M.forceMove(user.drop_location())
|
||||
playsound(user, 'sound/effects/splat.ogg', 50, 1)
|
||||
|
||||
Reference in New Issue
Block a user