mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-31 12:01:47 +00:00
* every case of initialize that should have mapload, does * E Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
36 lines
895 B
Plaintext
36 lines
895 B
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/food/grown/random
|
|
icon_grow = "xpod-grow"
|
|
icon_dead = "xpod-dead"
|
|
icon_harvest = "xpod-harvest"
|
|
growthstages = 4
|
|
custom_premium_price = PAYCHECK_EASY * 2
|
|
|
|
/obj/item/seeds/random/Initialize(mapload)
|
|
. = ..()
|
|
randomize_stats()
|
|
if(prob(60))
|
|
add_random_reagents(1, 3)
|
|
if(prob(50))
|
|
add_random_traits(1, 2)
|
|
add_random_plant_type(35)
|
|
|
|
/obj/item/food/grown/random
|
|
seed = /obj/item/seeds/random
|
|
name = "strange plant"
|
|
desc = "What could this even be?"
|
|
icon_state = "crunchy"
|
|
|
|
/obj/item/food/grown/random/Initialize(mapload)
|
|
. = ..()
|
|
wine_power = rand(10,150)
|
|
if(prob(1))
|
|
wine_power = 200
|