mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-28 01:51:46 +00:00
## About The Pull Request <img alt="0Jva48mReD" src="https://github.com/user-attachments/assets/8b5ef2a2-c1dd-4561-89ef-15c0ca199e5d"> Renamed all seed packs to say "Apple seed pack" instead of "Pack of apple seeds. ## Why It's Good For The Game Shorter and better for UIs. Easier to find the needed items in a list, the important part of the name won't be truncated by ellipsis. ## Changelog 🆑 qol: Renamed seed packs to have the plant name at the beginning /🆑
36 lines
891 B
Plaintext
36 lines
891 B
Plaintext
//Random seeds; stats, traits, and plant type are randomized for each seed.
|
|
|
|
/obj/item/seeds/random
|
|
name = "strange seed pack"
|
|
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_CREW * 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
|