module things, jfc
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
/obj/structure/fermenting_barrel
|
||||
name = "wooden barrel"
|
||||
desc = "A large wooden barrel. You can ferment fruits and such inside it, or just use it to hold liquid."
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "barrel"
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
container_type = DRAINABLE | AMOUNT_VISIBLE
|
||||
pressure_resistance = 2 * ONE_ATMOSPHERE
|
||||
max_integrity = 300
|
||||
var/open = FALSE
|
||||
var/speed_multiplier = 1 //How fast it distills. Defaults to 100% (1.0). Lower is better.
|
||||
|
||||
/obj/structure/fermenting_barrel/Initialize()
|
||||
create_reagents(300) //Bluespace beakers, but without the portability or efficiency in circuits.
|
||||
. = ..()
|
||||
|
||||
/obj/structure/fermenting_barrel/examine(mob/user)
|
||||
. = ..()
|
||||
to_chat(user, "<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/reagent_containers/food/snacks/grown/fruit)
|
||||
if(fruit.reagents)
|
||||
fruit.reagents.trans_to(src, fruit.reagents.total_volume)
|
||||
var/amount = fruit.seed.potency / 4
|
||||
if(fruit.distill_reagent)
|
||||
reagents.add_reagent(fruit.distill_reagent, amount)
|
||||
else
|
||||
var/data = list()
|
||||
data["names"] = list("[initial(fruit.name)]" = 1)
|
||||
data["color"] = fruit.filling_color
|
||||
data["boozepwr"] = fruit.wine_power
|
||||
if(fruit.wine_flavor)
|
||||
data["tastes"] = list(fruit.wine_flavor = 1)
|
||||
else
|
||||
data["tastes"] = list(fruit.tastes[1] = 1)
|
||||
reagents.add_reagent("fruit_wine", amount, data)
|
||||
qdel(fruit)
|
||||
playsound(src, 'sound/effects/bubbles.ogg', 50, TRUE)
|
||||
|
||||
/obj/structure/fermenting_barrel/attackby(obj/item/I, mob/user, params)
|
||||
var/obj/item/reagent_containers/food/snacks/grown/fruit = I
|
||||
if(istype(fruit))
|
||||
if(!fruit.can_distill)
|
||||
to_chat(user, "<span class='warning'>You can't distill this into anything...</span>")
|
||||
return TRUE
|
||||
else if(!user.transferItemToLoc(I,src))
|
||||
to_chat(user, "<span class='warning'>[I] is stuck to your hand!</span>")
|
||||
return TRUE
|
||||
to_chat(user, "<span class='notice'>You place [I] into [src] to start the fermentation process.</span>")
|
||||
addtimer(CALLBACK(src, .proc/makeWine, fruit), rand(80, 120) * speed_multiplier)
|
||||
return TRUE
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/structure/fermenting_barrel/attack_hand(mob/user)
|
||||
open = !open
|
||||
if(open)
|
||||
container_type = REFILLABLE | AMOUNT_VISIBLE
|
||||
to_chat(user, "<span class='notice'>You open [src], letting you fill it.</span>")
|
||||
else
|
||||
container_type = DRAINABLE | AMOUNT_VISIBLE
|
||||
to_chat(user, "<span class='notice'>You close [src], letting you draw from its tap.</span>")
|
||||
update_icon()
|
||||
|
||||
/obj/structure/fermenting_barrel/update_icon()
|
||||
if(open)
|
||||
icon_state = "barrel_open"
|
||||
else
|
||||
icon_state = "barrel"
|
||||
|
||||
/datum/crafting_recipe/fermenting_barrel
|
||||
name = "Wooden Barrel"
|
||||
result = /obj/structure/fermenting_barrel
|
||||
reqs = list(/obj/item/stack/sheet/mineral/wood = 30)
|
||||
time = 50
|
||||
category = CAT_PRIMAL
|
||||
@@ -5,6 +5,7 @@
|
||||
icon_state = "dnamod"
|
||||
density = TRUE
|
||||
circuit = /obj/item/circuitboard/machine/plantgenes
|
||||
pass_flags = PASSTABLE
|
||||
|
||||
var/obj/item/seeds/seed
|
||||
var/obj/item/disk/plantgene/disk
|
||||
|
||||
@@ -16,6 +16,10 @@
|
||||
// If you don't want a plant to be driable (watermelons) set this to null in the time definition.
|
||||
resistance_flags = FLAMMABLE
|
||||
var/dry_grind = FALSE //If TRUE, this object needs to be dry to be ground up
|
||||
var/can_distill = TRUE //If FALSE, this object cannot be distilled into an alcohol.
|
||||
var/distill_reagent //If NULL and this object can be distilled, it uses a generic fruit_wine reagent and adjusts its variables.
|
||||
var/wine_flavor //If NULL, this is automatically set to the fruit's flavor. Determines the flavor of the wine if distill_reagent is NULL.
|
||||
var/wine_power = 10 //Determines the boozepwr of the wine if distill_reagent is NULL.
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/Initialize(mapload, obj/item/seeds/new_seed)
|
||||
. = ..()
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
seed = /obj/item/seeds/ambrosia
|
||||
name = "ambrosia vulgaris branch"
|
||||
desc = "This is a plant containing various healing chemicals."
|
||||
wine_power = 30
|
||||
|
||||
// Ambrosia Deus
|
||||
/obj/item/seeds/ambrosia/deus
|
||||
@@ -50,6 +51,7 @@
|
||||
desc = "Eating this makes you feel immortal!"
|
||||
icon_state = "ambrosiadeus"
|
||||
filling_color = "#008B8B"
|
||||
wine_power = 50
|
||||
|
||||
//Ambrosia Gaia
|
||||
/obj/item/seeds/ambrosia/gaia
|
||||
@@ -73,3 +75,5 @@
|
||||
filling_color = rgb(255, 175, 0)
|
||||
light_range = 3
|
||||
seed = /obj/item/seeds/ambrosia/gaia
|
||||
wine_power = 70
|
||||
wine_flavor = "the earthmother's blessing"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
foodtype = FRUIT
|
||||
juice_results = list("applejuice" = 0)
|
||||
tastes = list("apple" = 1)
|
||||
distill_reagent = "hcider"
|
||||
|
||||
// Gold Apple
|
||||
/obj/item/seeds/apple/gold
|
||||
@@ -47,3 +48,5 @@
|
||||
desc = "Emblazoned upon the apple is the word 'Kallisti'."
|
||||
icon_state = "goldapple"
|
||||
filling_color = "#FFD700"
|
||||
distill_reagent = null
|
||||
wine_power = 50
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
bitesize = 5
|
||||
foodtype = FRUIT
|
||||
juice_results = list("banana" = 0)
|
||||
distill_reagent = "bananahonk"
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/banana/suicide_act(mob/user)
|
||||
user.visible_message("<span class='suicide'>[user] is aiming [src] at [user.p_them()]self! It looks like [user.p_theyre()] trying to commit suicide!</span>")
|
||||
@@ -32,7 +33,7 @@
|
||||
sleep(25)
|
||||
if(!user)
|
||||
return (OXYLOSS)
|
||||
user.say("BANG!")
|
||||
user.say("BANG!", forced = "banana")
|
||||
sleep(25)
|
||||
if(!user)
|
||||
return (OXYLOSS)
|
||||
@@ -79,6 +80,7 @@
|
||||
icon_state = "mimana"
|
||||
trash = /obj/item/grown/bananapeel/mimanapeel
|
||||
filling_color = "#FFFFEE"
|
||||
distill_reagent = "silencer"
|
||||
|
||||
/obj/item/grown/bananapeel/mimanapeel
|
||||
seed = /obj/item/seeds/banana/mime
|
||||
@@ -109,6 +111,8 @@
|
||||
trash = /obj/item/grown/bananapeel/bluespace
|
||||
filling_color = "#0000FF"
|
||||
tastes = list("banana" = 1)
|
||||
wine_power = 60
|
||||
wine_flavor = "slippery hypercubes"
|
||||
|
||||
/obj/item/grown/bananapeel/bluespace
|
||||
seed = /obj/item/seeds/banana/bluespace
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
foodtype = VEGETABLES
|
||||
grind_results = list("soymilk" = 0)
|
||||
tastes = list("soy" = 1)
|
||||
wine_power = 20
|
||||
|
||||
// Koibean
|
||||
/obj/item/seeds/soya/koi
|
||||
@@ -51,3 +52,4 @@
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES
|
||||
tastes = list("koi" = 1)
|
||||
wine_power = 40
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
foodtype = FRUIT
|
||||
juice_results = list("berryjuice" = 0)
|
||||
tastes = list("berry" = 1)
|
||||
distill_reagent = "gin"
|
||||
|
||||
// Poison Berries
|
||||
/obj/item/seeds/berry/poison
|
||||
@@ -50,6 +51,8 @@
|
||||
foodtype = FRUIT | TOXIC
|
||||
juice_results = list("poisonberryjuice" = 0)
|
||||
tastes = list("poison-berry" = 1)
|
||||
distill_reagent = null
|
||||
wine_power = 35
|
||||
|
||||
// Death Berries
|
||||
/obj/item/seeds/berry/death
|
||||
@@ -73,6 +76,8 @@
|
||||
filling_color = "#708090"
|
||||
foodtype = FRUIT | TOXIC
|
||||
tastes = list("death-berry" = 1)
|
||||
distill_reagent = null
|
||||
wine_power = 50
|
||||
|
||||
// Glow Berries
|
||||
/obj/item/seeds/berry/glow
|
||||
@@ -97,6 +102,8 @@
|
||||
filling_color = "#7CFC00"
|
||||
foodtype = FRUIT
|
||||
tastes = list("glow-berry" = 1)
|
||||
distill_reagent = null
|
||||
wine_power = 60
|
||||
|
||||
// Cherries
|
||||
/obj/item/seeds/cherry
|
||||
@@ -129,6 +136,7 @@
|
||||
foodtype = FRUIT
|
||||
grind_results = list("cherryjelly" = 0)
|
||||
tastes = list("cherry" = 1)
|
||||
wine_power = 30
|
||||
|
||||
// Blue Cherries
|
||||
/obj/item/seeds/cherry/blue
|
||||
@@ -152,6 +160,7 @@
|
||||
foodtype = FRUIT
|
||||
grind_results = list("bluecherryjelly" = 0)
|
||||
tastes = list("blue cherry" = 1)
|
||||
wine_power = 50
|
||||
|
||||
// Grapes
|
||||
/obj/item/seeds/grape
|
||||
@@ -185,6 +194,7 @@
|
||||
foodtype = FRUIT
|
||||
juice_results = list("grapejuice" = 0)
|
||||
tastes = list("grape" = 1)
|
||||
distill_reagent = "wine"
|
||||
|
||||
// Green Grapes
|
||||
/obj/item/seeds/grape/green
|
||||
@@ -204,3 +214,4 @@
|
||||
icon_state = "greengrapes"
|
||||
filling_color = "#7FFF00"
|
||||
tastes = list("green grape" = 1)
|
||||
distill_reagent = "cognac"
|
||||
|
||||
@@ -92,25 +92,28 @@
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES //i dont really know what else weed could be to be honest
|
||||
tastes = list("cannabis" = 1)
|
||||
|
||||
wine_power = 20
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/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 = 60
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/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 = 40
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/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 = 10
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/cannabis/ultimate
|
||||
seed = /obj/item/seeds/cannabis/ultimate
|
||||
@@ -118,3 +121,4 @@
|
||||
desc = "You feel dizzy looking at it. What the fuck?"
|
||||
icon_state = "ocannabis"
|
||||
volume = 420
|
||||
wine_power = 90
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
foodtype = GRAIN
|
||||
grind_results = list("flour" = 0)
|
||||
tastes = list("wheat" = 1)
|
||||
distill_reagent = "beer"
|
||||
|
||||
// Oat
|
||||
/obj/item/seeds/wheat/oat
|
||||
@@ -46,6 +47,7 @@
|
||||
foodtype = GRAIN
|
||||
grind_results = list("flour" = 0)
|
||||
tastes = list("oat" = 1)
|
||||
distill_reagent = "ale"
|
||||
|
||||
// Rice
|
||||
/obj/item/seeds/wheat/rice
|
||||
@@ -69,6 +71,7 @@
|
||||
foodtype = GRAIN
|
||||
grind_results = list("rice" = 0)
|
||||
tastes = list("rice" = 1)
|
||||
distill_reagent = "sake"
|
||||
|
||||
//Meatwheat - grows into synthetic meat
|
||||
/obj/item/seeds/wheat/meat
|
||||
@@ -91,6 +94,7 @@
|
||||
foodtype = MEAT | GRAIN
|
||||
grind_results = list("flour" = 0, "blood" = 0)
|
||||
tastes = list("meatwheat" = 1)
|
||||
can_distill = FALSE
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/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>")
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
filling_color = "#FF0000"
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
wine_power = 20
|
||||
|
||||
// Ice Chili
|
||||
/obj/item/seeds/chili/ice
|
||||
@@ -50,6 +51,7 @@
|
||||
filling_color = "#0000CD"
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
wine_power = 30
|
||||
|
||||
// Ghost Chili
|
||||
/obj/item/seeds/chili/ghost
|
||||
@@ -76,6 +78,7 @@
|
||||
filling_color = "#F8F8FF"
|
||||
bitesize_mod = 4
|
||||
foodtype = FRUIT
|
||||
wine_power = 50
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/ghost_chili/attack_hand(mob/user)
|
||||
. = ..()
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
icon_state = "lime"
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
wine_power = 30
|
||||
|
||||
// Lime
|
||||
/obj/item/seeds/lime
|
||||
@@ -58,6 +59,7 @@
|
||||
icon_state = "orange"
|
||||
filling_color = "#FFA500"
|
||||
juice_results = list("orangejuice" = 0)
|
||||
distill_reagent = "triple_sec"
|
||||
|
||||
// Lemon
|
||||
/obj/item/seeds/lemon
|
||||
@@ -109,6 +111,7 @@
|
||||
icon_state = "firelemon"
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
wine_power = 70
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/firelemon/attack_self(mob/living/user)
|
||||
user.visible_message("<span class='warning'>[user] primes [src]!</span>", "<span class='userdanger'>You prime [src]!</span>")
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
tastes = list("cocoa" = 1)
|
||||
distill_reagent = "creme_de_cacao"
|
||||
|
||||
// Vanilla Pod
|
||||
/obj/item/seeds/cocoapod/vanillapod
|
||||
@@ -48,3 +49,4 @@
|
||||
filling_color = "#FFD700"
|
||||
foodtype = FRUIT
|
||||
tastes = list("vanilla" = 1)
|
||||
distill_reagent = "vanilla" //Takes longer, but you can get even more vanilla from it.
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
foodtype = VEGETABLES
|
||||
juice_results = list("corn_starch" = 0)
|
||||
tastes = list("corn" = 1)
|
||||
distill_reagent = "whiskey"
|
||||
|
||||
/obj/item/grown/corncob
|
||||
name = "corn cob"
|
||||
|
||||
@@ -23,12 +23,15 @@
|
||||
filling_color = "#800080"
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
wine_power = 20
|
||||
|
||||
// Egg-Plant
|
||||
/obj/item/seeds/eggplant/eggy
|
||||
name = "pack of egg-plant seeds"
|
||||
desc = "These seeds grow to produce berries that look a lot like eggs."
|
||||
icon_state = "seed-eggy"
|
||||
species = "eggy"
|
||||
plantname = "Egg-Plants"
|
||||
product = /obj/item/reagent_containers/food/snacks/grown/shell/eggy
|
||||
lifespan = 75
|
||||
production = 12
|
||||
@@ -44,3 +47,4 @@
|
||||
filling_color = "#F8F8FF"
|
||||
bitesize_mod = 2
|
||||
foodtype = MEAT
|
||||
distill_reagent = "eggnog"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
filling_color = "#FF6347"
|
||||
bitesize_mod = 3
|
||||
foodtype = VEGETABLES | GROSS
|
||||
distill_reagent = "vermouth"
|
||||
|
||||
// Lily
|
||||
/obj/item/seeds/poppy/lily
|
||||
@@ -61,7 +62,6 @@
|
||||
icon_state = "geranium"
|
||||
filling_color = "#008B8B"
|
||||
|
||||
|
||||
// Harebell
|
||||
/obj/item/seeds/harebell
|
||||
name = "pack of harebell seeds"
|
||||
@@ -89,7 +89,7 @@
|
||||
slot_flags = ITEM_SLOT_HEAD
|
||||
filling_color = "#E6E6FA"
|
||||
bitesize_mod = 3
|
||||
|
||||
distill_reagent = "vermouth"
|
||||
|
||||
// Sunflower
|
||||
/obj/item/seeds/sunflower
|
||||
@@ -152,6 +152,7 @@
|
||||
slot_flags = ITEM_SLOT_HEAD
|
||||
filling_color = "#E6E6FA"
|
||||
bitesize_mod = 2
|
||||
distill_reagent = "absinthe" //It's made from flowers.
|
||||
|
||||
// Novaflower
|
||||
/obj/item/seeds/sunflower/novaflower
|
||||
@@ -199,6 +200,7 @@
|
||||
log_game("[key_name(user)] set [key_name(M)] on fire with [src] at [AREACOORD(user)]")
|
||||
|
||||
/obj/item/grown/novaflower/afterattack(atom/A as mob|obj, mob/user,proximity)
|
||||
. = ..()
|
||||
if(!proximity)
|
||||
return
|
||||
if(force > 0)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
icon_dead = "grass-dead"
|
||||
genes = list(/datum/plant_gene/trait/repeated_harvest)
|
||||
mutatelist = list(/obj/item/seeds/grass/carpet)
|
||||
reagents_add = list("nutriment" = 0.02, "hydrogen" = 0.05, "oxygen" = 0.03) //CITADEL CHANGE - adds 0.03 oxygen to grass
|
||||
reagents_add = list("nutriment" = 0.02, "hydrogen" = 0.05)
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/grass
|
||||
seed = /obj/item/seeds/grass
|
||||
@@ -27,6 +27,7 @@
|
||||
bitesize_mod = 2
|
||||
var/stacktype = /obj/item/stack/tile/grass
|
||||
var/tile_coefficient = 0.02 // 1/50
|
||||
wine_power = 15
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/grass/attack_self(mob/user)
|
||||
to_chat(user, "<span class='notice'>You prepare the astroturf.</span>")
|
||||
@@ -56,3 +57,4 @@
|
||||
desc = "The textile industry's dark secret."
|
||||
icon_state = "carpetclump"
|
||||
stacktype = /obj/item/stack/tile/carpet
|
||||
can_distill = FALSE
|
||||
|
||||
@@ -104,3 +104,4 @@
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES | GROSS
|
||||
tastes = list("kudzu" = 1)
|
||||
wine_power = 20
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
bitesize_mod = 3
|
||||
foodtype = FRUIT
|
||||
juice_results = list("watermelonjuice" = 0)
|
||||
wine_power = 40
|
||||
|
||||
// Holymelon
|
||||
/obj/item/seeds/watermelon/holy
|
||||
@@ -54,6 +55,8 @@
|
||||
icon_state = "holymelon"
|
||||
filling_color = "#FFD700"
|
||||
dried_type = null
|
||||
wine_power = 70 //Water to wine, baby.
|
||||
wine_flavor = "divinity"
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/holymelon/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
filling_color = "#90EE90"
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES
|
||||
|
||||
wine_power = 20
|
||||
|
||||
// Sugarcane
|
||||
/obj/item/seeds/sugarcane
|
||||
@@ -81,7 +81,7 @@
|
||||
filling_color = "#FFD700"
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES | SUGAR
|
||||
|
||||
distill_reagent = "rum"
|
||||
|
||||
// Gatfruit
|
||||
/obj/item/seeds/gatfruit
|
||||
@@ -112,6 +112,7 @@
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
tastes = list("gunpowder" = 1)
|
||||
wine_power = 90 //It burns going down, too.
|
||||
|
||||
//Cherry Bombs
|
||||
/obj/item/seeds/cherry/bomb
|
||||
@@ -134,6 +135,7 @@
|
||||
bitesize_mod = 2
|
||||
volume = 125 //Gives enough room for the black powder at max potency
|
||||
max_integrity = 40
|
||||
wine_power = 80
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/cherry_bomb/attack_self(mob/living/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>")
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "mushroom"
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES
|
||||
|
||||
wine_power = 40
|
||||
|
||||
// Reishi
|
||||
/obj/item/seeds/reishi
|
||||
@@ -56,7 +56,6 @@
|
||||
icon_state = "amanita"
|
||||
filling_color = "#FF0000"
|
||||
|
||||
|
||||
// Destroying Angel
|
||||
/obj/item/seeds/angel
|
||||
name = "pack of destroying angel mycelium"
|
||||
@@ -83,7 +82,7 @@
|
||||
desc = "<I>Amanita Virosa</I>: Deadly poisonous basidiomycete fungus filled with alpha amatoxins."
|
||||
icon_state = "angel"
|
||||
filling_color = "#C0C0C0"
|
||||
|
||||
wine_power = 60
|
||||
|
||||
// Liberty Cap
|
||||
/obj/item/seeds/liberty
|
||||
@@ -108,7 +107,7 @@
|
||||
desc = "<I>Psilocybe Semilanceata</I>: Liberate yourself!"
|
||||
icon_state = "libertycap"
|
||||
filling_color = "#DAA520"
|
||||
|
||||
wine_power = 80
|
||||
|
||||
// Plump Helmet
|
||||
/obj/item/seeds/plump
|
||||
@@ -134,7 +133,7 @@
|
||||
desc = "<I>Plumus Hellmus</I>: Plump, soft and s-so inviting~"
|
||||
icon_state = "plumphelmet"
|
||||
filling_color = "#9370DB"
|
||||
|
||||
distill_reagent = "manlydorf"
|
||||
|
||||
// Walking Mushroom
|
||||
/obj/item/seeds/plump/walkingmushroom
|
||||
@@ -159,6 +158,7 @@
|
||||
desc = "<I>Plumus Locomotus</I>: The beginning of the great walk."
|
||||
icon_state = "walkingmushroom"
|
||||
filling_color = "#9370DB"
|
||||
can_distill = FALSE
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/mushroom/walkingmushroom/attack_self(mob/user)
|
||||
if(isspaceturf(user.loc))
|
||||
@@ -228,6 +228,7 @@
|
||||
icon_state = "glowshroom"
|
||||
filling_color = "#00FA9A"
|
||||
var/effect_path = /obj/structure/glowshroom
|
||||
wine_power = 50
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/mushroom/glowshroom/attack_self(mob/user)
|
||||
if(isspaceturf(user.loc))
|
||||
@@ -298,6 +299,7 @@
|
||||
icon_state = "shadowshroom"
|
||||
effect_path = /obj/structure/glowshroom/shadowshroom
|
||||
tastes = list("shadow" = 1, "mushroom" = 1)
|
||||
wine_power = 60
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/mushroom/glowshroom/shadowshroom/attack_self(mob/user)
|
||||
. = ..()
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon_state = "seed-nettle"
|
||||
species = "nettle"
|
||||
plantname = "Nettles"
|
||||
product = /obj/item/grown/nettle/basic
|
||||
product = /obj/item/reagent_containers/food/snacks/grown/nettle
|
||||
lifespan = 30
|
||||
endurance = 40 // tuff like a toiger
|
||||
yield = 4
|
||||
@@ -19,7 +19,7 @@
|
||||
icon_state = "seed-deathnettle"
|
||||
species = "deathnettle"
|
||||
plantname = "Death Nettles"
|
||||
product = /obj/item/grown/nettle/death
|
||||
product = /obj/item/reagent_containers/food/snacks/grown/nettle/death
|
||||
endurance = 25
|
||||
maturation = 8
|
||||
yield = 2
|
||||
@@ -28,7 +28,8 @@
|
||||
reagents_add = list("facid" = 0.5, "sacid" = 0.5)
|
||||
rarity = 20
|
||||
|
||||
/obj/item/grown/nettle //abstract type
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle // "snack"
|
||||
seed = /obj/item/seeds/nettle
|
||||
name = "nettle"
|
||||
desc = "It's probably <B>not</B> wise to touch it with bare hands..."
|
||||
icon = 'icons/obj/items_and_weapons.dmi'
|
||||
@@ -43,13 +44,12 @@
|
||||
throw_speed = 1
|
||||
throw_range = 3
|
||||
attack_verb = list("stung")
|
||||
grind_results = list("sacid" = 0)
|
||||
|
||||
/obj/item/grown/nettle/suicide_act(mob/user)
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/suicide_act(mob/user)
|
||||
user.visible_message("<span class='suicide'>[user] is eating some of [src]! It looks like [user.p_theyre()] trying to commit suicide!</span>")
|
||||
return (BRUTELOSS|TOXLOSS)
|
||||
|
||||
/obj/item/grown/nettle/pickup(mob/living/user)
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/pickup(mob/living/user)
|
||||
..()
|
||||
if(!iscarbon(user))
|
||||
return FALSE
|
||||
@@ -66,7 +66,8 @@
|
||||
to_chat(C, "<span class='userdanger'>The nettle burns your bare hand!</span>")
|
||||
return TRUE
|
||||
|
||||
/obj/item/grown/nettle/afterattack(atom/A as mob|obj, mob/user,proximity)
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/afterattack(atom/A as mob|obj, mob/user,proximity)
|
||||
. = ..()
|
||||
if(!proximity)
|
||||
return
|
||||
if(force > 0)
|
||||
@@ -75,38 +76,37 @@
|
||||
to_chat(usr, "All the leaves have fallen off the nettle from violent whacking.")
|
||||
qdel(src)
|
||||
|
||||
/obj/item/grown/nettle/basic
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/basic
|
||||
seed = /obj/item/seeds/nettle
|
||||
|
||||
/obj/item/grown/nettle/basic/add_juice()
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/basic/add_juice()
|
||||
..()
|
||||
force = round((5 + seed.potency / 5), 1)
|
||||
|
||||
/obj/item/grown/nettle/death
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/death
|
||||
seed = /obj/item/seeds/nettle/death
|
||||
name = "deathnettle"
|
||||
desc = "The <span class='danger'>glowing</span> nettle incites <span class='boldannounce'>rage</span> in you just from looking at it!"
|
||||
icon_state = "deathnettle"
|
||||
force = 30
|
||||
throwforce = 15
|
||||
grind_results = list("facid" = 1, "sacid" = 1)
|
||||
|
||||
/obj/item/grown/nettle/death/add_juice()
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/death/add_juice()
|
||||
..()
|
||||
force = round((5 + seed.potency / 2.5), 1)
|
||||
|
||||
/obj/item/grown/nettle/death/pickup(mob/living/carbon/user)
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/death/pickup(mob/living/carbon/user)
|
||||
if(..())
|
||||
if(prob(50))
|
||||
user.Knockdown(100)
|
||||
to_chat(user, "<span class='userdanger'>You are stunned by the Deathnettle as you try picking it up!</span>")
|
||||
|
||||
/obj/item/grown/nettle/death/attack(mob/living/carbon/M, mob/user)
|
||||
/obj/item/reagent_containers/food/snacks/grown/nettle/death/attack(mob/living/carbon/M, mob/user)
|
||||
if(!..())
|
||||
return
|
||||
if(isliving(M))
|
||||
to_chat(M, "<span class='danger'>You are stunned by the powerful acid of the Deathnettle!</span>")
|
||||
add_logs(user, M, "attacked", src)
|
||||
log_combat(user, M, "attacked", src)
|
||||
|
||||
M.adjust_blurriness(force/7)
|
||||
if(prob(20))
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
tastes = list("onions" = 1)
|
||||
slice_path = /obj/item/reagent_containers/food/snacks/onion_slice
|
||||
slices_num = 2
|
||||
wine_power = 30
|
||||
|
||||
/obj/item/seeds/onion/red
|
||||
name = "pack of red onion seeds"
|
||||
@@ -44,6 +45,7 @@
|
||||
icon_state = "onion_red"
|
||||
filling_color = "#C29ACF"
|
||||
slice_path = /obj/item/reagent_containers/food/snacks/onion_slice/red
|
||||
wine_power = 60
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/onion/slice(accuracy, obj/item/W, mob/user)
|
||||
var/datum/effect_system/smoke_spread/chem/S = new //Since the onion is destroyed when it's sliced,
|
||||
|
||||
@@ -31,3 +31,4 @@
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
foodtype = FRUIT | PINEAPPLE
|
||||
tastes = list("pineapple" = 1)
|
||||
wine_power = 40
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
bitesize = 100
|
||||
foodtype = VEGETABLES
|
||||
juice_results = list("potato" = 0)
|
||||
|
||||
distill_reagent = "vodka"
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/potato/wedges
|
||||
name = "potato wedges"
|
||||
@@ -64,3 +64,4 @@
|
||||
name = "sweet potato"
|
||||
desc = "It's sweet."
|
||||
icon_state = "sweetpotato"
|
||||
distill_reagent = "sbiten"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
juice_results = list("pumpkinjuice" = 0)
|
||||
wine_power = 20
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/pumpkin/attackby(obj/item/W as obj, mob/user as mob, params)
|
||||
if(W.is_sharp())
|
||||
@@ -56,3 +57,4 @@
|
||||
bitesize_mod = 2
|
||||
foodtype = FRUIT
|
||||
juice_results = list("blumpkinjuice" = 0)
|
||||
wine_power = 50
|
||||
|
||||
@@ -26,4 +26,10 @@
|
||||
name = "strange plant"
|
||||
desc = "What could this even be?"
|
||||
icon_state = "crunchy"
|
||||
bitesize_mod = 2
|
||||
bitesize_mod = 2
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/random/Initialize()
|
||||
. = ..()
|
||||
wine_power = rand(10,150)
|
||||
if(prob(1))
|
||||
wine_power = 200
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES
|
||||
juice_results = list("carrotjuice" = 0)
|
||||
wine_power = 30
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/carrot/attackby(obj/item/I, mob/user, params)
|
||||
if(I.is_sharp())
|
||||
@@ -53,6 +54,7 @@
|
||||
icon_state = "parsnip"
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES
|
||||
wine_power = 35
|
||||
|
||||
|
||||
// White-Beet
|
||||
@@ -79,6 +81,7 @@
|
||||
filling_color = "#F4A460"
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES
|
||||
wine_power = 40
|
||||
|
||||
// Red Beet
|
||||
/obj/item/seeds/redbeet
|
||||
@@ -103,3 +106,4 @@
|
||||
icon_state = "redbeet"
|
||||
bitesize_mod = 2
|
||||
foodtype = VEGETABLES
|
||||
wine_power = 60
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
filling_color = "#008000"
|
||||
grind_results = list("teapowder" = 0)
|
||||
dry_grind = TRUE
|
||||
can_distill = FALSE
|
||||
|
||||
// Tea Astra
|
||||
/obj/item/seeds/tea/astra
|
||||
@@ -71,6 +72,7 @@
|
||||
bitesize_mod = 2
|
||||
dry_grind = TRUE
|
||||
grind_results = list("coffeepowder" = 0)
|
||||
distill_reagent = "kahlua"
|
||||
|
||||
// Coffee Robusta
|
||||
/obj/item/seeds/coffee/robusta
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
desc = "Dry them out to make some smokes."
|
||||
icon_state = "tobacco_leaves"
|
||||
filling_color = "#008000"
|
||||
distill_reagent = "creme_de_menthe" //Menthol, I guess.
|
||||
|
||||
// Space Tobacco
|
||||
/obj/item/seeds/tobacco/space
|
||||
@@ -38,4 +39,6 @@
|
||||
seed = /obj/item/seeds/tobacco/space
|
||||
name = "space tobacco leaves"
|
||||
desc = "Dry them out to make some space-smokes."
|
||||
icon_state = "stobacco_leaves"
|
||||
icon_state = "stobacco_leaves"
|
||||
distill_reagent = null
|
||||
wine_power = 50
|
||||
@@ -25,6 +25,7 @@
|
||||
foodtype = FRUIT
|
||||
grind_results = list("ketchup" = 0)
|
||||
juice_results = list("tomatojuice" = 0)
|
||||
distill_reagent = "enzyme"
|
||||
|
||||
// Blood Tomato
|
||||
/obj/item/seeds/tomato/blood
|
||||
@@ -47,7 +48,7 @@
|
||||
filling_color = "#FF0000"
|
||||
foodtype = FRUIT | GROSS
|
||||
grind_results = list("ketchup" = 0, "blood" = 0)
|
||||
|
||||
distill_reagent = "bloodymary"
|
||||
|
||||
// Blue Tomato
|
||||
/obj/item/seeds/tomato/blue
|
||||
@@ -71,7 +72,7 @@
|
||||
icon_state = "bluetomato"
|
||||
splat_type = /obj/effect/decal/cleanable/oil
|
||||
filling_color = "#0000FF"
|
||||
|
||||
distill_reagent = "laughter"
|
||||
|
||||
// Bluespace Tomato
|
||||
/obj/item/seeds/tomato/blue/bluespace
|
||||
@@ -92,7 +93,8 @@
|
||||
name = "bluespace tomato"
|
||||
desc = "So lubricated, you might slip through space-time."
|
||||
icon_state = "bluespacetomato"
|
||||
|
||||
distill_reagent = null
|
||||
wine_power = 80
|
||||
|
||||
// Killer Tomato
|
||||
/obj/item/seeds/tomato/killer
|
||||
@@ -118,6 +120,7 @@
|
||||
icon_state = "killertomato"
|
||||
var/awakening = 0
|
||||
filling_color = "#FF0000"
|
||||
distill_reagent = "demonsblood"
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/tomato/killer/attack(mob/M, mob/user, def_zone)
|
||||
if(awakening)
|
||||
|
||||
Reference in New Issue
Block a user