mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-30 03:12:53 +00:00
* spanish? * aaaagain * keep maptext * Update robot_items.dm * Update span_defines.dm * compiles * Update silicon_mob.dm * compile
83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
// Corn
|
|
/obj/item/seeds/corn
|
|
name = "pack of corn seeds"
|
|
desc = "I don't mean to sound corny..."
|
|
icon_state = "seed-corn"
|
|
species = "corn"
|
|
plantname = "Corn Stalks"
|
|
product = /obj/item/food/grown/corn
|
|
maturation = 8
|
|
potency = 20
|
|
growthstages = 3
|
|
growing_icon = 'icons/obj/hydroponics/growing_vegetables.dmi'
|
|
icon_grow = "corn-grow" // Uses one growth icons set for all the subtypes
|
|
icon_dead = "corn-dead" // Same for the dead icon
|
|
mutatelist = list(/obj/item/seeds/corn/snapcorn)
|
|
reagents_add = list("cornoil" = 0.2, "vitamin" = 0.04, "plantmatter" = 0.1)
|
|
|
|
/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/popcorn
|
|
filling_color = "#FFFF00"
|
|
trash = /obj/item/grown/corncob
|
|
bitesize_mod = 2
|
|
tastes = list("corn" = 1)
|
|
distill_reagent = "whiskey"
|
|
wine_power = 0.4
|
|
|
|
/obj/item/grown/corncob
|
|
name = "corn cob"
|
|
desc = "A reminder of meals gone by."
|
|
icon_state = "corncob"
|
|
w_class = WEIGHT_CLASS_TINY
|
|
throw_speed = 3
|
|
|
|
/obj/item/grown/corncob/item_interaction(mob/living/user, obj/item/used, list/modifiers)
|
|
if(used.sharp)
|
|
to_chat(user, SPAN_NOTICE("You use [used] to fashion a pipe out of the corn cob!"))
|
|
new /obj/item/clothing/mask/cigarette/pipe/cobpipe (user.loc)
|
|
qdel(src)
|
|
return ITEM_INTERACT_COMPLETE
|
|
else
|
|
return ..()
|
|
|
|
// Snapcorn
|
|
/obj/item/seeds/corn/snapcorn
|
|
name = "pack of snapcorn seeds"
|
|
desc = "Oh snap!"
|
|
icon_state = "seed-snapcorn"
|
|
species = "snapcorn"
|
|
plantname = "Snapcorn Stalks"
|
|
product = /obj/item/grown/snapcorn
|
|
mutatelist = list()
|
|
rarity = 10
|
|
|
|
/obj/item/grown/snapcorn
|
|
name = "snap corn"
|
|
desc = "A cob with snap pops."
|
|
icon_state = "snapcorn"
|
|
seed = /obj/item/seeds/corn/snapcorn
|
|
w_class = WEIGHT_CLASS_TINY
|
|
throw_speed = 3
|
|
var/snap_pops = 1
|
|
|
|
/obj/item/grown/snapcorn/add_juice()
|
|
..()
|
|
snap_pops = max(round(seed.potency/8), 1)
|
|
|
|
/obj/item/grown/snapcorn/activate_self(mob/user)
|
|
if(..())
|
|
return
|
|
|
|
to_chat(user, SPAN_NOTICE("You pick a snap pop from the cob."))
|
|
var/obj/item/toy/snappop/S = new /obj/item/toy/snappop(user.loc)
|
|
if(ishuman(user))
|
|
user.put_in_hands(S)
|
|
snap_pops -= 1
|
|
if(!snap_pops)
|
|
new /obj/item/grown/corncob(user.loc)
|
|
qdel(src)
|