RimWorld

RimWorld

Loot Goblin
Proof 2 May, 2024 @ 3:10pm
[BUG] Empty settings menu
Creating a new custom rule using <name>...</name> matching makes the menu completely empty.

LootRules_custom.xml:
<?xml version="1.0" encoding="utf-8"?> <Defs> <LootGoblin.LootRulesDef> <defName>DB_Misc_Rules</defName> <rules> <li> <match> <name>^wood$</name> </match> <lootType>DB_Type_Construction</lootType> </li> <li> <match> <name>^steel$</name> </match> <lootType>DB_Type_Construction</lootType> </li> </rules> </LootGoblin.LootRulesDef> </Defs>

LootType_custom.xml:
<?xml version="1.0" encoding="utf-8"?> <Defs> <LootGoblin.LootTypeDef> <defName>DB_Type_Mods</defName> <label>[DB] Mods</label> <parent>LG_Type_Everything</parent> <sort>20</sort> </LootGoblin.LootTypeDef> <LootGoblin.LootTypeDef> <defName>DB_Type_Construction</defName> <label>[DB] Construction Material</label> <parent>LG_Type_Resources</parent> </LootGoblin.LootTypeDef> </Defs>
< >
Showing 1-1 of 1 comments
Proof 2 May, 2024 @ 5:01pm 
After further testing it appears to be an error, not with using names, but with adding more than one LootTypeDef.

It seems the setting menu is unable to account for more options than the initial windowsize can fit.
< >
Showing 1-1 of 1 comments
Per page: 1530 50