mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Removes the empty type of /snacks (#26010)
* Aaaaa it works * Add updatepaths * Add unsaved files * MATTTTT * Fixes casino * Fix --------- Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
if(queen_bee)
|
||||
if(bee_resources >= BEE_RESOURCE_HONEYCOMB_COST && length(honeycombs) < get_max_honeycomb())
|
||||
bee_resources = max(bee_resources-BEE_RESOURCE_HONEYCOMB_COST, 0)
|
||||
var/obj/item/food/snacks/honeycomb/HC = new(src)
|
||||
var/obj/item/food/honeycomb/HC = new(src)
|
||||
if(queen_bee.beegent)
|
||||
HC.set_reagent(queen_bee.beegent.id)
|
||||
honeycombs += HC
|
||||
@@ -240,7 +240,7 @@
|
||||
var/amtH = HF.honeycomb_capacity
|
||||
var/fallen = 0
|
||||
while(length(honeycombs) && amtH) //let's pretend you always grab the frame with the most honeycomb on it
|
||||
var/obj/item/food/snacks/honeycomb/HC = pick_n_take(honeycombs)
|
||||
var/obj/item/food/honeycomb/HC = pick_n_take(honeycombs)
|
||||
if(HC)
|
||||
HC.forceMove(get_turf(src))
|
||||
amtH--
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
/obj/item/food/snacks/honeycomb
|
||||
/obj/item/food/honeycomb
|
||||
name = "honeycomb"
|
||||
desc = "A hexagonal mesh of honeycomb."
|
||||
icon = 'icons/obj/hydroponics/harvest.dmi'
|
||||
@@ -8,13 +8,13 @@
|
||||
list_reagents = list("honey" = 5)
|
||||
var/honey_color = ""
|
||||
|
||||
/obj/item/food/snacks/honeycomb/Initialize(mapload)
|
||||
/obj/item/food/honeycomb/Initialize(mapload)
|
||||
. = ..()
|
||||
pixel_x = rand(8,-8)
|
||||
pixel_y = rand(8,-8)
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
|
||||
/obj/item/food/snacks/honeycomb/update_overlays()
|
||||
/obj/item/food/honeycomb/update_overlays()
|
||||
. = ..()
|
||||
var/image/honey
|
||||
if(honey_color)
|
||||
@@ -25,7 +25,7 @@
|
||||
. += honey
|
||||
|
||||
|
||||
/obj/item/food/snacks/honeycomb/proc/set_reagent(reagent)
|
||||
/obj/item/food/honeycomb/proc/set_reagent(reagent)
|
||||
var/datum/reagent/R = GLOB.chemical_reagents_list[reagent]
|
||||
if(istype(R))
|
||||
name = "honeycomb ([R.name])"
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
var/static/list/acceptable_items = typecacheof(list(
|
||||
/obj/item/seeds,
|
||||
/obj/item/unsorted_seeds,
|
||||
/obj/item/food/snacks/grown,
|
||||
/obj/item/food/grown,
|
||||
/obj/item/grown,
|
||||
/obj/item/food/snacks/grown/ash_flora,
|
||||
/obj/item/food/snacks/honeycomb))
|
||||
/obj/item/food/grown/ash_flora,
|
||||
/obj/item/food/honeycomb))
|
||||
|
||||
/obj/machinery/biogenerator/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
return default_deconstruction_crowbar(user, I, ignore_panel = TRUE)
|
||||
|
||||
// Accepts inserted plants and converts them to biomass and potassium
|
||||
/obj/machinery/compost_bin/proc/make_biomass(obj/item/food/snacks/grown/O)
|
||||
/obj/machinery/compost_bin/proc/make_biomass(obj/item/food/grown/O)
|
||||
// calculate biomass from plant nutriment and plant matter
|
||||
var/plant_biomass = O.reagents.get_reagent_amount("nutriment") + O.reagents.get_reagent_amount("plantmatter")
|
||||
var/plant_potassium = O.reagents.get_reagent_amount("potassium")
|
||||
@@ -76,7 +76,7 @@
|
||||
return
|
||||
|
||||
var/obj/item/storage/bag/plants/PB = O
|
||||
for(var/obj/item/food/snacks/grown/G in PB.contents)
|
||||
for(var/obj/item/food/grown/G in PB.contents)
|
||||
// if the plant contains either potassium, plantmatter and nutriment and the compost bin has space for any of those.
|
||||
if((G.reagents.get_reagent_amount("potassium") && potassium <= potassium_capacity) || ((G.reagents.get_reagent_amount("plantmatter") || G.reagents.get_reagent_amount("nutriment")) && biomass <= biomass_capacity))
|
||||
PB.remove_from_storage(G, src)
|
||||
@@ -99,7 +99,7 @@
|
||||
update_icon_state()
|
||||
return TRUE
|
||||
|
||||
if(istype(O, /obj/item/food/snacks/grown))
|
||||
if(istype(O, /obj/item/food/grown))
|
||||
if(biomass >= biomass_capacity && potassium >= potassium_capacity)
|
||||
to_chat(user, "<span class='warning'>[src] can't hold any more biomass, and its contents are saturated with potassium!</span>")
|
||||
return
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
. = ..()
|
||||
. += "<span class='notice'>It is currently [open ? "open, letting you pour liquids in." : "closed, letting you draw liquids from the tap."]</span>"
|
||||
|
||||
/obj/structure/fermenting_barrel/proc/makeWine(obj/item/food/snacks/grown/G)
|
||||
/obj/structure/fermenting_barrel/proc/makeWine(obj/item/food/grown/G)
|
||||
if(G.reagents)
|
||||
G.reagents.trans_to(src, G.reagents.total_volume)
|
||||
var/amount = G.seed.potency / 4
|
||||
@@ -40,7 +40,7 @@
|
||||
playsound(src, 'sound/effects/bubbles.ogg', 50, TRUE)
|
||||
|
||||
/obj/structure/fermenting_barrel/attackby(obj/item/I, mob/user, params)
|
||||
var/obj/item/food/snacks/grown/G = I
|
||||
var/obj/item/food/grown/G = I
|
||||
if(istype(G))
|
||||
if(!G.can_distill)
|
||||
to_chat(user, "<span class='warning'>You can't distill this into anything...</span>")
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// ***********************************************************
|
||||
|
||||
// Base type. Subtypes are found in /grown dir.
|
||||
/obj/item/food/snacks/grown
|
||||
/obj/item/food/grown
|
||||
icon = 'icons/obj/hydroponics/harvest.dmi'
|
||||
/// The seed of this plant. Starts as a type path, gets converted to an item on New()
|
||||
var/obj/item/seeds/seed = null
|
||||
@@ -21,7 +21,7 @@
|
||||
resistance_flags = FLAMMABLE
|
||||
origin_tech = "biotech=1"
|
||||
|
||||
/obj/item/food/snacks/grown/Initialize(mapload, obj/new_seed = null)
|
||||
/obj/item/food/grown/Initialize(mapload, obj/new_seed = null)
|
||||
. = ..()
|
||||
if(!tastes)
|
||||
tastes = list("[name]" = 1)
|
||||
@@ -51,25 +51,25 @@
|
||||
if(seed.variant)
|
||||
name += " \[[seed.variant]]"
|
||||
|
||||
/obj/item/food/snacks/grown/Destroy()
|
||||
/obj/item/food/grown/Destroy()
|
||||
QDEL_NULL(seed)
|
||||
return ..()
|
||||
|
||||
/obj/item/food/snacks/grown/proc/add_juice()
|
||||
/obj/item/food/grown/proc/add_juice()
|
||||
if(reagents)
|
||||
if(bitesize_mod)
|
||||
bitesize = 1 + round(reagents.total_volume / bitesize_mod)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/obj/item/food/snacks/grown/examine(user)
|
||||
/obj/item/food/grown/examine(user)
|
||||
. = ..()
|
||||
if(seed)
|
||||
for(var/datum/plant_gene/trait/T in seed.genes)
|
||||
if(T.examine_line)
|
||||
. += T.examine_line
|
||||
|
||||
/obj/item/food/snacks/grown/attackby(obj/item/O, mob/user, params)
|
||||
/obj/item/food/grown/attackby(obj/item/O, mob/user, params)
|
||||
..()
|
||||
if(slices_num && slice_path)
|
||||
var/inaccurate = TRUE
|
||||
@@ -106,12 +106,12 @@
|
||||
|
||||
|
||||
// Various gene procs
|
||||
/obj/item/food/snacks/grown/attack_self(mob/user)
|
||||
/obj/item/food/grown/attack_self(mob/user)
|
||||
if(seed && seed.get_gene(/datum/plant_gene/trait/squash))
|
||||
squash(user)
|
||||
..()
|
||||
|
||||
/obj/item/food/snacks/grown/throw_impact(atom/hit_atom)
|
||||
/obj/item/food/grown/throw_impact(atom/hit_atom)
|
||||
if(!..()) //was it caught by a mob?
|
||||
if(seed)
|
||||
log_action(locateUID(thrownby), hit_atom, "Thrown [src] at")
|
||||
@@ -120,7 +120,7 @@
|
||||
if(seed.get_gene(/datum/plant_gene/trait/squash))
|
||||
squash(hit_atom)
|
||||
|
||||
/obj/item/food/snacks/grown/proc/squash(atom/target)
|
||||
/obj/item/food/grown/proc/squash(atom/target)
|
||||
var/turf/T = get_turf(target)
|
||||
if(ispath(splat_type, /obj/effect/decal/cleanable/plant_smudge))
|
||||
if(filling_color)
|
||||
@@ -145,28 +145,28 @@
|
||||
|
||||
qdel(src)
|
||||
|
||||
/obj/item/food/snacks/grown/On_Consume(mob/M, mob/user)
|
||||
/obj/item/food/grown/On_Consume(mob/M, mob/user)
|
||||
if(iscarbon(M))
|
||||
if(seed)
|
||||
for(var/datum/plant_gene/trait/T in seed.genes)
|
||||
T.on_consume(src, M)
|
||||
..()
|
||||
|
||||
/obj/item/food/snacks/grown/after_slip(mob/living/carbon/human/H)
|
||||
/obj/item/food/grown/after_slip(mob/living/carbon/human/H)
|
||||
if(!seed)
|
||||
return
|
||||
for(var/datum/plant_gene/trait/T in seed.genes)
|
||||
T.on_slip(src, H)
|
||||
|
||||
// Glow gene procs
|
||||
/obj/item/food/snacks/grown/generate_trash(atom/location)
|
||||
/obj/item/food/grown/generate_trash(atom/location)
|
||||
if(trash && ispath(trash, /obj/item/grown))
|
||||
. = new trash(location, seed)
|
||||
trash = null
|
||||
return
|
||||
return ..()
|
||||
|
||||
/obj/item/food/snacks/grown/decompile_act(obj/item/matter_decompiler/C, mob/user)
|
||||
/obj/item/food/grown/decompile_act(obj/item/matter_decompiler/C, mob/user)
|
||||
if(isdrone(user))
|
||||
C.stored_comms["wood"] += 4
|
||||
qdel(src)
|
||||
@@ -174,7 +174,7 @@
|
||||
return ..()
|
||||
|
||||
// For item-containing growns such as eggy or gatfruit
|
||||
/obj/item/food/snacks/grown/shell/attack_self(mob/user)
|
||||
/obj/item/food/grown/shell/attack_self(mob/user)
|
||||
if(!do_after(user, 1.5 SECONDS, target = user))
|
||||
return
|
||||
user.unEquip(src)
|
||||
@@ -185,14 +185,14 @@
|
||||
qdel(src)
|
||||
|
||||
// Diona Nymphs can eat these as well as weeds to gain nutrition.
|
||||
/obj/item/food/snacks/grown/attack_animal(mob/living/simple_animal/M)
|
||||
/obj/item/food/grown/attack_animal(mob/living/simple_animal/M)
|
||||
if(isnymph(M))
|
||||
var/mob/living/simple_animal/diona/D = M
|
||||
D.consume(src)
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/food/snacks/grown/proc/log_action(mob/user, atom/target, what_done)
|
||||
/obj/item/food/grown/proc/log_action(mob/user, atom/target, what_done)
|
||||
var/reagent_str = reagents.log_list()
|
||||
var/genes_str = "No genes"
|
||||
if(seed && length(seed.genes))
|
||||
@@ -205,12 +205,12 @@
|
||||
|
||||
add_attack_logs(user, target, "[what_done] ([reagent_str] | [genes_str])")
|
||||
|
||||
/obj/item/food/snacks/grown/extinguish_light(force)
|
||||
/obj/item/food/grown/extinguish_light(force)
|
||||
if(seed.get_gene(/datum/plant_gene/trait/glow/shadow))
|
||||
return
|
||||
set_light(0)
|
||||
|
||||
/obj/item/food/snacks/grown/proc/send_plant_details(mob/user)
|
||||
/obj/item/food/grown/proc/send_plant_details(mob/user)
|
||||
var/msg = "<span class='info'>This is \a </span><span class='name'>[src].</span>\n"
|
||||
if(seed)
|
||||
msg += seed.get_analyzer_text()
|
||||
@@ -225,13 +225,13 @@
|
||||
msg += reag_txt
|
||||
to_chat(user, msg)
|
||||
|
||||
/obj/item/food/snacks/grown/attack_ghost(mob/dead/observer/user)
|
||||
/obj/item/food/grown/attack_ghost(mob/dead/observer/user)
|
||||
if(!istype(user)) // Make sure user is actually an observer. Revenents also use attack_ghost, but do not have the toggle plant analyzer var.
|
||||
return
|
||||
if(user.plant_analyzer)
|
||||
send_plant_details(user)
|
||||
|
||||
/obj/item/food/snacks/grown/fire_act()
|
||||
/obj/item/food/grown/fire_act()
|
||||
if(!..()) //Checks for if its unburnable
|
||||
return
|
||||
if(!reagents)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Ambrosia - base type
|
||||
/obj/item/food/snacks/grown/ambrosia
|
||||
/obj/item/food/grown/ambrosia
|
||||
seed = /obj/item/seeds/ambrosia
|
||||
name = "ambrosia branch"
|
||||
desc = "This is a plant."
|
||||
@@ -20,7 +20,7 @@
|
||||
icon_state = "seed-ambrosiavulgaris"
|
||||
species = "ambrosiavulgaris"
|
||||
plantname = "Ambrosia Vulgaris"
|
||||
product = /obj/item/food/snacks/grown/ambrosia/vulgaris
|
||||
product = /obj/item/food/grown/ambrosia/vulgaris
|
||||
lifespan = 60
|
||||
endurance = 25
|
||||
yield = 6
|
||||
@@ -30,7 +30,7 @@
|
||||
mutatelist = list(/obj/item/seeds/ambrosia/deus)
|
||||
reagents_add = list("space_drugs" = 0.15, "bicaridine" = 0.1, "kelotane" = 0.1, "vitamin" = 0.04, "plantmatter" = 0.05, "toxin" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/ambrosia/vulgaris
|
||||
/obj/item/food/grown/ambrosia/vulgaris
|
||||
seed = /obj/item/seeds/ambrosia
|
||||
name = "ambrosia vulgaris branch"
|
||||
desc = "This is a plant containing various healing chemicals."
|
||||
@@ -44,12 +44,12 @@
|
||||
icon_state = "seed-ambrosiadeus"
|
||||
species = "ambrosiadeus"
|
||||
plantname = "Ambrosia Deus"
|
||||
product = /obj/item/food/snacks/grown/ambrosia/deus
|
||||
product = /obj/item/food/grown/ambrosia/deus
|
||||
mutatelist = list(/obj/item/seeds/ambrosia/gaia)
|
||||
reagents_add = list("weak_omnizine" = 0.15, "synaptizine" = 0.15, "space_drugs" = 0.1, "vitamin" = 0.04, "plantmatter" = 0.05)
|
||||
rarity = 40
|
||||
|
||||
/obj/item/food/snacks/grown/ambrosia/deus
|
||||
/obj/item/food/grown/ambrosia/deus
|
||||
seed = /obj/item/seeds/ambrosia/deus
|
||||
name = "ambrosia deus branch"
|
||||
desc = "Eating this makes you feel immortal!"
|
||||
@@ -70,7 +70,7 @@
|
||||
icon_state = "seed-ambrosia_gaia"
|
||||
species = "ambrosia_gaia"
|
||||
plantname = "Ambrosia Gaia"
|
||||
product = /obj/item/food/snacks/grown/ambrosia/gaia
|
||||
product = /obj/item/food/grown/ambrosia/gaia
|
||||
mutatelist = list()
|
||||
reagents_add = list("earthsblood" = 0.05, "nutriment" = 0.06, "vitamin" = 0.05)
|
||||
rarity = 30 //These are some pretty good plants right here
|
||||
@@ -78,7 +78,7 @@
|
||||
weed_rate = 4
|
||||
weed_chance = 100
|
||||
|
||||
/obj/item/food/snacks/grown/ambrosia/gaia
|
||||
/obj/item/food/grown/ambrosia/gaia
|
||||
name = "ambrosia gaia branch"
|
||||
desc = "Eating this <i>makes</i> you immortal."
|
||||
icon_state = "ambrosia_gaia"
|
||||
@@ -92,12 +92,12 @@
|
||||
|
||||
// Ambrosia Cruciatus
|
||||
/obj/item/seeds/ambrosia/cruciatus
|
||||
product = /obj/item/food/snacks/grown/ambrosia/cruciatus
|
||||
product = /obj/item/food/grown/ambrosia/cruciatus
|
||||
potency = 10
|
||||
mutatelist = list()
|
||||
reagents_add = list("thc" = 0.15, "kelotane" = 0.15, "bicaridine" = 0.1, "bath_salts" = 0.20, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/ambrosia/cruciatus
|
||||
/obj/item/food/grown/ambrosia/cruciatus
|
||||
seed = /obj/item/seeds/ambrosia/cruciatus
|
||||
wine_power = 0.7
|
||||
tastes = list("ambrosia cruciatus" = 1)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-apple"
|
||||
species = "apple"
|
||||
plantname = "Apple Tree"
|
||||
product = /obj/item/food/snacks/grown/apple
|
||||
product = /obj/item/food/grown/apple
|
||||
lifespan = 55
|
||||
endurance = 35
|
||||
yield = 5
|
||||
@@ -16,7 +16,7 @@
|
||||
mutatelist = list(/obj/item/seeds/apple/gold)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/apple
|
||||
/obj/item/food/grown/apple
|
||||
seed = /obj/item/seeds/apple
|
||||
name = "apple"
|
||||
desc = "It's a little piece of Eden."
|
||||
@@ -28,12 +28,12 @@
|
||||
|
||||
// Posioned Apple
|
||||
/obj/item/seeds/apple/poisoned
|
||||
product = /obj/item/food/snacks/grown/apple/poisoned
|
||||
product = /obj/item/food/grown/apple/poisoned
|
||||
mutatelist = list()
|
||||
reagents_add = list("cyanide" = 0.5, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
rarity = 50 // Source of cyanide, and hard (almost impossible) to obtain normally.
|
||||
|
||||
/obj/item/food/snacks/grown/apple/poisoned
|
||||
/obj/item/food/grown/apple/poisoned
|
||||
seed = /obj/item/seeds/apple/poisoned
|
||||
|
||||
// Gold Apple
|
||||
@@ -43,14 +43,14 @@
|
||||
icon_state = "seed-goldapple"
|
||||
species = "goldapple"
|
||||
plantname = "Golden Apple Tree"
|
||||
product = /obj/item/food/snacks/grown/apple/gold
|
||||
product = /obj/item/food/grown/apple/gold
|
||||
maturation = 10
|
||||
production = 10
|
||||
mutatelist = list()
|
||||
reagents_add = list("gold" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
rarity = 40 // Alchemy!
|
||||
|
||||
/obj/item/food/snacks/grown/apple/gold
|
||||
/obj/item/food/grown/apple/gold
|
||||
seed = /obj/item/seeds/apple/gold
|
||||
name = "golden apple"
|
||||
desc = "Emblazoned upon the apple is the word 'Kallisti'."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-banana"
|
||||
species = "banana"
|
||||
plantname = "Banana Tree"
|
||||
product = /obj/item/food/snacks/grown/banana
|
||||
product = /obj/item/food/grown/banana
|
||||
lifespan = 50
|
||||
endurance = 30
|
||||
growing_icon = 'icons/obj/hydroponics/growing_fruits.dmi'
|
||||
@@ -14,7 +14,7 @@
|
||||
mutatelist = list(/obj/item/seeds/banana/mime, /obj/item/seeds/banana/bluespace)
|
||||
reagents_add = list("banana" = 0.1, "potassium" = 0.1, "vitamin" = 0.04, "plantmatter" = 0.02)
|
||||
|
||||
/obj/item/food/snacks/grown/banana
|
||||
/obj/item/food/grown/banana
|
||||
seed = /obj/item/seeds/banana
|
||||
name = "banana"
|
||||
desc = "It's an excellent prop for a clown."
|
||||
@@ -26,11 +26,11 @@
|
||||
distill_reagent = "bananahonk"
|
||||
tastes = list("banana" = 1)
|
||||
|
||||
/obj/item/food/snacks/grown/banana/Initialize(mapload)
|
||||
/obj/item/food/grown/banana/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_CAN_POINT_WITH, ROUNDSTART_TRAIT)
|
||||
|
||||
/obj/item/food/snacks/grown/banana/suicide_act(mob/user)
|
||||
/obj/item/food/grown/banana/suicide_act(mob/user)
|
||||
user.visible_message("<span class='suicide'>[user] is aiming [src] at [user.p_themselves()]! It looks like [user.p_theyre()] trying to commit suicide!</span>")
|
||||
playsound(loc, 'sound/items/bikehorn.ogg', 50, TRUE, -1)
|
||||
sleep(25)
|
||||
@@ -81,13 +81,13 @@
|
||||
icon_state = "seed-mimana"
|
||||
species = "mimana"
|
||||
plantname = "Mimana Tree"
|
||||
product = /obj/item/food/snacks/grown/banana/mime
|
||||
product = /obj/item/food/grown/banana/mime
|
||||
growthstages = 4
|
||||
mutatelist = list()
|
||||
reagents_add = list("nothing" = 0.1, "capulettium_plus" = 0.1, "nutriment" = 0.02)
|
||||
rarity = 15
|
||||
|
||||
/obj/item/food/snacks/grown/banana/mime
|
||||
/obj/item/food/grown/banana/mime
|
||||
seed = /obj/item/seeds/banana/mime
|
||||
name = "mimana"
|
||||
desc = "It's an excellent prop for a mime."
|
||||
@@ -110,13 +110,13 @@
|
||||
species = "bluespacebanana"
|
||||
icon_grow = "banana-grow"
|
||||
plantname = "Bluespace Banana Tree"
|
||||
product = /obj/item/food/snacks/grown/banana/bluespace
|
||||
product = /obj/item/food/grown/banana/bluespace
|
||||
mutatelist = list()
|
||||
genes = list(/datum/plant_gene/trait/slip, /datum/plant_gene/trait/teleport, /datum/plant_gene/trait/repeated_harvest)
|
||||
reagents_add = list("singulo" = 0.2, "banana" = 0.1, "vitamin" = 0.04, "plantmatter" = 0.02)
|
||||
rarity = 30
|
||||
|
||||
/obj/item/food/snacks/grown/banana/bluespace
|
||||
/obj/item/food/grown/banana/bluespace
|
||||
seed = /obj/item/seeds/banana/bluespace
|
||||
name = "bluespace banana"
|
||||
icon_state = "bluenana"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-soybean"
|
||||
species = "soybean"
|
||||
plantname = "Soybean Plants"
|
||||
product = /obj/item/food/snacks/grown/soybeans
|
||||
product = /obj/item/food/grown/soybeans
|
||||
maturation = 4
|
||||
production = 4
|
||||
potency = 15
|
||||
@@ -17,7 +17,7 @@
|
||||
mutatelist = list(/obj/item/seeds/soya/koi)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.05, "soybeanoil" = 0.03)
|
||||
|
||||
/obj/item/food/snacks/grown/soybeans
|
||||
/obj/item/food/grown/soybeans
|
||||
seed = /obj/item/seeds/soya
|
||||
name = "soybeans"
|
||||
desc = "It's pretty bland, but oh the possibilities..."
|
||||
@@ -35,13 +35,13 @@
|
||||
icon_state = "seed-koibean"
|
||||
species = "koibean"
|
||||
plantname = "Koibean Plants"
|
||||
product = /obj/item/food/snacks/grown/koibeans
|
||||
product = /obj/item/food/grown/koibeans
|
||||
potency = 10
|
||||
mutatelist = list()
|
||||
reagents_add = list("carpotoxin" = 0.1, "vitamin" = 0.04, "plantmatter" = 0.05)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/food/snacks/grown/koibeans
|
||||
/obj/item/food/grown/koibeans
|
||||
seed = /obj/item/seeds/soya/koi
|
||||
name = "koibean"
|
||||
desc = "Something about these seems fishy."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-berry"
|
||||
species = "berry"
|
||||
plantname = "Berry Bush"
|
||||
product = /obj/item/food/snacks/grown/berries
|
||||
product = /obj/item/food/grown/berries
|
||||
lifespan = 20
|
||||
maturation = 5
|
||||
production = 5
|
||||
@@ -17,7 +17,7 @@
|
||||
mutatelist = list(/obj/item/seeds/berry/glow, /obj/item/seeds/berry/poison)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/berries
|
||||
/obj/item/food/grown/berries
|
||||
seed = /obj/item/seeds/berry
|
||||
name = "bunch of berries"
|
||||
desc = "Nutritious!"
|
||||
@@ -35,12 +35,12 @@
|
||||
icon_state = "seed-poisonberry"
|
||||
species = "poisonberry"
|
||||
plantname = "Poison-Berry Bush"
|
||||
product = /obj/item/food/snacks/grown/berries/poison
|
||||
product = /obj/item/food/grown/berries/poison
|
||||
mutatelist = list(/obj/item/seeds/berry/death)
|
||||
reagents_add = list("cyanide" = 0.15, "tirizene" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
rarity = 10 // Mildly poisonous berries are common in reality
|
||||
|
||||
/obj/item/food/snacks/grown/berries/poison
|
||||
/obj/item/food/grown/berries/poison
|
||||
seed = /obj/item/seeds/berry/poison
|
||||
name = "bunch of poison-berries"
|
||||
desc = "Taste so good, you could die!"
|
||||
@@ -57,14 +57,14 @@
|
||||
icon_state = "seed-deathberry"
|
||||
species = "deathberry"
|
||||
plantname = "Death Berry Bush"
|
||||
product = /obj/item/food/snacks/grown/berries/death
|
||||
product = /obj/item/food/grown/berries/death
|
||||
lifespan = 30
|
||||
potency = 50
|
||||
mutatelist = list()
|
||||
reagents_add = list("coniine" = 0.08, "tirizene" = 0.1, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
rarity = 30
|
||||
|
||||
/obj/item/food/snacks/grown/berries/death
|
||||
/obj/item/food/grown/berries/death
|
||||
seed = /obj/item/seeds/berry/death
|
||||
name = "bunch of death-berries"
|
||||
desc = "Taste so good, you could die!"
|
||||
@@ -81,7 +81,7 @@
|
||||
icon_state = "seed-glowberry"
|
||||
species = "glowberry"
|
||||
plantname = "Glow-Berry Bush"
|
||||
product = /obj/item/food/snacks/grown/berries/glow
|
||||
product = /obj/item/food/grown/berries/glow
|
||||
lifespan = 30
|
||||
endurance = 25
|
||||
mutatelist = list()
|
||||
@@ -89,7 +89,7 @@
|
||||
reagents_add = list("uranium" = 0.25, "iodine" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/food/snacks/grown/berries/glow
|
||||
/obj/item/food/grown/berries/glow
|
||||
seed = /obj/item/seeds/berry/glow
|
||||
name = "bunch of glow-berries"
|
||||
desc = "Nutritious!"
|
||||
@@ -109,7 +109,7 @@
|
||||
icon_state = "seed-cherry"
|
||||
species = "cherry"
|
||||
plantname = "Cherry Tree"
|
||||
product = /obj/item/food/snacks/grown/cherries
|
||||
product = /obj/item/food/grown/cherries
|
||||
lifespan = 35
|
||||
endurance = 35
|
||||
maturation = 5
|
||||
@@ -122,7 +122,7 @@
|
||||
mutatelist = list(/obj/item/seeds/cherry/blue)
|
||||
reagents_add = list("plantmatter" = 0.07, "sugar" = 0.07)
|
||||
|
||||
/obj/item/food/snacks/grown/cherries
|
||||
/obj/item/food/grown/cherries
|
||||
seed = /obj/item/seeds/cherry
|
||||
name = "cherries"
|
||||
desc = "Great for toppings!"
|
||||
@@ -140,12 +140,12 @@
|
||||
icon_state = "seed-bluecherry"
|
||||
species = "bluecherry"
|
||||
plantname = "Blue Cherry Tree"
|
||||
product = /obj/item/food/snacks/grown/bluecherries
|
||||
product = /obj/item/food/grown/bluecherries
|
||||
mutatelist = list()
|
||||
reagents_add = list("plantmatter" = 0.07, "sugar" = 0.07)
|
||||
rarity = 10
|
||||
|
||||
/obj/item/food/snacks/grown/bluecherries
|
||||
/obj/item/food/grown/bluecherries
|
||||
seed = /obj/item/seeds/cherry/blue
|
||||
name = "blue cherries"
|
||||
desc = "They're cherries that are blue."
|
||||
@@ -162,7 +162,7 @@
|
||||
icon_state = "seed-grapes"
|
||||
species = "grape"
|
||||
plantname = "Grape Vine"
|
||||
product = /obj/item/food/snacks/grown/grapes
|
||||
product = /obj/item/food/grown/grapes
|
||||
lifespan = 50
|
||||
endurance = 25
|
||||
maturation = 3
|
||||
@@ -176,12 +176,12 @@
|
||||
mutatelist = list(/obj/item/seeds/grape/green)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1, "sugar" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/grapes
|
||||
/obj/item/food/grown/grapes
|
||||
seed = /obj/item/seeds/grape
|
||||
name = "bunch of grapes"
|
||||
desc = "Nutritious!"
|
||||
icon_state = "grapes"
|
||||
dried_type = /obj/item/food/snacks/no_raisin/healthy
|
||||
dried_type = /obj/item/food/no_raisin/healthy
|
||||
filling_color = "#FF1493"
|
||||
bitesize_mod = 2
|
||||
tastes = list("grapes" = 1)
|
||||
@@ -194,12 +194,12 @@
|
||||
icon_state = "seed-greengrapes"
|
||||
species = "greengrape"
|
||||
plantname = "Green-Grape Vine"
|
||||
product = /obj/item/food/snacks/grown/grapes/green
|
||||
product = /obj/item/food/grown/grapes/green
|
||||
reagents_add = list("kelotane" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1, "sugar" = 0.1)
|
||||
// No rarity: technically it's a beneficial mutant, but it's not exactly "new"...
|
||||
mutatelist = list()
|
||||
|
||||
/obj/item/food/snacks/grown/grapes/green
|
||||
/obj/item/food/grown/grapes/green
|
||||
seed = /obj/item/seeds/grape/green
|
||||
name = "bunch of green grapes"
|
||||
icon_state = "greengrapes"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-cannabis"
|
||||
species = "cannabis"
|
||||
plantname = "Cannabis Plant"
|
||||
product = /obj/item/food/snacks/grown/cannabis
|
||||
product = /obj/item/food/grown/cannabis
|
||||
maturation = 8
|
||||
potency = 20
|
||||
growthstages = 1
|
||||
@@ -24,7 +24,7 @@
|
||||
icon_state = "seed-megacannabis"
|
||||
species = "megacannabis"
|
||||
plantname = "Rainbow Weed"
|
||||
product = /obj/item/food/snacks/grown/cannabis/rainbow
|
||||
product = /obj/item/food/grown/cannabis/rainbow
|
||||
mutatelist = list(/obj/item/seeds/cannabis/death,
|
||||
/obj/item/seeds/cannabis/ultimate)
|
||||
reagents_add = list("lsd" = 0.15, "thc" = 0.15, "cbd" = 0.15, "happiness" = 0.15)
|
||||
@@ -36,7 +36,7 @@
|
||||
icon_state = "seed-blackcannabis"
|
||||
species = "blackcannabis"
|
||||
plantname = "Deathweed"
|
||||
product = /obj/item/food/snacks/grown/cannabis/death
|
||||
product = /obj/item/food/grown/cannabis/death
|
||||
mutatelist = list()
|
||||
reagents_add = list("cyanide" = 0.35, "thc" = 0.15, "cbd" = 0.15)
|
||||
rarity = 40
|
||||
@@ -47,7 +47,7 @@
|
||||
icon_state = "seed-whitecannabis"
|
||||
species = "whitecannabis"
|
||||
plantname = "Lifeweed"
|
||||
product = /obj/item/food/snacks/grown/cannabis/white
|
||||
product = /obj/item/food/grown/cannabis/white
|
||||
mutatelist = list(/obj/item/seeds/cannabis/death,
|
||||
/obj/item/seeds/cannabis/ultimate)
|
||||
reagents_add = list("omnizine" = 0.35, "thc" = 0.15, "cbd" = 0.15)
|
||||
@@ -60,7 +60,7 @@
|
||||
icon_state = "seed-ocannabis"
|
||||
species = "ocannabis"
|
||||
plantname = "Omega Weed"
|
||||
product = /obj/item/food/snacks/grown/cannabis/ultimate
|
||||
product = /obj/item/food/grown/cannabis/ultimate
|
||||
mutatelist = list()
|
||||
reagents_add = list("lsd" = 0.05,
|
||||
"suicider" = 0.05,
|
||||
@@ -85,7 +85,7 @@
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
|
||||
/obj/item/food/snacks/grown/cannabis
|
||||
/obj/item/food/grown/cannabis
|
||||
seed = /obj/item/seeds/cannabis
|
||||
icon = 'icons/goonstation/objects/hydroponics.dmi'
|
||||
name = "cannabis leaf"
|
||||
@@ -97,28 +97,28 @@
|
||||
wine_power = 0.2
|
||||
|
||||
|
||||
/obj/item/food/snacks/grown/cannabis/rainbow
|
||||
/obj/item/food/grown/cannabis/rainbow
|
||||
seed = /obj/item/seeds/cannabis/rainbow
|
||||
name = "rainbow cannabis leaf"
|
||||
desc = "Is it supposed to be glowing like that...?"
|
||||
icon_state = "megacannabis"
|
||||
wine_power = 0.6
|
||||
|
||||
/obj/item/food/snacks/grown/cannabis/death
|
||||
/obj/item/food/grown/cannabis/death
|
||||
seed = /obj/item/seeds/cannabis/death
|
||||
name = "death cannabis leaf"
|
||||
desc = "Looks a bit dark. Oh well."
|
||||
icon_state = "blackcannabis"
|
||||
wine_power = 0.4
|
||||
|
||||
/obj/item/food/snacks/grown/cannabis/white
|
||||
/obj/item/food/grown/cannabis/white
|
||||
seed = /obj/item/seeds/cannabis/white
|
||||
name = "white cannabis leaf"
|
||||
desc = "It feels smooth and nice to the touch."
|
||||
icon_state = "whitecannabis"
|
||||
wine_power = 0.1
|
||||
|
||||
/obj/item/food/snacks/grown/cannabis/ultimate
|
||||
/obj/item/food/grown/cannabis/ultimate
|
||||
seed = /obj/item/seeds/cannabis/ultimate
|
||||
name = "omega cannibas leaf"
|
||||
desc = "You feel dizzy looking at it. What the fuck?"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-wheat"
|
||||
species = "wheat"
|
||||
plantname = "Wheat Stalks"
|
||||
product = /obj/item/food/snacks/grown/wheat
|
||||
product = /obj/item/food/grown/wheat
|
||||
production = 1
|
||||
yield = 4
|
||||
potency = 30
|
||||
@@ -13,7 +13,7 @@
|
||||
mutatelist = list(/obj/item/seeds/wheat/oat, /obj/item/seeds/wheat/meat)
|
||||
reagents_add = list("plantmatter" = 0.04)
|
||||
|
||||
/obj/item/food/snacks/grown/wheat
|
||||
/obj/item/food/grown/wheat
|
||||
seed = /obj/item/seeds/wheat
|
||||
name = "wheat"
|
||||
desc = "Sigh... wheat... a-grain?"
|
||||
@@ -31,10 +31,10 @@
|
||||
icon_state = "seed-oat"
|
||||
species = "oat"
|
||||
plantname = "Oat Stalks"
|
||||
product = /obj/item/food/snacks/grown/oat
|
||||
product = /obj/item/food/grown/oat
|
||||
mutatelist = list()
|
||||
|
||||
/obj/item/food/snacks/grown/oat
|
||||
/obj/item/food/grown/oat
|
||||
seed = /obj/item/seeds/wheat/oat
|
||||
name = "oat"
|
||||
desc = "Eat oats, do squats."
|
||||
@@ -52,11 +52,11 @@
|
||||
icon_state = "seed-rice"
|
||||
species = "rice"
|
||||
plantname = "Rice Stalks"
|
||||
product = /obj/item/food/snacks/grown/rice
|
||||
product = /obj/item/food/grown/rice
|
||||
mutatelist = list()
|
||||
growthstages = 3
|
||||
|
||||
/obj/item/food/snacks/grown/rice
|
||||
/obj/item/food/grown/rice
|
||||
seed = /obj/item/seeds/wheat/rice
|
||||
name = "rice"
|
||||
desc = "Rice to meet you."
|
||||
@@ -74,11 +74,11 @@
|
||||
icon_state = "seed-meatwheat"
|
||||
species = "meatwheat"
|
||||
plantname = "Meatwheat"
|
||||
product = /obj/item/food/snacks/grown/meatwheat
|
||||
product = /obj/item/food/grown/meatwheat
|
||||
mutatelist = list()
|
||||
reagents_add = list("protein" = 0.04)
|
||||
|
||||
/obj/item/food/snacks/grown/meatwheat
|
||||
/obj/item/food/grown/meatwheat
|
||||
name = "meatwheat"
|
||||
desc = "Some blood-drenched wheat stalks. You can crush them into what passes for meat if you squint hard enough."
|
||||
icon_state = "meatwheat"
|
||||
@@ -89,10 +89,10 @@
|
||||
tastes = list("meatwheat" = 1)
|
||||
can_distill = FALSE
|
||||
|
||||
/obj/item/food/snacks/grown/meatwheat/attack_self(mob/living/user)
|
||||
/obj/item/food/grown/meatwheat/attack_self(mob/living/user)
|
||||
user.visible_message("<span class='notice'>[user] crushes [src] into meat.</span>", "<span class='notice'>You crush [src] into something that resembles meat.</span>")
|
||||
playsound(user, 'sound/effects/blobattack.ogg', 50, 1)
|
||||
var/obj/item/food/snacks/meat/meatwheat/M = new(get_turf(user))
|
||||
var/obj/item/food/meat/meatwheat/M = new(get_turf(user))
|
||||
user.drop_item()
|
||||
qdel(src)
|
||||
user.put_in_hands(M)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-chili"
|
||||
species = "chili"
|
||||
plantname = "Chili Plants"
|
||||
product = /obj/item/food/snacks/grown/chili
|
||||
product = /obj/item/food/grown/chili
|
||||
lifespan = 20
|
||||
maturation = 5
|
||||
production = 5
|
||||
@@ -18,7 +18,7 @@
|
||||
mutatelist = list(/obj/item/seeds/chili/ice, /obj/item/seeds/chili/ghost)
|
||||
reagents_add = list("capsaicin" = 0.25, "vitamin" = 0.04, "plantmatter" = 0.04)
|
||||
|
||||
/obj/item/food/snacks/grown/chili
|
||||
/obj/item/food/grown/chili
|
||||
seed = /obj/item/seeds/chili
|
||||
name = "chili"
|
||||
desc = "It's spicy! Wait... IT'S BURNING ME!!"
|
||||
@@ -35,7 +35,7 @@
|
||||
icon_state = "seed-icepepper"
|
||||
species = "chiliice"
|
||||
plantname = "Chilly Pepper Plants"
|
||||
product = /obj/item/food/snacks/grown/icepepper
|
||||
product = /obj/item/food/grown/icepepper
|
||||
lifespan = 25
|
||||
maturation = 4
|
||||
production = 4
|
||||
@@ -43,7 +43,7 @@
|
||||
mutatelist = list()
|
||||
reagents_add = list("frostoil" = 0.25, "vitamin" = 0.02, "plantmatter" = 0.02)
|
||||
|
||||
/obj/item/food/snacks/grown/icepepper
|
||||
/obj/item/food/grown/icepepper
|
||||
seed = /obj/item/seeds/chili/ice
|
||||
name = "chilly pepper"
|
||||
desc = "It's a mutant strain of chili"
|
||||
@@ -61,7 +61,7 @@
|
||||
icon_state = "seed-chilighost"
|
||||
species = "chilighost"
|
||||
plantname = "Ghost Chili Plants"
|
||||
product = /obj/item/food/snacks/grown/ghost_chili
|
||||
product = /obj/item/food/grown/ghost_chili
|
||||
endurance = 10
|
||||
maturation = 10
|
||||
production = 10
|
||||
@@ -70,7 +70,7 @@
|
||||
mutatelist = list()
|
||||
reagents_add = list("condensedcapsaicin" = 0.3, "capsaicin" = 0.55, "plantmatter" = 0.04)
|
||||
|
||||
/obj/item/food/snacks/grown/ghost_chili
|
||||
/obj/item/food/grown/ghost_chili
|
||||
seed = /obj/item/seeds/chili/ghost
|
||||
name = "ghost chili"
|
||||
desc = "It seems to be vibrating gently."
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Citrus - base type
|
||||
/obj/item/food/snacks/grown/citrus
|
||||
/obj/item/food/grown/citrus
|
||||
seed = /obj/item/seeds/lime
|
||||
name = "citrus"
|
||||
desc = "It's so sour, your face will twist."
|
||||
@@ -14,7 +14,7 @@
|
||||
icon_state = "seed-lime"
|
||||
species = "lime"
|
||||
plantname = "Lime Tree"
|
||||
product = /obj/item/food/snacks/grown/citrus/lime
|
||||
product = /obj/item/food/grown/citrus/lime
|
||||
lifespan = 55
|
||||
endurance = 50
|
||||
yield = 4
|
||||
@@ -24,7 +24,7 @@
|
||||
mutatelist = list(/obj/item/seeds/orange)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/citrus/lime
|
||||
/obj/item/food/grown/citrus/lime
|
||||
seed = /obj/item/seeds/lime
|
||||
name = "lime"
|
||||
desc = "It's so sour, your face will twist."
|
||||
@@ -39,7 +39,7 @@
|
||||
icon_state = "seed-orange"
|
||||
species = "orange"
|
||||
plantname = "Orange Tree"
|
||||
product = /obj/item/food/snacks/grown/citrus/orange
|
||||
product = /obj/item/food/grown/citrus/orange
|
||||
lifespan = 60
|
||||
endurance = 50
|
||||
yield = 5
|
||||
@@ -51,7 +51,7 @@
|
||||
mutatelist = list(/obj/item/seeds/lime)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/citrus/orange
|
||||
/obj/item/food/grown/citrus/orange
|
||||
seed = /obj/item/seeds/orange
|
||||
name = "orange"
|
||||
desc = "It's an tangy fruit."
|
||||
@@ -67,7 +67,7 @@
|
||||
icon_state = "seed-lemon"
|
||||
species = "lemon"
|
||||
plantname = "Lemon Tree"
|
||||
product = /obj/item/food/snacks/grown/citrus/lemon
|
||||
product = /obj/item/food/grown/citrus/lemon
|
||||
lifespan = 55
|
||||
endurance = 45
|
||||
yield = 4
|
||||
@@ -78,7 +78,7 @@
|
||||
mutatelist = list(/obj/item/seeds/firelemon)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/citrus/lemon
|
||||
/obj/item/food/grown/citrus/lemon
|
||||
seed = /obj/item/seeds/lemon
|
||||
name = "lemon"
|
||||
desc = "When life gives you lemons, make lemonade."
|
||||
@@ -94,7 +94,7 @@
|
||||
icon_state = "seed-firelemon"
|
||||
species = "firelemon"
|
||||
plantname = "Combustible Lemon Tree"
|
||||
product = /obj/item/food/snacks/grown/firelemon
|
||||
product = /obj/item/food/grown/firelemon
|
||||
growing_icon = 'icons/obj/hydroponics/growing_fruits.dmi'
|
||||
icon_grow = "lime-grow"
|
||||
icon_dead = "lime-dead"
|
||||
@@ -104,7 +104,7 @@
|
||||
yield = 4
|
||||
reagents_add = list("plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/firelemon
|
||||
/obj/item/food/grown/firelemon
|
||||
seed = /obj/item/seeds/firelemon
|
||||
name = "combustible lemon"
|
||||
desc = "Made for burning houses down."
|
||||
@@ -114,7 +114,7 @@
|
||||
tastes = list("burning lemon" = 1)
|
||||
wine_flavor = "fire"
|
||||
|
||||
/obj/item/food/snacks/grown/firelemon/attack_self(mob/living/user)
|
||||
/obj/item/food/grown/firelemon/attack_self(mob/living/user)
|
||||
var/area/A = get_area(user)
|
||||
user.visible_message("<span class='warning'>[user] primes [src]!</span>", "<span class='userdanger'>You prime [src]!</span>")
|
||||
investigate_log("[key_name(user)] primed a combustible lemon for detonation at [A] [COORD(user)].", INVESTIGATE_BOMB)
|
||||
@@ -127,19 +127,19 @@
|
||||
playsound(loc, 'sound/weapons/armbomb.ogg', 75, TRUE, -3)
|
||||
addtimer(CALLBACK(src, PROC_REF(prime)), rand(10, 60))
|
||||
|
||||
/obj/item/food/snacks/grown/firelemon/burn()
|
||||
/obj/item/food/grown/firelemon/burn()
|
||||
prime()
|
||||
..()
|
||||
|
||||
/obj/item/food/snacks/grown/firelemon/proc/update_mob()
|
||||
/obj/item/food/grown/firelemon/proc/update_mob()
|
||||
if(ismob(loc))
|
||||
var/mob/M = loc
|
||||
M.unEquip(src)
|
||||
|
||||
/obj/item/food/snacks/grown/firelemon/ex_act(severity)
|
||||
/obj/item/food/grown/firelemon/ex_act(severity)
|
||||
qdel(src) //Ensuring that it's deleted by its own explosion
|
||||
|
||||
/obj/item/food/snacks/grown/firelemon/proc/prime()
|
||||
/obj/item/food/grown/firelemon/proc/prime()
|
||||
switch(seed.potency) //Combustible lemons are alot like IEDs, lots of flame, very little bang.
|
||||
if(0 to 30)
|
||||
update_mob()
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-cocoapod"
|
||||
species = "cocoapod"
|
||||
plantname = "Cocao Tree"
|
||||
product = /obj/item/food/snacks/grown/cocoapod
|
||||
product = /obj/item/food/grown/cocoapod
|
||||
lifespan = 20
|
||||
maturation = 5
|
||||
production = 5
|
||||
@@ -18,7 +18,7 @@
|
||||
mutatelist = list(/obj/item/seeds/cocoapod/vanillapod)
|
||||
reagents_add = list("cocoa" = 0.25, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/cocoapod
|
||||
/obj/item/food/grown/cocoapod
|
||||
seed = /obj/item/seeds/cocoapod
|
||||
name = "cocoa pod"
|
||||
desc = "Fattening... Mmmmm... chucklate."
|
||||
@@ -34,12 +34,12 @@
|
||||
icon_state = "seed-vanillapod"
|
||||
species = "vanillapod"
|
||||
plantname = "Vanilla Tree"
|
||||
product = /obj/item/food/snacks/grown/vanillapod
|
||||
product = /obj/item/food/grown/vanillapod
|
||||
genes = list(/datum/plant_gene/trait/repeated_harvest)
|
||||
mutatelist = list()
|
||||
reagents_add = list("vanilla" = 0.25, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/vanillapod
|
||||
/obj/item/food/grown/vanillapod
|
||||
seed = /obj/item/seeds/cocoapod/vanillapod
|
||||
name = "vanilla pod"
|
||||
desc = "Fattening... Mmmmm... vanilla."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-corn"
|
||||
species = "corn"
|
||||
plantname = "Corn Stalks"
|
||||
product = /obj/item/food/snacks/grown/corn
|
||||
product = /obj/item/food/grown/corn
|
||||
maturation = 8
|
||||
potency = 20
|
||||
growthstages = 3
|
||||
@@ -15,12 +15,12 @@
|
||||
mutatelist = list(/obj/item/seeds/corn/snapcorn)
|
||||
reagents_add = list("cornoil" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/corn
|
||||
/obj/item/food/grown/corn
|
||||
seed = /obj/item/seeds/corn
|
||||
name = "ear of corn"
|
||||
desc = "Needs some butter!"
|
||||
icon_state = "corn"
|
||||
cooked_type = /obj/item/food/snacks/popcorn
|
||||
cooked_type = /obj/item/food/popcorn
|
||||
filling_color = "#FFFF00"
|
||||
trash = /obj/item/grown/corncob
|
||||
bitesize_mod = 2
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-eggplant"
|
||||
species = "eggplant"
|
||||
plantname = "Eggplants"
|
||||
product = /obj/item/food/snacks/grown/eggplant
|
||||
product = /obj/item/food/grown/eggplant
|
||||
yield = 2
|
||||
potency = 20
|
||||
growing_icon = 'icons/obj/hydroponics/growing_vegetables.dmi'
|
||||
@@ -15,7 +15,7 @@
|
||||
mutatelist = list(/obj/item/seeds/eggplant/eggy)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/eggplant
|
||||
/obj/item/food/grown/eggplant
|
||||
seed = /obj/item/seeds/eggplant
|
||||
name = "eggplant"
|
||||
desc = "Maybe there's a chicken inside?"
|
||||
@@ -32,18 +32,18 @@
|
||||
icon_state = "seed-eggy"
|
||||
species = "eggy"
|
||||
plantname = "Egg-Plants"
|
||||
product = /obj/item/food/snacks/grown/shell/eggy
|
||||
product = /obj/item/food/grown/shell/eggy
|
||||
lifespan = 75
|
||||
production = 12
|
||||
mutatelist = list()
|
||||
reagents_add = list("nutriment" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/shell/eggy
|
||||
/obj/item/food/grown/shell/eggy
|
||||
seed = /obj/item/seeds/eggplant/eggy
|
||||
name = "Egg-plant"
|
||||
desc = "There MUST be a chicken inside."
|
||||
icon_state = "eggyplant"
|
||||
trash = /obj/item/food/snacks/egg
|
||||
trash = /obj/item/food/egg
|
||||
filling_color = "#F8F8FF"
|
||||
bitesize_mod = 2
|
||||
tastes = list("egg-plant" = 1)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-poppy"
|
||||
species = "poppy"
|
||||
plantname = "Poppy Plants"
|
||||
product = /obj/item/food/snacks/grown/poppy
|
||||
product = /obj/item/food/grown/poppy
|
||||
endurance = 10
|
||||
maturation = 8
|
||||
yield = 6
|
||||
@@ -17,7 +17,7 @@
|
||||
mutatelist = list(/obj/item/seeds/poppy/geranium, /obj/item/seeds/poppy/lily)
|
||||
reagents_add = list("bicaridine" = 0.2, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/poppy
|
||||
/obj/item/food/grown/poppy
|
||||
seed = /obj/item/seeds/poppy
|
||||
name = "poppy"
|
||||
desc = "Long-used as a symbol of rest, peace, and death."
|
||||
@@ -37,10 +37,10 @@
|
||||
plantname = "Lily Plants"
|
||||
icon_grow = "lily-grow"
|
||||
icon_dead = "lily-dead"
|
||||
product = /obj/item/food/snacks/grown/lily
|
||||
product = /obj/item/food/grown/lily
|
||||
mutatelist = list()
|
||||
|
||||
/obj/item/food/snacks/grown/lily
|
||||
/obj/item/food/grown/lily
|
||||
seed = /obj/item/seeds/poppy/lily
|
||||
name = "lily"
|
||||
desc = "A beautiful white flower."
|
||||
@@ -60,10 +60,10 @@
|
||||
plantname = "Geranium Plants"
|
||||
icon_grow = "geranium-grow"
|
||||
icon_dead = "geranium-dead"
|
||||
product = /obj/item/food/snacks/grown/geranium
|
||||
product = /obj/item/food/grown/geranium
|
||||
mutatelist = list()
|
||||
|
||||
/obj/item/food/snacks/grown/geranium
|
||||
/obj/item/food/grown/geranium
|
||||
seed = /obj/item/seeds/poppy/geranium
|
||||
name = "geranium"
|
||||
desc = "A beautiful purple flower."
|
||||
@@ -81,7 +81,7 @@
|
||||
icon_state = "seed-harebell"
|
||||
species = "harebell"
|
||||
plantname = "Harebells"
|
||||
product = /obj/item/food/snacks/grown/harebell
|
||||
product = /obj/item/food/grown/harebell
|
||||
lifespan = 100
|
||||
endurance = 20
|
||||
maturation = 7
|
||||
@@ -93,7 +93,7 @@
|
||||
growing_icon = 'icons/obj/hydroponics/growing_flowers.dmi'
|
||||
reagents_add = list("plantmatter" = 0.04)
|
||||
|
||||
/obj/item/food/snacks/grown/harebell
|
||||
/obj/item/food/grown/harebell
|
||||
seed = /obj/item/seeds/harebell
|
||||
name = "harebell"
|
||||
desc = "\"I'll sweeten thy sad grave: thou shalt not lack the flower that's like thy face, pale primrose, nor the azured hare-bell, like thy veins; no, nor the leaf of eglantine, whom not to slander, out-sweeten'd not thy breath.\""
|
||||
@@ -150,12 +150,12 @@
|
||||
plantname = "Moonflowers"
|
||||
icon_grow = "moonflower-grow"
|
||||
icon_dead = "sunflower-dead"
|
||||
product = /obj/item/food/snacks/grown/moonflower
|
||||
product = /obj/item/food/grown/moonflower
|
||||
mutatelist = list()
|
||||
reagents_add = list("moonshine" = 0.2, "vitamin" = 0.02, "plantmatter" = 0.02)
|
||||
rarity = 15
|
||||
|
||||
/obj/item/food/snacks/grown/moonflower
|
||||
/obj/item/food/grown/moonflower
|
||||
seed = /obj/item/seeds/sunflower/moonflower
|
||||
name = "moonflower"
|
||||
desc = "Store in a location at least 50 yards away from werewolves."
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
icon_state = "seed-garlic"
|
||||
species = "garlic"
|
||||
plantname = "Garlic Sprouts"
|
||||
product = /obj/item/food/snacks/grown/garlic
|
||||
product = /obj/item/food/grown/garlic
|
||||
yield = 6
|
||||
potency = 25
|
||||
growthstages = 3
|
||||
growing_icon = 'icons/obj/hydroponics/growing_vegetables.dmi'
|
||||
reagents_add = list("garlic" = 0.15, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/garlic
|
||||
/obj/item/food/grown/garlic
|
||||
seed = /obj/item/seeds/garlic
|
||||
name = "garlic"
|
||||
desc = "Delicious, but with a potentially overwhelming odor."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-grass"
|
||||
species = "grass"
|
||||
plantname = "Grass"
|
||||
product = /obj/item/food/snacks/grown/grass
|
||||
product = /obj/item/food/grown/grass
|
||||
lifespan = 40
|
||||
endurance = 40
|
||||
maturation = 2
|
||||
@@ -18,7 +18,7 @@
|
||||
mutatelist = list(/obj/item/seeds/grass/carpet)
|
||||
reagents_add = list("plantmatter" = 0.02, "hydrogen" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/grass
|
||||
/obj/item/food/grown/grass
|
||||
seed = /obj/item/seeds/grass
|
||||
name = "grass"
|
||||
desc = "Green and lush."
|
||||
@@ -30,10 +30,10 @@
|
||||
tastes = list("grass" = 1)
|
||||
wine_power = 0.15
|
||||
|
||||
/obj/item/food/snacks/grown/grass/attack_self(mob/user)
|
||||
/obj/item/food/grown/grass/attack_self(mob/user)
|
||||
to_chat(user, "<span class='notice'>You prepare the astroturf.</span>")
|
||||
var/grassAmt = 1 + round(seed.potency * tile_coefficient) // The grass we're holding
|
||||
for(var/obj/item/food/snacks/grown/grass/G in user.loc) // The grass on the floor
|
||||
for(var/obj/item/food/grown/grass/G in user.loc) // The grass on the floor
|
||||
if(G.type != type)
|
||||
continue
|
||||
grassAmt += 1 + round(G.seed.potency * tile_coefficient)
|
||||
@@ -48,11 +48,11 @@
|
||||
icon_state = "seed-carpet"
|
||||
species = "carpet"
|
||||
plantname = "Carpet"
|
||||
product = /obj/item/food/snacks/grown/grass/carpet
|
||||
product = /obj/item/food/grown/grass/carpet
|
||||
mutatelist = list()
|
||||
rarity = 10
|
||||
|
||||
/obj/item/food/snacks/grown/grass/carpet
|
||||
/obj/item/food/grown/grass/carpet
|
||||
seed = /obj/item/seeds/grass/carpet
|
||||
name = "carpet"
|
||||
desc = "The textile industry's dark secret."
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
icon_state = "seed-lettuce"
|
||||
species = "cabbage"
|
||||
plantname = "Comfrey"
|
||||
product = /obj/item/food/snacks/grown/comfrey
|
||||
product = /obj/item/food/grown/comfrey
|
||||
yield = 2
|
||||
maturation = 3
|
||||
growthstages = 1
|
||||
growing_icon = 'icons/obj/hydroponics/growing_vegetables.dmi'
|
||||
reagents_add = list("styptic_powder" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/comfrey
|
||||
/obj/item/food/grown/comfrey
|
||||
seed = /obj/item/seeds/comfrey
|
||||
name = "comfrey leaf"
|
||||
desc = "Mash to turn into a poultice."
|
||||
@@ -20,7 +20,7 @@
|
||||
tastes = list("comfrey" = 1)
|
||||
bitesize_mod = 2
|
||||
|
||||
/obj/item/food/snacks/grown/comfrey/attack_self(mob/user)
|
||||
/obj/item/food/grown/comfrey/attack_self(mob/user)
|
||||
var/obj/item/stack/medical/bruise_pack/comfrey/C = new(get_turf(user))
|
||||
C.heal_brute = seed.potency
|
||||
to_chat(user, "<span class='notice'>You mash [src] into a poultice.</span>")
|
||||
@@ -33,12 +33,12 @@
|
||||
icon_state = "seed-ambrosiavulgaris"
|
||||
species = "ambrosiavulgaris"
|
||||
plantname = "Aloe Vera Plant"
|
||||
product = /obj/item/food/snacks/grown/aloe
|
||||
product = /obj/item/food/grown/aloe
|
||||
yield = 2
|
||||
icon_dead = "ambrosia-dead"
|
||||
reagents_add = list("silver_sulfadiazine" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/aloe
|
||||
/obj/item/food/grown/aloe
|
||||
seed = /obj/item/seeds/aloe
|
||||
name = "aloe leaf"
|
||||
desc = "Mash to turn into a poultice."
|
||||
@@ -47,7 +47,7 @@
|
||||
tastes = list("aloe" = 1)
|
||||
bitesize_mod = 2
|
||||
|
||||
/obj/item/food/snacks/grown/aloe/attack_self(mob/user)
|
||||
/obj/item/food/grown/aloe/attack_self(mob/user)
|
||||
var/obj/item/stack/medical/ointment/aloe/A = new(get_turf(user))
|
||||
A.heal_burn = seed.potency
|
||||
to_chat(user, "<span class='notice'>You mash [src] into a poultice.</span>")
|
||||
@@ -61,7 +61,7 @@
|
||||
icon_state = "seed-mint"
|
||||
species = "mint"
|
||||
plantname = "Mint Plant"
|
||||
product = /obj/item/food/snacks/grown/mint
|
||||
product = /obj/item/food/grown/mint
|
||||
lifespan = 20
|
||||
maturation = 4
|
||||
production = 5
|
||||
@@ -70,7 +70,7 @@
|
||||
icon_dead = "mint-dead"
|
||||
reagents_add = list("mint" = 0.03, "plantmatter" = 0.03)
|
||||
|
||||
/obj/item/food/snacks/grown/mint
|
||||
/obj/item/food/grown/mint
|
||||
seed = /obj/item/seeds/mint
|
||||
name = "mint leaves"
|
||||
desc = "Process for mint. Distill for menthol. No need to experi-mint." //haha
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
icon_state = "seed-kudzu"
|
||||
species = "kudzu"
|
||||
plantname = "Kudzu"
|
||||
product = /obj/item/food/snacks/grown/kudzupod
|
||||
product = /obj/item/food/grown/kudzupod
|
||||
genes = list(/datum/plant_gene/trait/repeated_harvest, /datum/plant_gene/trait/plant_type/weed_hardy)
|
||||
lifespan = 20
|
||||
endurance = 10
|
||||
@@ -88,7 +88,7 @@
|
||||
adjust_potency(rand(15, -5))
|
||||
|
||||
|
||||
/obj/item/food/snacks/grown/kudzupod
|
||||
/obj/item/food/grown/kudzupod
|
||||
seed = /obj/item/seeds/kudzu
|
||||
name = "kudzu pod"
|
||||
desc = "<I>Pueraria Virallis</I>: An invasive species with vines that rapidly creep and wrap around whatever they contact."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-watermelon"
|
||||
species = "watermelon"
|
||||
plantname = "Watermelon Vines"
|
||||
product = /obj/item/food/snacks/grown/watermelon
|
||||
product = /obj/item/food/grown/watermelon
|
||||
lifespan = 50
|
||||
endurance = 40
|
||||
growing_icon = 'icons/obj/hydroponics/growing_fruits.dmi'
|
||||
@@ -21,12 +21,12 @@
|
||||
qdel(src)
|
||||
return OBLITERATION
|
||||
|
||||
/obj/item/food/snacks/grown/watermelon
|
||||
/obj/item/food/grown/watermelon
|
||||
seed = /obj/item/seeds/watermelon
|
||||
name = "watermelon"
|
||||
desc = "It's full of watery goodness."
|
||||
icon_state = "watermelon" // Sprite created by https://github.com/binarysudoku for Goonstation, They have relicensed it for our use.
|
||||
slice_path = /obj/item/food/snacks/watermelonslice
|
||||
slice_path = /obj/item/food/watermelonslice
|
||||
slices_num = 5
|
||||
dried_type = null
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
@@ -42,12 +42,12 @@
|
||||
icon_state = "seed-holymelon"
|
||||
species = "holymelon"
|
||||
plantname = "Holy Melon Vines"
|
||||
product = /obj/item/food/snacks/grown/holymelon
|
||||
product = /obj/item/food/grown/holymelon
|
||||
mutatelist = list()
|
||||
reagents_add = list("holywater" = 0.2, "vitamin" = 0.04, "nutriment" = 0.1)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/food/snacks/grown/holymelon
|
||||
/obj/item/food/grown/holymelon
|
||||
seed = /obj/item/seeds/watermelon/holy
|
||||
name = "holymelon"
|
||||
desc = "The water within this melon has been blessed by some deity that's particularly fond of watermelon."
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
icon_state = "seed-lettuce"
|
||||
species = "cabbage"
|
||||
plantname = "Lettuces"
|
||||
product = /obj/item/food/snacks/grown/lettuce
|
||||
product = /obj/item/food/grown/lettuce
|
||||
lifespan = 50
|
||||
endurance = 25
|
||||
maturation = 3
|
||||
@@ -43,7 +43,7 @@
|
||||
genes = list(/datum/plant_gene/trait/repeated_harvest)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/lettuce
|
||||
/obj/item/food/grown/lettuce
|
||||
seed = /obj/item/seeds/lettuce
|
||||
name = "lettuce"
|
||||
desc = "Often confused with cabbages."
|
||||
@@ -60,7 +60,7 @@
|
||||
icon_state = "seed-lettuce"
|
||||
species = "cabbage"
|
||||
plantname = "Cabbages"
|
||||
product = /obj/item/food/snacks/grown/cabbage
|
||||
product = /obj/item/food/grown/cabbage
|
||||
lifespan = 50
|
||||
endurance = 25
|
||||
maturation = 3
|
||||
@@ -72,7 +72,7 @@
|
||||
mutatelist = list(/obj/item/seeds/replicapod)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/cabbage
|
||||
/obj/item/food/grown/cabbage
|
||||
seed = /obj/item/seeds/cabbage
|
||||
name = "cabbage"
|
||||
desc = "Ewwwwwwwwww. Cabbage."
|
||||
@@ -90,7 +90,7 @@
|
||||
icon_state = "seed-sugarcane"
|
||||
species = "sugarcane"
|
||||
plantname = "Sugarcane"
|
||||
product = /obj/item/food/snacks/grown/sugarcane
|
||||
product = /obj/item/food/grown/sugarcane
|
||||
genes = list(/datum/plant_gene/trait/repeated_harvest)
|
||||
lifespan = 60
|
||||
endurance = 50
|
||||
@@ -99,7 +99,7 @@
|
||||
growthstages = 3
|
||||
reagents_add = list("sugar" = 0.25)
|
||||
|
||||
/obj/item/food/snacks/grown/sugarcane
|
||||
/obj/item/food/grown/sugarcane
|
||||
seed = /obj/item/seeds/sugarcane
|
||||
name = "sugarcane"
|
||||
desc = "Sickly sweet."
|
||||
@@ -143,7 +143,7 @@
|
||||
icon_state = "seed-gatfruit"
|
||||
species = "gatfruit"
|
||||
plantname = "Gatfruit Tree"
|
||||
product = /obj/item/food/snacks/grown/shell/gatfruit
|
||||
product = /obj/item/food/grown/shell/gatfruit
|
||||
genes = list(/datum/plant_gene/trait/repeated_harvest)
|
||||
lifespan = 20
|
||||
endurance = 20
|
||||
@@ -156,7 +156,7 @@
|
||||
growing_icon = 'icons/obj/hydroponics/growing_fruits.dmi'
|
||||
reagents_add = list("sulfur" = 0.1, "carbon" = 0.1, "nitrogen" = 0.07, "potassium" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/shell/gatfruit
|
||||
/obj/item/food/grown/shell/gatfruit
|
||||
seed = /obj/item/seeds/gatfruit
|
||||
name = "gatfruit"
|
||||
desc = "It smells like burning."
|
||||
@@ -174,12 +174,12 @@
|
||||
icon_state = "seed-cherry_bomb"
|
||||
species = "cherry_bomb"
|
||||
plantname = "Cherry Bomb Tree"
|
||||
product = /obj/item/food/snacks/grown/cherry_bomb
|
||||
product = /obj/item/food/grown/cherry_bomb
|
||||
mutatelist = list()
|
||||
reagents_add = list("plantmatter" = 0.1, "sugar" = 0.1, "blackpowder" = 0.7)
|
||||
rarity = 60 //See above
|
||||
|
||||
/obj/item/food/snacks/grown/cherry_bomb
|
||||
/obj/item/food/grown/cherry_bomb
|
||||
name = "cherry bombs"
|
||||
desc = "You think you can hear the hissing of a tiny fuse."
|
||||
icon_state = "cherry_bomb"
|
||||
@@ -191,7 +191,7 @@
|
||||
max_integrity = 40
|
||||
wine_power = 0.8
|
||||
|
||||
/obj/item/food/snacks/grown/cherry_bomb/attack_self(mob/living/user)
|
||||
/obj/item/food/grown/cherry_bomb/attack_self(mob/living/user)
|
||||
var/area/A = get_area(user)
|
||||
user.visible_message("<span class='warning'>[user] plucks the stem from [src]!</span>", "<span class='userdanger'>You pluck the stem from [src], which begins to hiss loudly!</span>")
|
||||
message_admins("[user] ([user.key ? user.key : "no key"]) primed a cherry bomb for detonation at [A] ([user.x], [user.y], [user.z]) <A href='byond://?_src_=holder;adminplayerobservecoodjump=1;X=[user.x];Y=[user.y];Z=[user.z]'>(JMP)</a>")
|
||||
@@ -201,16 +201,16 @@
|
||||
C.throw_mode_on()
|
||||
prime()
|
||||
|
||||
/obj/item/food/snacks/grown/cherry_bomb/deconstruct(disassembled = TRUE)
|
||||
/obj/item/food/grown/cherry_bomb/deconstruct(disassembled = TRUE)
|
||||
if(!disassembled)
|
||||
prime()
|
||||
if(!QDELETED(src))
|
||||
qdel(src)
|
||||
|
||||
/obj/item/food/snacks/grown/cherry_bomb/ex_act(severity)
|
||||
/obj/item/food/grown/cherry_bomb/ex_act(severity)
|
||||
qdel(src) //Ensuring that it's deleted by its own explosion. Also prevents mass chain reaction with piles of cherry bombs
|
||||
|
||||
/obj/item/food/snacks/grown/cherry_bomb/proc/prime()
|
||||
/obj/item/food/grown/cherry_bomb/proc/prime()
|
||||
icon_state = "cherry_bomb_lit"
|
||||
playsound(src, 'sound/goonstation/misc/fuse.ogg', seed.potency, 0)
|
||||
reagents.set_reagent_temp(1000) //Sets off the black powder
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/obj/item/food/snacks/grown/mushroom
|
||||
/obj/item/food/grown/mushroom
|
||||
name = "mushroom"
|
||||
bitesize_mod = 2
|
||||
wine_power = 0.4
|
||||
@@ -11,7 +11,7 @@
|
||||
icon_state = "mycelium-reishi"
|
||||
species = "reishi"
|
||||
plantname = "Reishi"
|
||||
product = /obj/item/food/snacks/grown/mushroom/reishi
|
||||
product = /obj/item/food/grown/mushroom/reishi
|
||||
lifespan = 35
|
||||
endurance = 35
|
||||
maturation = 10
|
||||
@@ -23,7 +23,7 @@
|
||||
growing_icon = 'icons/obj/hydroponics/growing_mushrooms.dmi'
|
||||
reagents_add = list("morphine" = 0.35, "charcoal" = 0.35, "nutriment" = 0)
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/reishi
|
||||
/obj/item/food/grown/mushroom/reishi
|
||||
seed = /obj/item/seeds/reishi
|
||||
name = "reishi"
|
||||
desc = "<I>Ganoderma lucidum</I>: A special fungus known for its medicinal and stress relieving properties."
|
||||
@@ -39,7 +39,7 @@
|
||||
icon_state = "mycelium-amanita"
|
||||
species = "amanita"
|
||||
plantname = "Fly Amanitas"
|
||||
product = /obj/item/food/snacks/grown/mushroom/amanita
|
||||
product = /obj/item/food/grown/mushroom/amanita
|
||||
lifespan = 50
|
||||
endurance = 35
|
||||
maturation = 10
|
||||
@@ -51,7 +51,7 @@
|
||||
mutatelist = list(/obj/item/seeds/angel)
|
||||
reagents_add = list("psilocybin" = 0.04, "amanitin" = 0.35, "nutriment" = 0, "growthserum" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/amanita
|
||||
/obj/item/food/grown/mushroom/amanita
|
||||
seed = /obj/item/seeds/amanita
|
||||
name = "fly amanita"
|
||||
desc = "<I>Amanita Muscaria</I>: Learn poisonous mushrooms by heart. Only pick mushrooms you know."
|
||||
@@ -67,7 +67,7 @@
|
||||
icon_state = "mycelium-angel"
|
||||
species = "angel"
|
||||
plantname = "Destroying Angels"
|
||||
product = /obj/item/food/snacks/grown/mushroom/angel
|
||||
product = /obj/item/food/grown/mushroom/angel
|
||||
lifespan = 50
|
||||
endurance = 35
|
||||
maturation = 12
|
||||
@@ -81,7 +81,7 @@
|
||||
rarity = 30
|
||||
origin_tech = "biotech=5"
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/angel
|
||||
/obj/item/food/grown/mushroom/angel
|
||||
seed = /obj/item/seeds/angel
|
||||
name = "destroying angel"
|
||||
desc = "<I>Amanita Virosa</I>: Deadly poisonous basidiomycete fungus filled with alpha amanitin."
|
||||
@@ -98,7 +98,7 @@
|
||||
icon_state = "mycelium-liberty"
|
||||
species = "liberty"
|
||||
plantname = "Liberty-Caps"
|
||||
product = /obj/item/food/snacks/grown/mushroom/libertycap
|
||||
product = /obj/item/food/grown/mushroom/libertycap
|
||||
maturation = 7
|
||||
production = 1
|
||||
yield = 5
|
||||
@@ -108,7 +108,7 @@
|
||||
growing_icon = 'icons/obj/hydroponics/growing_mushrooms.dmi'
|
||||
reagents_add = list("psilocybin" = 0.25, "nutriment" = 0.02)
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/libertycap
|
||||
/obj/item/food/grown/mushroom/libertycap
|
||||
seed = /obj/item/seeds/liberty
|
||||
name = "liberty-cap"
|
||||
desc = "<I>Psilocybe Semilanceata</I>: Liberate yourself!"
|
||||
@@ -126,7 +126,7 @@
|
||||
icon_state = "mycelium-plump"
|
||||
species = "plump"
|
||||
plantname = "Plump-Helmet Mushrooms"
|
||||
product = /obj/item/food/snacks/grown/mushroom/plumphelmet
|
||||
product = /obj/item/food/grown/mushroom/plumphelmet
|
||||
maturation = 8
|
||||
production = 1
|
||||
yield = 4
|
||||
@@ -137,7 +137,7 @@
|
||||
mutatelist = list(/obj/item/seeds/plump/walkingmushroom)
|
||||
reagents_add = list("vitamin" = 0.04, "nutriment" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/plumphelmet
|
||||
/obj/item/food/grown/mushroom/plumphelmet
|
||||
seed = /obj/item/seeds/plump
|
||||
name = "plump-helmet"
|
||||
desc = "<I>Plumus Hellmus</I>: Plump, soft and s-so inviting~"
|
||||
@@ -154,7 +154,7 @@
|
||||
icon_state = "mycelium-walkingmushroom"
|
||||
species = "walkingmushroom"
|
||||
plantname = "Walking Mushrooms"
|
||||
product = /obj/item/food/snacks/grown/mushroom/walkingmushroom
|
||||
product = /obj/item/food/grown/mushroom/walkingmushroom
|
||||
lifespan = 30
|
||||
endurance = 30
|
||||
maturation = 5
|
||||
@@ -164,7 +164,7 @@
|
||||
reagents_add = list("vitamin" = 0.05, "nutriment" = 0.15)
|
||||
rarity = 30
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/walkingmushroom
|
||||
/obj/item/food/grown/mushroom/walkingmushroom
|
||||
seed = /obj/item/seeds/plump/walkingmushroom
|
||||
name = "walking mushroom"
|
||||
desc = "<I>Plumus Locomotus</I>: The beginning of the great walk."
|
||||
@@ -174,7 +174,7 @@
|
||||
tastes = list("walking mushroom" = 1, "motion" = 1)
|
||||
can_distill = FALSE
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/walkingmushroom/attack_self(mob/user)
|
||||
/obj/item/food/grown/mushroom/walkingmushroom/attack_self(mob/user)
|
||||
if(isspaceturf(user.loc))
|
||||
return
|
||||
var/mob/living/simple_animal/hostile/mushroom/M = new /mob/living/simple_animal/hostile/mushroom(user.loc)
|
||||
@@ -194,7 +194,7 @@
|
||||
icon_state = "mycelium-chanter"
|
||||
species = "chanter"
|
||||
plantname = "Chanterelle Mushrooms"
|
||||
product = /obj/item/food/snacks/grown/mushroom/chanterelle
|
||||
product = /obj/item/food/grown/mushroom/chanterelle
|
||||
lifespan = 35
|
||||
endurance = 20
|
||||
maturation = 7
|
||||
@@ -206,7 +206,7 @@
|
||||
growing_icon = 'icons/obj/hydroponics/growing_mushrooms.dmi'
|
||||
reagents_add = list("nutriment" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/chanterelle
|
||||
/obj/item/food/grown/mushroom/chanterelle
|
||||
seed = /obj/item/seeds/chanter
|
||||
name = "chanterelle cluster"
|
||||
desc = "<I>Cantharellus Cibarius</I>: These jolly yellow little shrooms sure look tasty!"
|
||||
@@ -222,7 +222,7 @@
|
||||
icon_state = "mycelium-glowshroom"
|
||||
species = "glowshroom"
|
||||
plantname = "Glowshrooms"
|
||||
product = /obj/item/food/snacks/grown/mushroom/glowshroom
|
||||
product = /obj/item/food/grown/mushroom/glowshroom
|
||||
lifespan = 100 //ten times that is the delay
|
||||
endurance = 30
|
||||
maturation = 6
|
||||
@@ -236,7 +236,7 @@
|
||||
mutatelist = list(/obj/item/seeds/glowshroom/glowcap, /obj/item/seeds/glowshroom/shadowshroom)
|
||||
reagents_add = list("radium" = 0.1, "phosphorus" = 0.1, "nutriment" = 0.04)
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/glowshroom
|
||||
/obj/item/food/grown/mushroom/glowshroom
|
||||
seed = /obj/item/seeds/glowshroom
|
||||
name = "glowshroom cluster"
|
||||
desc = "<I>Mycena Bregprox</I>: This species of mushroom glows in the dark."
|
||||
@@ -248,7 +248,7 @@
|
||||
tastes = list("warmth" = 1, "light" = 1, "glowshroom" = 1)
|
||||
wine_power = 0.5
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/glowshroom/attack_self(mob/user)
|
||||
/obj/item/food/grown/mushroom/glowshroom/attack_self(mob/user)
|
||||
if(isspaceturf(user.loc))
|
||||
return FALSE
|
||||
if(!isturf(user.loc))
|
||||
@@ -279,14 +279,14 @@
|
||||
species = "glowcap"
|
||||
icon_harvest = "glowcap-harvest"
|
||||
plantname = "Glowcaps"
|
||||
product = /obj/item/food/snacks/grown/mushroom/glowshroom/glowcap
|
||||
product = /obj/item/food/grown/mushroom/glowshroom/glowcap
|
||||
maturation = 15
|
||||
genes = list(/datum/plant_gene/trait/glow/red, /datum/plant_gene/trait/cell_charge, /datum/plant_gene/trait/plant_type/fungal_metabolism)
|
||||
mutatelist = list()
|
||||
reagents_add = list("teslium" = 0.1, "nutriment" = 0.04)
|
||||
rarity = 30
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/glowshroom/glowcap
|
||||
/obj/item/food/grown/mushroom/glowshroom/glowcap
|
||||
seed = /obj/item/seeds/glowshroom/glowcap
|
||||
name = "glowcap cluster"
|
||||
desc = "<I>Mycena Ruthenia</I>: This species of mushroom glows in the dark, but isn't actually bioluminescent. They're warm to the touch..."
|
||||
@@ -306,7 +306,7 @@
|
||||
icon_state = "mycelium-tower"
|
||||
species = "mold"
|
||||
plantname = "Fungus"
|
||||
product = /obj/item/food/snacks/grown/mushroom/fungus
|
||||
product = /obj/item/food/grown/mushroom/fungus
|
||||
yield = 4
|
||||
icon_grow = "mold-grow"
|
||||
icon_dead = "mold-dead"
|
||||
@@ -315,7 +315,7 @@
|
||||
genes = list(/datum/plant_gene/trait/plant_type/fungal_metabolism)
|
||||
reagents_add = list("fungus" = 0.35)
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/fungus
|
||||
/obj/item/food/grown/mushroom/fungus
|
||||
seed = /obj/item/seeds/fungus
|
||||
name = "fungus"
|
||||
desc = "A fungus ideal for making antibacterials."
|
||||
@@ -332,14 +332,14 @@
|
||||
icon_grow = "shadowshroom-grow"
|
||||
icon_dead = "shadowshroom-dead"
|
||||
plantname = "Shadowshrooms"
|
||||
product = /obj/item/food/snacks/grown/mushroom/glowshroom/shadowshroom
|
||||
product = /obj/item/food/grown/mushroom/glowshroom/shadowshroom
|
||||
maturation = 15
|
||||
genes = list(/datum/plant_gene/trait/glow/shadow, /datum/plant_gene/trait/plant_type/fungal_metabolism)
|
||||
mutatelist = list()
|
||||
reagents_add = list("radium" = 0.2, "nutriment" = 0.04)
|
||||
rarity = 30
|
||||
|
||||
/obj/item/food/snacks/grown/mushroom/glowshroom/shadowshroom
|
||||
/obj/item/food/grown/mushroom/glowshroom/shadowshroom
|
||||
seed = /obj/item/seeds/glowshroom/shadowshroom
|
||||
name = "shadowshroom cluster"
|
||||
desc = "<I>Mycena Umbra</I>: This species of mushroom emits shadow instead of light."
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon_state = "seed-replicapod"
|
||||
species = "replicapod"
|
||||
plantname = "Nymph Pod"
|
||||
product = /obj/item/food/snacks/grown/nymph_pod
|
||||
product = /obj/item/food/grown/nymph_pod
|
||||
lifespan = 50
|
||||
endurance = 8
|
||||
maturation = 10
|
||||
@@ -12,14 +12,14 @@
|
||||
yield = 1
|
||||
reagents_add = list("plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/nymph_pod
|
||||
/obj/item/food/grown/nymph_pod
|
||||
seed = /obj/item/seeds/nymph
|
||||
name = "nymph pod"
|
||||
desc = "A peculiar wriggling pod with a grown nymph inside. Crack it open to let the nymph out."
|
||||
icon_state = "mushy"
|
||||
bitesize_mod = 2
|
||||
|
||||
/obj/item/food/snacks/grown/nymph_pod/attack_self(mob/user)
|
||||
/obj/item/food/grown/nymph_pod/attack_self(mob/user)
|
||||
new /mob/living/simple_animal/diona(get_turf(user))
|
||||
to_chat(user, "<span class='notice'>You crack open [src] letting the nymph out.</span>")
|
||||
user.drop_item()
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-olive"
|
||||
species = "olive"
|
||||
plantname = "Olive Tree"
|
||||
product = /obj/item/food/snacks/grown/olive
|
||||
product = /obj/item/food/grown/olive
|
||||
lifespan = 150
|
||||
endurance = 35
|
||||
yield = 5
|
||||
@@ -15,7 +15,7 @@
|
||||
mutatelist = list()
|
||||
reagents_add = list("vitamin" = 0.02, "plantmatter" = 0.2, "sodiumchloride" = 0.2)
|
||||
|
||||
/obj/item/food/snacks/grown/olive
|
||||
/obj/item/food/grown/olive
|
||||
seed = /obj/item/seeds/olive
|
||||
name = "olive"
|
||||
desc = "A small cylindrical salty fruit closely related to mangoes. Can be ground into a paste and mixed with water to make quality oil."
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon_state = "seed-onion"
|
||||
species = "onion"
|
||||
plantname = "Onion Sprouts"
|
||||
product = /obj/item/food/snacks/grown/onion
|
||||
product = /obj/item/food/grown/onion
|
||||
lifespan = 20
|
||||
maturation = 3
|
||||
production = 4
|
||||
@@ -16,14 +16,14 @@
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
mutatelist = list(/obj/item/seeds/onion/red)
|
||||
|
||||
/obj/item/food/snacks/grown/onion
|
||||
/obj/item/food/grown/onion
|
||||
seed = /obj/item/seeds/onion
|
||||
name = "onion"
|
||||
desc = "Nothing to cry over."
|
||||
icon_state = "onion"
|
||||
filling_color = "#C0C9A0"
|
||||
bitesize_mod = 2
|
||||
slice_path = /obj/item/food/snacks/onion_slice
|
||||
slice_path = /obj/item/food/onion_slice
|
||||
tastes = list("onion" = 1, "pungentness" = 1)
|
||||
slices_num = 2
|
||||
wine_power = 0.3
|
||||
@@ -36,22 +36,22 @@
|
||||
species = "onion_red"
|
||||
plantname = "Red Onion Sprouts"
|
||||
weed_chance = 1
|
||||
product = /obj/item/food/snacks/grown/onion/red
|
||||
product = /obj/item/food/grown/onion/red
|
||||
mutatelist = list()
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1, "onionjuice" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/onion/red
|
||||
/obj/item/food/grown/onion/red
|
||||
seed = /obj/item/seeds/onion/red
|
||||
name = "red onion"
|
||||
desc = "Purple despite the name."
|
||||
icon_state = "onion_red"
|
||||
filling_color = "#C29ACF"
|
||||
slice_path = /obj/item/food/snacks/onion_slice/red
|
||||
slice_path = /obj/item/food/onion_slice/red
|
||||
tastes = list("red onion" = 1, "pungentness" = 3)
|
||||
wine_power = 0.6
|
||||
wine_flavor = "powerful pungentness"
|
||||
|
||||
/obj/item/food/snacks/onion_slice
|
||||
/obj/item/food/onion_slice
|
||||
name = "onion slices"
|
||||
desc = "Rings, not for wearing."
|
||||
icon_state = "onionslice"
|
||||
@@ -59,9 +59,9 @@
|
||||
filling_color = "#C0C9A0"
|
||||
tastes = list("onion" = 1, "pungentness" = 1)
|
||||
gender = PLURAL
|
||||
cooked_type = /obj/item/food/snacks/onionrings
|
||||
cooked_type = /obj/item/food/onionrings
|
||||
|
||||
/obj/item/food/snacks/onion_slice/red
|
||||
/obj/item/food/onion_slice/red
|
||||
name = "red onion slices"
|
||||
desc = "They shine like exceptionally low quality amethyst."
|
||||
icon_state = "onionslice_red"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-potato"
|
||||
species = "potato"
|
||||
plantname = "Peanut Vines"
|
||||
product = /obj/item/food/snacks/grown/peanuts
|
||||
product = /obj/item/food/grown/peanuts
|
||||
lifespan = 30
|
||||
maturation = 10
|
||||
production = 1
|
||||
@@ -17,7 +17,7 @@
|
||||
genes = list(/datum/plant_gene/trait/repeated_harvest)
|
||||
reagents_add = list("plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/peanuts
|
||||
/obj/item/food/grown/peanuts
|
||||
seed = /obj/item/seeds/peanuts
|
||||
name = "patch of peanuts"
|
||||
desc = "Best avoided if you have spess allergies."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-pineapple"
|
||||
species = "pineapple"
|
||||
plantname = "Pineapple Plant"
|
||||
product = /obj/item/food/snacks/grown/pineapple
|
||||
product = /obj/item/food/grown/pineapple
|
||||
lifespan = 40
|
||||
endurance = 30
|
||||
growthstages = 3
|
||||
@@ -14,7 +14,7 @@
|
||||
mutatelist = list(/obj/item/seeds/apple)
|
||||
reagents_add = list("vitamin" = 0.02, "plantmatter" = 0.2, "water" = 0.04)
|
||||
|
||||
/obj/item/food/snacks/grown/pineapple
|
||||
/obj/item/food/grown/pineapple
|
||||
seed = /obj/item/seeds/pineapple
|
||||
name = "pineapple"
|
||||
desc = "A soft sweet interior surrounded by a spiky skin."
|
||||
@@ -25,7 +25,7 @@
|
||||
attack_verb = list("stung", "pined")
|
||||
throw_speed = 1
|
||||
throw_range = 5
|
||||
slice_path = /obj/item/food/snacks/pineappleslice
|
||||
slice_path = /obj/item/food/pineappleslice
|
||||
slices_num = 3
|
||||
filling_color = "#F6CB0B"
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-potato"
|
||||
species = "potato"
|
||||
plantname = "Potato Plants"
|
||||
product = /obj/item/food/snacks/grown/potato
|
||||
product = /obj/item/food/grown/potato
|
||||
lifespan = 30
|
||||
maturation = 10
|
||||
production = 1
|
||||
@@ -18,7 +18,7 @@
|
||||
mutatelist = list(/obj/item/seeds/potato/sweet)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/potato
|
||||
/obj/item/food/grown/potato
|
||||
seed = /obj/item/seeds/potato
|
||||
name = "potato"
|
||||
desc = "Boil 'em! Mash 'em! Stick 'em in a stew!"
|
||||
@@ -29,7 +29,7 @@
|
||||
distill_reagent = "vodka"
|
||||
|
||||
|
||||
/obj/item/food/snacks/grown/potato/wedges
|
||||
/obj/item/food/grown/potato/wedges
|
||||
name = "potato wedges"
|
||||
desc = "Slices of neatly cut potato."
|
||||
icon_state = "potato_wedges"
|
||||
@@ -39,10 +39,10 @@
|
||||
distill_reagent = "sbiten"
|
||||
|
||||
|
||||
/obj/item/food/snacks/grown/potato/attackby(obj/item/W, mob/user, params)
|
||||
/obj/item/food/grown/potato/attackby(obj/item/W, mob/user, params)
|
||||
if(W.sharp)
|
||||
to_chat(user, "<span class='notice'>You cut the potato into wedges with [W].</span>")
|
||||
var/obj/item/food/snacks/grown/potato/wedges/Wedges = new /obj/item/food/snacks/grown/potato/wedges
|
||||
var/obj/item/food/grown/potato/wedges/Wedges = new /obj/item/food/grown/potato/wedges
|
||||
if(!remove_item_from_storage(user))
|
||||
user.unEquip(src)
|
||||
user.put_in_hands(Wedges)
|
||||
@@ -58,11 +58,11 @@
|
||||
icon_state = "seed-sweetpotato"
|
||||
species = "sweetpotato"
|
||||
plantname = "Sweet Potato Plants"
|
||||
product = /obj/item/food/snacks/grown/potato/sweet
|
||||
product = /obj/item/food/grown/potato/sweet
|
||||
mutatelist = list()
|
||||
reagents_add = list("vitamin" = 0.1, "sugar" = 0.1, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/potato/sweet
|
||||
/obj/item/food/grown/potato/sweet
|
||||
seed = /obj/item/seeds/potato/sweet
|
||||
name = "sweet potato"
|
||||
desc = "It's sweet."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-pumpkin"
|
||||
species = "pumpkin"
|
||||
plantname = "Pumpkin Vines"
|
||||
product = /obj/item/food/snacks/grown/pumpkin
|
||||
product = /obj/item/food/grown/pumpkin
|
||||
lifespan = 50
|
||||
endurance = 40
|
||||
growthstages = 3
|
||||
@@ -17,7 +17,7 @@
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.2)
|
||||
|
||||
|
||||
/obj/item/food/snacks/grown/pumpkin
|
||||
/obj/item/food/grown/pumpkin
|
||||
seed = /obj/item/seeds/pumpkin
|
||||
name = "pumpkin"
|
||||
desc = "It's large and scary."
|
||||
@@ -28,7 +28,7 @@
|
||||
wine_power = 0.2
|
||||
var/carved_type = /obj/item/clothing/head/hardhat/pumpkinhead
|
||||
|
||||
/obj/item/food/snacks/grown/pumpkin/attackby(obj/item/W as obj, mob/user as mob, params)
|
||||
/obj/item/food/grown/pumpkin/attackby(obj/item/W as obj, mob/user as mob, params)
|
||||
if(W.sharp)
|
||||
user.show_message("<span class='notice'>You carve a face into [src]!</span>", 1)
|
||||
new carved_type(user.loc)
|
||||
@@ -44,13 +44,13 @@
|
||||
icon_state = "seed-blumpkin"
|
||||
species = "blumpkin"
|
||||
plantname = "Blumpkin Vines"
|
||||
product = /obj/item/food/snacks/grown/pumpkin/blumpkin
|
||||
product = /obj/item/food/grown/pumpkin/blumpkin
|
||||
mutatelist = list()
|
||||
reagents_add = list("ammonia" = 0.2, "chlorine" = 0.1, "plasma" = 0.1, "plantmatter" = 0.2)
|
||||
rarity = 20
|
||||
|
||||
|
||||
/obj/item/food/snacks/grown/pumpkin/blumpkin
|
||||
/obj/item/food/grown/pumpkin/blumpkin
|
||||
seed = /obj/item/seeds/pumpkin/blumpkin
|
||||
name = "blumpkin"
|
||||
desc = "The pumpkin's toxic sibling."
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
icon_state = "seed-x"
|
||||
species = "?????"
|
||||
plantname = "strange plant"
|
||||
product = /obj/item/food/snacks/grown/random
|
||||
product = /obj/item/food/grown/random
|
||||
icon_grow = "xpod-grow"
|
||||
icon_dead = "xpod-dead"
|
||||
icon_harvest = "xpod-harvest"
|
||||
@@ -30,14 +30,14 @@
|
||||
add_random_plant_type(100)
|
||||
desc = "Label: \n" + get_analyzer_text()
|
||||
|
||||
/obj/item/food/snacks/grown/random
|
||||
/obj/item/food/grown/random
|
||||
seed = /obj/item/seeds/random
|
||||
name = "strange plant"
|
||||
desc = "What could this even be?"
|
||||
icon_state = "crunchy"
|
||||
bitesize_mod = 2
|
||||
|
||||
/obj/item/food/snacks/grown/random/Initialize()
|
||||
/obj/item/food/grown/random/Initialize()
|
||||
. = ..()
|
||||
wine_power = rand(0.1,1.5)
|
||||
if(prob(1))
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-carrot"
|
||||
species = "carrot"
|
||||
plantname = "Carrots"
|
||||
product = /obj/item/food/snacks/grown/carrot
|
||||
product = /obj/item/food/grown/carrot
|
||||
maturation = 10
|
||||
production = 1
|
||||
yield = 5
|
||||
@@ -14,7 +14,7 @@
|
||||
mutatelist = list(/obj/item/seeds/carrot/parsnip)
|
||||
reagents_add = list("oculine" = 0.25, "vitamin" = 0.04, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/carrot
|
||||
/obj/item/food/grown/carrot
|
||||
seed = /obj/item/seeds/carrot
|
||||
name = "carrot"
|
||||
desc = "It's good for the eyes!"
|
||||
@@ -24,14 +24,14 @@
|
||||
tastes = list("carrot" = 1)
|
||||
wine_power = 0.3
|
||||
|
||||
/obj/item/food/snacks/grown/carrot/wedges
|
||||
/obj/item/food/grown/carrot/wedges
|
||||
name = "carrot wedges"
|
||||
desc = "Slices of neatly cut carrot."
|
||||
icon_state = "carrot_wedges"
|
||||
filling_color = "#FFA500"
|
||||
bitesize_mod = 2
|
||||
|
||||
/obj/item/food/snacks/grown/carrot/attackby(obj/item/I, mob/user, params)
|
||||
/obj/item/food/grown/carrot/attackby(obj/item/I, mob/user, params)
|
||||
if(I.sharp)
|
||||
to_chat(user, "<span class='notice'>You sharpen the carrot into a shiv with [I].</span>")
|
||||
var/obj/item/kitchen/knife/shiv/carrot/Shiv = new ()
|
||||
@@ -50,12 +50,12 @@
|
||||
icon_state = "seed-parsnip"
|
||||
species = "parsnip"
|
||||
plantname = "Parsnip"
|
||||
product = /obj/item/food/snacks/grown/parsnip
|
||||
product = /obj/item/food/grown/parsnip
|
||||
icon_dead = "carrot-dead"
|
||||
mutatelist = list()
|
||||
reagents_add = list("vitamin" = 0.05, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/parsnip
|
||||
/obj/item/food/grown/parsnip
|
||||
seed = /obj/item/seeds/carrot/parsnip
|
||||
name = "parsnip"
|
||||
desc = "Closely related to carrots."
|
||||
@@ -72,7 +72,7 @@
|
||||
icon_state = "seed-whitebeet"
|
||||
species = "whitebeet"
|
||||
plantname = "White Beet Plants"
|
||||
product = /obj/item/food/snacks/grown/whitebeet
|
||||
product = /obj/item/food/grown/whitebeet
|
||||
lifespan = 60
|
||||
endurance = 50
|
||||
yield = 6
|
||||
@@ -81,7 +81,7 @@
|
||||
mutatelist = list(/obj/item/seeds/redbeet)
|
||||
reagents_add = list("vitamin" = 0.04, "sugar" = 0.2, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/whitebeet
|
||||
/obj/item/food/grown/whitebeet
|
||||
seed = /obj/item/seeds/whitebeet
|
||||
name = "white beet"
|
||||
desc = "You can't beat white beet."
|
||||
@@ -98,7 +98,7 @@
|
||||
icon_state = "seed-redbeet"
|
||||
species = "redbeet"
|
||||
plantname = "Red Beet Plants"
|
||||
product = /obj/item/food/snacks/grown/redbeet
|
||||
product = /obj/item/food/grown/redbeet
|
||||
lifespan = 60
|
||||
endurance = 50
|
||||
yield = 6
|
||||
@@ -107,7 +107,7 @@
|
||||
genes = list(/datum/plant_gene/trait/maxchem)
|
||||
reagents_add = list("vitamin" = 0.05, "plantmatter" = 0.05)
|
||||
|
||||
/obj/item/food/snacks/grown/redbeet
|
||||
/obj/item/food/grown/redbeet
|
||||
seed = /obj/item/seeds/redbeet
|
||||
name = "red beet"
|
||||
desc = "You can't beat red beet."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-teaaspera"
|
||||
species = "teaaspera"
|
||||
plantname = "Tea Aspera Plant"
|
||||
product = /obj/item/food/snacks/grown/tea
|
||||
product = /obj/item/food/grown/tea
|
||||
lifespan = 20
|
||||
maturation = 5
|
||||
production = 5
|
||||
@@ -16,7 +16,7 @@
|
||||
mutatelist = list(/obj/item/seeds/tea/astra)
|
||||
reagents_add = list("vitamin" = 0.04, "teapowder" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/tea
|
||||
/obj/item/food/grown/tea
|
||||
seed = /obj/item/seeds/tea
|
||||
name = "Tea Aspera tips"
|
||||
desc = "These aromatic tips of the tea plant can be dried to make tea."
|
||||
@@ -32,12 +32,12 @@
|
||||
desc = "These seeds grow into Tea Astra, a more potent variant of tea"
|
||||
species = "teaastra"
|
||||
plantname = "Tea Astra Plant"
|
||||
product = /obj/item/food/snacks/grown/tea/astra
|
||||
product = /obj/item/food/grown/tea/astra
|
||||
mutatelist = list()
|
||||
reagents_add = list("synaptizine" = 0.1, "vitamin" = 0.04, "teapowder" = 0.1)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/food/snacks/grown/tea/astra
|
||||
/obj/item/food/grown/tea/astra
|
||||
seed = /obj/item/seeds/tea/astra
|
||||
name = "Tea Astra tips"
|
||||
desc = "Knock away your fatigue!"
|
||||
@@ -53,7 +53,7 @@
|
||||
icon_state = "seed-coffeea"
|
||||
species = "coffeea"
|
||||
plantname = "Coffee Arabica Bush"
|
||||
product = /obj/item/food/snacks/grown/coffee
|
||||
product = /obj/item/food/grown/coffee
|
||||
lifespan = 30
|
||||
endurance = 20
|
||||
maturation = 5
|
||||
@@ -65,7 +65,7 @@
|
||||
mutatelist = list(/obj/item/seeds/coffee/robusta)
|
||||
reagents_add = list("vitamin" = 0.04, "coffeepowder" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/coffee
|
||||
/obj/item/food/grown/coffee
|
||||
seed = /obj/item/seeds/coffee
|
||||
name = "coffee arabica beans"
|
||||
desc = "Dry them out to make coffee."
|
||||
@@ -82,12 +82,12 @@
|
||||
icon_state = "seed-coffeer"
|
||||
species = "coffeer"
|
||||
plantname = "Coffee Robusta Bush"
|
||||
product = /obj/item/food/snacks/grown/coffee/robusta
|
||||
product = /obj/item/food/grown/coffee/robusta
|
||||
mutatelist = list()
|
||||
reagents_add = list("ephedrine" = 0.1, "vitamin" = 0.04, "coffeepowder" = 0.1)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/food/snacks/grown/coffee/robusta
|
||||
/obj/item/food/grown/coffee/robusta
|
||||
seed = /obj/item/seeds/coffee/robusta
|
||||
name = "coffee robusta beans"
|
||||
desc = "Increases robustness by 37 percent!"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-tobacco"
|
||||
species = "tobacco"
|
||||
plantname = "Tobacco Plant"
|
||||
product = /obj/item/food/snacks/grown/tobacco
|
||||
product = /obj/item/food/grown/tobacco
|
||||
lifespan = 20
|
||||
maturation = 5
|
||||
production = 5
|
||||
@@ -15,7 +15,7 @@
|
||||
mutatelist = list(/obj/item/seeds/tobacco/space)
|
||||
reagents_add = list("nicotine" = 0.03, "plantmatter" = 0.03)
|
||||
|
||||
/obj/item/food/snacks/grown/tobacco
|
||||
/obj/item/food/grown/tobacco
|
||||
seed = /obj/item/seeds/tobacco
|
||||
name = "tobacco leaves"
|
||||
desc = "Dry them out to make some smokes."
|
||||
@@ -31,12 +31,12 @@
|
||||
icon_state = "seed-stobacco"
|
||||
species = "stobacco"
|
||||
plantname = "Space Tobacco Plant"
|
||||
product = /obj/item/food/snacks/grown/tobacco/space
|
||||
product = /obj/item/food/grown/tobacco/space
|
||||
mutatelist = list()
|
||||
reagents_add = list("salbutamol" = 0.05, "nicotine" = 0.08, "plantmatter" = 0.03)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/food/snacks/grown/tobacco/space
|
||||
/obj/item/food/grown/tobacco/space
|
||||
seed = /obj/item/seeds/tobacco/space
|
||||
name = "space tobacco leaves"
|
||||
desc = "Dry them out to make some space-smokes."
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "seed-tomato"
|
||||
species = "tomato"
|
||||
plantname = "Tomato Plants"
|
||||
product = /obj/item/food/snacks/grown/tomato
|
||||
product = /obj/item/food/grown/tomato
|
||||
maturation = 8
|
||||
growing_icon = 'icons/obj/hydroponics/growing_fruits.dmi'
|
||||
icon_grow = "tomato-grow"
|
||||
@@ -14,12 +14,12 @@
|
||||
mutatelist = list(/obj/item/seeds/tomato/blue, /obj/item/seeds/tomato/blood)
|
||||
reagents_add = list("vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
|
||||
/obj/item/food/snacks/grown/tomato
|
||||
/obj/item/food/grown/tomato
|
||||
seed = /obj/item/seeds/tomato
|
||||
name = "tomato"
|
||||
desc = "I say to-mah-to, you say tom-mae-to."
|
||||
icon_state = "tomato"
|
||||
slice_path = /obj/item/food/snacks/tomatoslice
|
||||
slice_path = /obj/item/food/tomatoslice
|
||||
slices_num = 4
|
||||
splat_type = /obj/effect/decal/cleanable/tomato_smudge
|
||||
filling_color = "#FF6347"
|
||||
@@ -34,12 +34,12 @@
|
||||
icon_state = "seed-bloodtomato"
|
||||
species = "bloodtomato"
|
||||
plantname = "Blood-Tomato Plants"
|
||||
product = /obj/item/food/snacks/grown/tomato/blood
|
||||
product = /obj/item/food/grown/tomato/blood
|
||||
mutatelist = list(/obj/item/seeds/tomato/killer)
|
||||
reagents_add = list("blood" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/food/snacks/grown/tomato/blood
|
||||
/obj/item/food/grown/tomato/blood
|
||||
seed = /obj/item/seeds/tomato/blood
|
||||
name = "blood-tomato"
|
||||
desc = "So bloody...so...very...bloody....AHHHH!!!!"
|
||||
@@ -58,7 +58,7 @@
|
||||
icon_state = "seed-bluetomato"
|
||||
species = "bluetomato"
|
||||
plantname = "Blue-Tomato Plants"
|
||||
product = /obj/item/food/snacks/grown/tomato/blue
|
||||
product = /obj/item/food/grown/tomato/blue
|
||||
yield = 2
|
||||
icon_grow = "bluetomato-grow"
|
||||
mutatelist = list(/obj/item/seeds/tomato/blue/bluespace)
|
||||
@@ -66,7 +66,7 @@
|
||||
reagents_add = list("lube" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/food/snacks/grown/tomato/blue
|
||||
/obj/item/food/grown/tomato/blue
|
||||
seed = /obj/item/seeds/tomato/blue
|
||||
name = "blue-tomato"
|
||||
desc = "I say blue-mah-to, you say blue-mae-to."
|
||||
@@ -83,14 +83,14 @@
|
||||
icon_state = "seed-bluespacetomato"
|
||||
species = "bluespacetomato"
|
||||
plantname = "Bluespace Tomato Plants"
|
||||
product = /obj/item/food/snacks/grown/tomato/blue/bluespace
|
||||
product = /obj/item/food/grown/tomato/blue/bluespace
|
||||
yield = 2
|
||||
mutatelist = list()
|
||||
genes = list(/datum/plant_gene/trait/squash, /datum/plant_gene/trait/slip, /datum/plant_gene/trait/teleport, /datum/plant_gene/trait/repeated_harvest)
|
||||
reagents_add = list("lube" = 0.2, "singulo" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1)
|
||||
rarity = 50
|
||||
|
||||
/obj/item/food/snacks/grown/tomato/blue/bluespace
|
||||
/obj/item/food/grown/tomato/blue/bluespace
|
||||
seed = /obj/item/seeds/tomato/blue/bluespace
|
||||
name = "bluespace tomato"
|
||||
desc = "So lubricated, you might slip through space-time."
|
||||
@@ -108,7 +108,7 @@
|
||||
icon_state = "seed-killertomato"
|
||||
species = "killertomato"
|
||||
plantname = "Killer-Tomato Plants"
|
||||
product = /obj/item/food/snacks/grown/tomato/killer
|
||||
product = /obj/item/food/grown/tomato/killer
|
||||
yield = 2
|
||||
genes = list(/datum/plant_gene/trait/squash)
|
||||
growthstages = 2
|
||||
@@ -119,7 +119,7 @@
|
||||
reagents_add = list("vitamin" = 0.04, "protein" = 0.1)
|
||||
rarity = 30
|
||||
|
||||
/obj/item/food/snacks/grown/tomato/killer
|
||||
/obj/item/food/grown/tomato/killer
|
||||
seed = /obj/item/seeds/tomato/killer
|
||||
name = "killer-tomato"
|
||||
desc = "I say to-mah-to, you say tom-mae-to... OH GOD IT'S EATING MY LEGS!!"
|
||||
@@ -129,13 +129,13 @@
|
||||
origin_tech = "biotech=4;combat=5"
|
||||
distill_reagent = "demonsblood"
|
||||
|
||||
/obj/item/food/snacks/grown/tomato/killer/attack(mob/M, mob/user, def_zone)
|
||||
/obj/item/food/grown/tomato/killer/attack(mob/M, mob/user, def_zone)
|
||||
if(awakening)
|
||||
to_chat(user, "<span class='warning'>The tomato is twitching and shaking, preventing you from eating it.</span>")
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/food/snacks/grown/tomato/killer/attack_self(mob/user)
|
||||
/obj/item/food/grown/tomato/killer/attack_self(mob/user)
|
||||
if(awakening || isspaceturf(user.loc))
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You begin to awaken the Killer Tomato...</span>")
|
||||
|
||||
@@ -43,11 +43,11 @@
|
||||
attack_verb = list("bashed", "battered", "bludgeoned", "whacked")
|
||||
var/plank_type = /obj/item/stack/sheet/wood
|
||||
var/plank_name = "wooden planks"
|
||||
var/static/list/accepted = typecacheof(list(/obj/item/food/snacks/grown/tobacco,
|
||||
/obj/item/food/snacks/grown/tea,
|
||||
/obj/item/food/snacks/grown/ambrosia/vulgaris,
|
||||
/obj/item/food/snacks/grown/ambrosia/deus,
|
||||
/obj/item/food/snacks/grown/wheat))
|
||||
var/static/list/accepted = typecacheof(list(/obj/item/food/grown/tobacco,
|
||||
/obj/item/food/grown/tea,
|
||||
/obj/item/food/grown/ambrosia/vulgaris,
|
||||
/obj/item/food/grown/ambrosia/deus,
|
||||
/obj/item/food/grown/wheat))
|
||||
|
||||
/obj/item/grown/log/attackby(obj/item/W, mob/user, params)
|
||||
if(W.sharp)
|
||||
@@ -68,7 +68,7 @@
|
||||
qdel(src)
|
||||
|
||||
if(CheckAccepted(W))
|
||||
var/obj/item/food/snacks/grown/leaf = W
|
||||
var/obj/item/food/grown/leaf = W
|
||||
if(leaf.dry)
|
||||
user.show_message("<span class='notice'>You wrap \the [W] around the log, turning it into a torch!</span>")
|
||||
var/obj/item/flashlight/flare/torch/T = new /obj/item/flashlight/flare/torch(user.loc)
|
||||
|
||||
@@ -857,7 +857,7 @@
|
||||
else if(istype(O, /obj/item/storage/bag/plants))
|
||||
attack_hand(user)
|
||||
var/obj/item/storage/bag/plants/S = O
|
||||
for(var/obj/item/food/snacks/grown/G in locate(user.x,user.y,user.z))
|
||||
for(var/obj/item/food/grown/G in locate(user.x,user.y,user.z))
|
||||
if(!S.can_be_inserted(G))
|
||||
return
|
||||
S.handle_item_insertion(G, user, TRUE)
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/datum/plant_gene/trait/proc/on_new(obj/item/food/snacks/grown/G)
|
||||
/datum/plant_gene/trait/proc/on_new(obj/item/food/grown/G)
|
||||
if(!origin_tech) // This ugly code segment adds RnD tech levels to resulting plants.
|
||||
return
|
||||
|
||||
@@ -224,19 +224,19 @@
|
||||
else
|
||||
G.origin_tech = list2params(origin_tech)
|
||||
|
||||
/datum/plant_gene/trait/proc/on_consume(obj/item/food/snacks/grown/G, mob/living/carbon/target)
|
||||
/datum/plant_gene/trait/proc/on_consume(obj/item/food/grown/G, mob/living/carbon/target)
|
||||
return
|
||||
|
||||
/datum/plant_gene/trait/proc/on_slip(obj/item/food/snacks/grown/G, mob/living/carbon/target)
|
||||
/datum/plant_gene/trait/proc/on_slip(obj/item/food/grown/G, mob/living/carbon/target)
|
||||
return
|
||||
|
||||
/datum/plant_gene/trait/proc/on_squash(obj/item/food/snacks/grown/G, atom/target)
|
||||
/datum/plant_gene/trait/proc/on_squash(obj/item/food/grown/G, atom/target)
|
||||
return
|
||||
|
||||
/datum/plant_gene/trait/proc/on_attackby(obj/item/food/snacks/grown/G, obj/item/I, mob/user)
|
||||
/datum/plant_gene/trait/proc/on_attackby(obj/item/food/grown/G, obj/item/I, mob/user)
|
||||
return
|
||||
|
||||
/datum/plant_gene/trait/proc/on_throw_impact(obj/item/food/snacks/grown/G, atom/target)
|
||||
/datum/plant_gene/trait/proc/on_throw_impact(obj/item/food/grown/G, atom/target)
|
||||
return
|
||||
|
||||
/datum/plant_gene/trait/squash
|
||||
@@ -256,7 +256,7 @@
|
||||
examine_line = "<span class='info'>It has a very slippery skin.</span>"
|
||||
dangerous = TRUE
|
||||
|
||||
/datum/plant_gene/trait/slip/on_new(obj/item/food/snacks/grown/G)
|
||||
/datum/plant_gene/trait/slip/on_new(obj/item/food/grown/G)
|
||||
. = ..()
|
||||
if(istype(G) && ispath(G.trash, /obj/item/grown))
|
||||
return
|
||||
@@ -280,19 +280,19 @@
|
||||
origin_tech = list("powerstorage" = 5)
|
||||
dangerous = TRUE
|
||||
|
||||
/datum/plant_gene/trait/cell_charge/on_slip(obj/item/food/snacks/grown/G, mob/living/carbon/C)
|
||||
/datum/plant_gene/trait/cell_charge/on_slip(obj/item/food/grown/G, mob/living/carbon/C)
|
||||
var/power = G.seed.potency*rate
|
||||
if(prob(power))
|
||||
C.electrocute_act(round(power), G, 1, SHOCK_NOGLOVES)
|
||||
|
||||
/datum/plant_gene/trait/cell_charge/on_squash(obj/item/food/snacks/grown/G, atom/target)
|
||||
/datum/plant_gene/trait/cell_charge/on_squash(obj/item/food/grown/G, atom/target)
|
||||
if(isliving(target))
|
||||
var/mob/living/carbon/C = target
|
||||
var/power = G.seed.potency*rate
|
||||
if(prob(power))
|
||||
C.electrocute_act(round(power), G, 1, SHOCK_NOGLOVES)
|
||||
|
||||
/datum/plant_gene/trait/cell_charge/on_consume(obj/item/food/snacks/grown/G, mob/living/carbon/target)
|
||||
/datum/plant_gene/trait/cell_charge/on_consume(obj/item/food/grown/G, mob/living/carbon/target)
|
||||
if(!G.reagents.total_volume)
|
||||
var/batteries_recharged = 0
|
||||
for(var/obj/item/stock_parts/cell/C in target.GetAllContents())
|
||||
@@ -325,7 +325,7 @@
|
||||
/datum/plant_gene/trait/glow/proc/glow_power(obj/item/seeds/S)
|
||||
return max(S.potency*(rate + 0.01), 0.1)
|
||||
|
||||
/datum/plant_gene/trait/glow/on_new(obj/item/food/snacks/grown/G)
|
||||
/datum/plant_gene/trait/glow/on_new(obj/item/food/grown/G)
|
||||
..()
|
||||
G.set_light(glow_range(G.seed), glow_power(G.seed), glow_color)
|
||||
|
||||
@@ -356,7 +356,7 @@
|
||||
origin_tech = list("bluespace" = 5)
|
||||
dangerous = TRUE
|
||||
|
||||
/datum/plant_gene/trait/teleport/on_squash(obj/item/food/snacks/grown/G, atom/target)
|
||||
/datum/plant_gene/trait/teleport/on_squash(obj/item/food/grown/G, atom/target)
|
||||
if(isliving(target))
|
||||
var/mob/living/L = target
|
||||
var/teleport_radius = max(round(G.seed.potency / 10), 1)
|
||||
@@ -365,7 +365,7 @@
|
||||
do_teleport(L, T, teleport_radius)
|
||||
L.apply_status_effect(STATUS_EFFECT_TELEPORTSICK)
|
||||
|
||||
/datum/plant_gene/trait/teleport/on_slip(obj/item/food/snacks/grown/G, mob/living/carbon/C)
|
||||
/datum/plant_gene/trait/teleport/on_slip(obj/item/food/grown/G, mob/living/carbon/C)
|
||||
var/teleport_radius = max(round(G.seed.potency / 10), 1)
|
||||
var/turf/T = get_turf(C)
|
||||
if(do_teleport(C, T, teleport_radius))
|
||||
@@ -386,7 +386,7 @@
|
||||
name = "Densified Chemicals"
|
||||
rate = 2
|
||||
|
||||
/datum/plant_gene/trait/maxchem/on_new(obj/item/food/snacks/grown/G)
|
||||
/datum/plant_gene/trait/maxchem/on_new(obj/item/food/grown/G)
|
||||
..()
|
||||
G.reagents.maximum_volume *= rate
|
||||
|
||||
@@ -403,7 +403,7 @@
|
||||
/datum/plant_gene/trait/battery
|
||||
name = "Capacitive Cell Production"
|
||||
|
||||
/datum/plant_gene/trait/battery/on_attackby(obj/item/food/snacks/grown/G, obj/item/I, mob/user)
|
||||
/datum/plant_gene/trait/battery/on_attackby(obj/item/food/grown/G, obj/item/I, mob/user)
|
||||
if(istype(I, /obj/item/stack/cable_coil))
|
||||
var/obj/item/stack/cable_coil/C = I
|
||||
if(C.use(5))
|
||||
@@ -432,7 +432,7 @@
|
||||
name = "Hypodermic Prickles"
|
||||
dangerous = TRUE
|
||||
|
||||
/datum/plant_gene/trait/stinging/on_throw_impact(obj/item/food/snacks/grown/G, atom/target)
|
||||
/datum/plant_gene/trait/stinging/on_throw_impact(obj/item/food/grown/G, atom/target)
|
||||
if(isliving(target) && G.reagents && G.reagents.total_volume)
|
||||
var/mob/living/L = target
|
||||
// It would be nice to inject the body part the original thrower aimed at,
|
||||
@@ -449,7 +449,7 @@
|
||||
name = "Gaseous Decomposition"
|
||||
dangerous = TRUE
|
||||
|
||||
/datum/plant_gene/trait/smoke/on_squash(obj/item/food/snacks/grown/G, atom/target)
|
||||
/datum/plant_gene/trait/smoke/on_squash(obj/item/food/grown/G, atom/target)
|
||||
var/datum/effect_system/smoke_spread/chem/plant/S = new()
|
||||
var/splat_location = get_turf(target)
|
||||
var/smoke_amount = round(sqrt(G.seed.potency * 0.1), 1)
|
||||
@@ -464,7 +464,7 @@
|
||||
if(!(S.resistance_flags & FIRE_PROOF))
|
||||
S.resistance_flags |= FIRE_PROOF
|
||||
|
||||
/datum/plant_gene/trait/fire_resistance/on_new(obj/item/food/snacks/grown/G)
|
||||
/datum/plant_gene/trait/fire_resistance/on_new(obj/item/food/grown/G)
|
||||
if(!(G.resistance_flags & FIRE_PROOF))
|
||||
G.resistance_flags |= FIRE_PROOF
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
output_loc = extractor.loc
|
||||
|
||||
var/original_seed = null
|
||||
if(istype(source_item, /obj/item/food/snacks/grown))
|
||||
var/obj/item/food/snacks/grown/F = source_item
|
||||
if(istype(source_item, /obj/item/food/grown))
|
||||
var/obj/item/food/grown/F = source_item
|
||||
original_seed = F.unsorted_seed || F.seed
|
||||
else if(istype(source_item, /obj/item/grown))
|
||||
var/obj/item/grown/F = source_item
|
||||
@@ -103,7 +103,7 @@
|
||||
SStgui.update_uis(src)
|
||||
else
|
||||
var/seedable = 0
|
||||
for(var/obj/item/food/snacks/grown/ignored in P)
|
||||
for(var/obj/item/food/grown/ignored in P)
|
||||
seedable++
|
||||
for(var/obj/item/grown/ignored in P)
|
||||
seedable++
|
||||
|
||||
@@ -242,8 +242,8 @@
|
||||
data = list("blood_type" = "O-")
|
||||
if(rid == "nutriment" || rid == "vitamin" || rid == "protein" || rid == "plantmatter")
|
||||
// Apple tastes of apple.
|
||||
if(istype(T, /obj/item/food/snacks/grown))
|
||||
var/obj/item/food/snacks/grown/grown_edible = T
|
||||
if(istype(T, /obj/item/food/grown))
|
||||
var/obj/item/food/grown/grown_edible = T
|
||||
data = grown_edible.tastes.Copy()
|
||||
|
||||
T.reagents.add_reagent(rid, amount, data)
|
||||
|
||||
Reference in New Issue
Block a user