dna splicers that don't crash the game...

This commit is contained in:
chardub
2025-05-09 20:30:35 -04:00
parent 4ecf97b777
commit 13c7792686
7 changed files with 573 additions and 84 deletions

View File

@@ -35,7 +35,7 @@ module GameData
return nil if !species || !form
validate species => [Symbol, String]
validate form => Integer
raise _INTL("Undefined species {1}.", species) if !GameData::Species.exists?(species)
#raise _INTL("Undefined species {1}.", species) if !GameData::Species.exists?(species)
species = species.to_sym if species.is_a?(String)
if form > 0
trial = sprintf("%s_%d", species, form).to_sym