-
assigned issue to
- edited description
[#modding] Moddability request: The `Name` and `Location` attributes of a `StartingLocation...
Marked for crossposting by: Noelle Lavenza (transgendeer)
Message (jump):
<Noelle Lavenza (transgendeer)> Moddability request: The
Name
andLocation
attributes of aStartingLocationData
instance defined inEmbarkModules.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)
-
repo owner -
repo owner -
assigned issue to
-
assigned issue to
-
- changed status to resolved
- Log in to comment