mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Random seeds now have a base_name
This commit is contained in:
@@ -406,8 +406,10 @@
|
||||
/datum/seed/proc/randomize()
|
||||
|
||||
roundstart = 0
|
||||
seed_name = "strange plant" // TODO: name generator.
|
||||
// TODO: Better name generator
|
||||
seed_name = "cultivar #[uid]"
|
||||
display_name = "strange plants" // TODO: name generator.
|
||||
base_name = seed_name
|
||||
mysterious = 1
|
||||
seed_noun = pick("spores","nodes","cuttings","seeds")
|
||||
modular_icon = 1
|
||||
|
||||
@@ -96,9 +96,9 @@ var/global/datum/controller/plants/plant_controller // Set in New().
|
||||
// Proc for creating a random seed type.
|
||||
/datum/controller/plants/proc/create_random_seed(var/survive_on_station)
|
||||
var/datum/seed/seed = new()
|
||||
seed.randomize()
|
||||
seed.uid = plant_controller.seeds.len + 1
|
||||
seed.name = "[seed.uid]"
|
||||
seed.randomize()
|
||||
seeds[seed.name] = seed
|
||||
|
||||
if(survive_on_station)
|
||||
@@ -106,8 +106,7 @@ var/global/datum/controller/plants/plant_controller // Set in New().
|
||||
seed.consume_gasses["plasma"] = null
|
||||
seed.consume_gasses["carbon_dioxide"] = null
|
||||
if(seed.chems && !isnull(seed.chems["pacid"]))
|
||||
seed.chems["pacid"] = null // Eating through the hull will make these plants completely inviable, albeit very dangerous.
|
||||
seed.chems -= null // Setting to null does not actually remove the entry, which is weird.
|
||||
seed.chems -= "pacid" // Eating through the hull will make these plants completely inviable, albeit very dangerous.
|
||||
seed.set_trait(TRAIT_IDEAL_HEAT,293)
|
||||
seed.set_trait(TRAIT_HEAT_TOLERANCE,20)
|
||||
seed.set_trait(TRAIT_IDEAL_LIGHT,8)
|
||||
|
||||
Reference in New Issue
Block a user