[#bugs] There seems to have been a regression in poptable modding where merging into a g...

Issue #11215 resolved
Freehold Games Bot Account created an issue

Marked for crossposting by: kernelmethod

Message (jump):

<kernelmethod> There seems to have been a regression in poptable modding where merging into a group will no longer respect <table>s unless they appear at a subgroup level. Proof of concept:

<?xml version="1.0" encoding="utf-8" ?>
<populations>
<population Name="MyTestTable">
<group Name="Items" Style="pickeach">
<object Blueprint="Scrap Cape" />
</group>
</population>

<population Name="MyTestTable2">
<group Name="Items" Style="pickeach">
<object Blueprint="Snapjaw Scavenger" />
</group>
</population>

<population Name="DataDiskWares" Load="Merge">
<group Name="Items" Style="pickeach" Load="Merge">
<!-- MyTestTable will be included -->
<group Name="MyTestGroup">
<table Name="MyTestTable" />
</group>

<!-- MyTestTable2 will not be included --> <table Name="MyTestTable2" /> </group>

</population>
</populations>

Running population:generate:DataDiskWares#100 gives
DataDisk: 100%
Scrap Cape: 100%
i.e. MyTestTable is being added in the merge, but MyTestTable2 is not.

Comments (5)

  1. kernelmethod

    Bitbucket stop mangling my goddamn code challenge (difficulty: impossible) (I’m being harsh but Bitbucket deserves it)

    <?xml version="1.0" encoding="utf-8" ?>
    <populations>
      <population Name="MyTestTable">
        <group Name="Items" Style="pickeach">
          <object Blueprint="Scrap Cape" />
        </group>
      </population>
    
      <population Name="MyTestTable2">
        <group Name="Items" Style="pickeach">
          <object Blueprint="Snapjaw Scavenger" />
        </group>
      </population>
    
      <population Name="DataDiskWares" Load="Merge">
        <group Name="Items" Style="pickeach" Load="Merge">
          <!-- MyTestTable will be included -->
          <group Name="MyTestGroup">
            <table Name="MyTestTable" />
          </group>
    
          <!-- MyTestTable2 will not be included -->
          <table Name="MyTestTable2" />
        </group>
      </population>
    </populations>
    

  2. Log in to comment