feat: complete playtest parity improvements

This commit is contained in:
goose
2026-10-08 19:06:19 -04:00
parent cce25a1908
commit eca098b4b9
139 changed files with 3001 additions and 982 deletions
+7 -1
View File
@@ -7,17 +7,23 @@ var seed: String
var difficulty_id: StringName
var permadeath: bool
var pet_enabled: bool
var pet_name: String
var pet_species: String
func _init(
new_seed: String = "",
new_difficulty_id: StringName = &"crawler",
new_permadeath: bool = false,
new_pet_enabled: bool = false
new_pet_enabled: bool = false,
new_pet_name: String = "Familier",
new_pet_species: String = "Animal"
) -> void:
seed = new_seed.strip_edges()
difficulty_id = new_difficulty_id
permadeath = new_permadeath
pet_enabled = new_pet_enabled
pet_name = new_pet_name.strip_edges() if not new_pet_name.strip_edges().is_empty() else "Familier"
pet_species = new_pet_species.strip_edges() if not new_pet_species.strip_edges().is_empty() else "Animal"
func is_valid() -> bool:
return not seed.is_empty() and difficulty_id in DIFFICULTY_IDS