mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-27 18:51:53 +00:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
//Random seeds; stats, traits, and plant type are randomized for each seed.
|
|
|
|
/obj/item/seeds/random
|
|
name = "pack of strange seeds"
|
|
desc = "Mysterious seeds as strange as their name implies. Spooky"
|
|
icon_state = "seed-x"
|
|
species = "?????"
|
|
plantname = "strange plant"
|
|
product = /obj/item/reagent_containers/food/snacks/grown/random
|
|
icon_grow = "xpod-grow"
|
|
icon_dead = "xpod-dead"
|
|
icon_harvest = "xpod-harvest"
|
|
growthstages = 4
|
|
|
|
/obj/item/seeds/random/New()
|
|
randomize_stats()
|
|
..()
|
|
if(prob(60))
|
|
add_random_reagents()
|
|
if(prob(50))
|
|
add_random_traits()
|
|
add_random_plant_type(35)
|
|
|
|
/obj/item/seeds/random/labelled
|
|
name = "pack of exotic strange seeds"
|
|
|
|
/obj/item/seeds/random/labelled/New()
|
|
. = ..()
|
|
add_random_traits(1, 2)
|
|
add_random_plant_type(100)
|
|
desc = "Label: \n" + get_analyzer_text()
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/random
|
|
seed = /obj/item/seeds/random
|
|
name = "strange plant"
|
|
desc = "What could this even be?"
|
|
icon_state = "crunchy"
|
|
bitesize_mod = 2
|
|
|
|
/obj/item/reagent_containers/food/snacks/grown/random/Initialize()
|
|
. = ..()
|
|
wine_power = rand(0.1,1.5)
|
|
if(prob(1))
|
|
wine_power = 2.0
|
|
|