RimWorld

RimWorld

[B18] TiberiumRim: Factions
GDI trader doesn't come (bugged?)
From time to time i get an error message when a GDI trader wants to come.

{LINK REMOVED} This is the link to the public bug thingy which rimworld has build and ill pust the message below:

Faction Zocom of def GDI has no usable PawnGroupMakers for parms tile=67340, inhabitants=False, points=988, faction=Zocom, traderKind=, generateFightersOnly=False, raidStrategy=, forceOneIncap=False. groupKind=Trader
Verse.Log:Error(String)
RimWorld.<GeneratePawns>c__Iterator0:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
RimWorld.IncidentWorker_NeutralGroup:SpawnPawns(IncidentParms)
RimWorld.IncidentWorker_TraderCaravanArrival:TryExecuteWorker(IncidentParms)
RimWorld.IncidentWorker:TryExecute(IncidentParms)
RimWorld.Storyteller:TryFire(FiringIncident)
RimWorld.Storyteller:StorytellerTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
< >
Showing 1-1 of 1 comments
Winter 20 Mar, 2018 @ 12:41pm 
I think I've tracked this one down. In the Factions_GDI.xml file (and Nod, too), the PawnGroupMakers entry for Trader specifies Tiffalo_TBI as carriers. However, at the end of the definition of biomes (in Biomes_Temperate.xml, for instance), there is a list of allowedPackAnimals, which seems to determine which pack animals an incoming trade caravan can use. Since Tiffalo aren't in that list for all the biomes in the core game, the game fails to create the caravan since it can't find any valid pack animals.

I've worked around it for the moment by adding a patch file with the following contents:

<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationAdd">
<success>Always</success>
<xpath>/Defs/BiomeDef[defName="TemperateForest"]/allowedPackAnimals</xpath>
<value>
<li>Tiffalo_TBI</li>
</value>
<order>Append</order>
</Operation>

</Patch>

This only works for Temperate Forest, though. There may be a general-purpose variation of this that works for all biomes, but I haven't gotten that far yet.
< >
Showing 1-1 of 1 comments
Per page: 1530 50