[#modding] Moddability request: The `Name` and `Location` attributes of a `StartingLocation...

Issue #6397 resolved
Freehold Games Bot Account created an issue

Marked for crossposting by: Noelle Lavenza (transgendeer)

Message (jump):

<Noelle Lavenza (transgendeer)> Moddability request: The Name and Location attributes of a StartingLocationData instance defined in EmbarkModules.xml should only be set if the attribute value is non-null, to allow easier merging/modification of definitions without accidentally unsetting these attributes.
As an example demonstration, using code from the Joppreseve mod (https://steamcommunity.com/sharedfiles/filedetails/?id=2810680418):
```xml
<?xml version="1.0" encoding="utf-8" ?>
<embarkmodules>
<module Class="XRL.CharacterBuilds.Qud.QudChooseStartingLocationModule">
<locations>
<location ID="SaltMarshVillage">
<stringgamestate Name="RuinedJoppa" Value="No" />
</location>

  <location ID="SaltDuneVillage">  
    <stringgamestate Name="RuinedJoppa" Value="No" />  
  </location>

  <location ID="DesertCanyonsVillage">  
    <stringgamestate Name="RuinedJoppa" Value="No" />  
  </location>

  <location ID="HillsVillage">  
    <stringgamestate Name="RuinedJoppa" Value="No" />  
  </location>  
</locations>

</module>
</embarkmodules>
```
Before: https://i.imgur.com/5kXDdSc.png
After: https://i.imgur.com/PQ3nA1c.png

Comments (3)

  1. Log in to comment