CaravelGames / drod

The official public repository of Deadly Rooms of Death and DROD RPG
http://caravelgames.com
56 stars 17 forks source link

RPG: Fix Set Appearance for the third time #620

Closed kieranmillar closed 1 month ago

kieranmillar commented 1 month ago

Third attempt at fixing https://forum.caravelgames.com/viewtopic.php?TopicID=40625

Undoes PR #616 , which was working around the real issue and broke all saved games. Characters now store their initial identity, which stays the same even after using Set Appearance. When recovering default character scripts, the initial identity is used. If the initial identity does not exist (because you're loading an old saved game, etc.) then the current identity is assumed.