mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
* I am suffering * Alright this should be all now * Fixes CI * I hate the online merge resolver. * This got lost in the merge master * Updatepaths fixed + new added * Contra review * Fixes desserts * Oops * This should fix it * Maybe? * Attempt 3 * Missed conflict * Update code/modules/reagents/chemistry/machinery/reagentgrinder.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> * Update code/modules/food_and_drinks/kitchen_machinery/kitchen_machine.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> * Update code/modules/food_and_drinks/food/foods/pizza.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> * Fixes grinders * Adds comment * Warrior review * Warrior + Sirryan review * Update code/modules/food_and_drinks/food_base.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> --------- Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
63 lines
1.8 KiB
Plaintext
63 lines
1.8 KiB
Plaintext
// Grass
|
|
/obj/item/seeds/grass
|
|
name = "pack of grass seeds"
|
|
desc = "These seeds grow into grass. Yummy!"
|
|
icon_state = "seed-grass"
|
|
species = "grass"
|
|
plantname = "Grass"
|
|
product = /obj/item/food/snacks/grown/grass
|
|
lifespan = 40
|
|
endurance = 40
|
|
maturation = 2
|
|
production = 5
|
|
yield = 5
|
|
growthstages = 2
|
|
icon_grow = "grass-grow"
|
|
icon_dead = "grass-dead"
|
|
genes = list(/datum/plant_gene/trait/repeated_harvest)
|
|
mutatelist = list(/obj/item/seeds/grass/carpet)
|
|
reagents_add = list("plantmatter" = 0.02, "hydrogen" = 0.05)
|
|
|
|
/obj/item/food/snacks/grown/grass
|
|
seed = /obj/item/seeds/grass
|
|
name = "grass"
|
|
desc = "Green and lush."
|
|
icon_state = "grassclump"
|
|
filling_color = "#32CD32"
|
|
bitesize_mod = 2
|
|
var/stacktype = /obj/item/stack/tile/grass
|
|
var/tile_coefficient = 0.02 // 1/50
|
|
tastes = list("grass" = 1)
|
|
wine_power = 0.15
|
|
|
|
/obj/item/food/snacks/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
|
|
if(G.type != type)
|
|
continue
|
|
grassAmt += 1 + round(G.seed.potency * tile_coefficient)
|
|
qdel(G)
|
|
new stacktype(user.drop_location(), grassAmt)
|
|
qdel(src)
|
|
|
|
// Carpet
|
|
/obj/item/seeds/grass/carpet
|
|
name = "pack of carpet seeds"
|
|
desc = "These seeds grow into stylish carpet samples."
|
|
icon_state = "seed-carpet"
|
|
species = "carpet"
|
|
plantname = "Carpet"
|
|
product = /obj/item/food/snacks/grown/grass/carpet
|
|
mutatelist = list()
|
|
rarity = 10
|
|
|
|
/obj/item/food/snacks/grown/grass/carpet
|
|
seed = /obj/item/seeds/grass/carpet
|
|
name = "carpet"
|
|
desc = "The textile industry's dark secret."
|
|
icon_state = "carpetclump"
|
|
stacktype = /obj/item/stack/tile/carpet
|
|
tastes = list("carpet" = 1)
|
|
can_distill = FALSE
|