thesePeople / CustomRitualFramework

A mod for the game Rimworld that adds a framework for adding new custom Ideological Rituals
5 stars 1 forks source link

CRF issues #18

Open twstagg opened 1 year ago

twstagg commented 1 year ago
Grammar unresolvable. Root 'r_deityType'

GRAMMAR RESOLUTION TRACE
1    r_deityType → [god] of [memeConcept]
2      god → Goddess
       memeConcept → UNRESOLVABLE
     r_deityType → UNRESOLVABLE

INCLUDES
DeityTypeMakerCorunan
DeityTypeMakerGlobal
GlobalUtility
TalkTopicsUtility

BARE INCLUDES
  memeAdjective → buccaneering
  memeAdjective → criminal
  memeAdjective → pillaging
  memeAdjective → plundering
  memeAdjective → mutinous
  memeAdjective → piratical
  memeLeaderNoun → skipper
  memeLeaderNoun → commander
  memeLeaderNoun → boss
  memeLeaderAdjective → gallant
  memeLeaderAdjective → draconian
  memeLeaderAdjective → callous
  memeLeaderAdjective → brave
  memeLeaderAdjective → ruthless
  memeLeaderAdjective → daring
  memeMoralist → chaplain
  memeMoralist → first mate
  memeMoralist → first officer
CONSTANTS
gender                                 Female

CUSTOM RULES

UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string)
Verse.Log:ErrorOnce (string,int)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,bool&,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,bool&,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) Verse.Grammar.GrammarResolver:Verse.Grammar.GrammarResolver.Resolve_Patch0 (string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
RimWorld.NameGenerator:GenerateName (Verse.Grammar.GrammarRequest,System.Predicate`1<string>,bool,string,string)
RimWorld.IdeoFoundation_Deity:FillDeity (RimWorld.IdeoFoundation_Deity/Deity)
RimWorld.IdeoFoundation_Deity:GenerateNewDeity ()
RimWorld.IdeoFoundation_Deity:GenerateDeities ()
RimWorld.IdeoFoundation_Deity:Init (RimWorld.IdeoGenerationParms)
RimWorld.IdeoGenerator:GenerateIdeo (RimWorld.IdeoGenerationParms)
RimWorld.FactionIdeosTracker:ChooseOrGenerateIdeo (RimWorld.IdeoGenerationParms)
RimWorld.FactionGenerator:NewGeneratedFaction (RimWorld.FactionGeneratorParms)
(wrapper dynamic-method) RimWorld.FactionGenerator:RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch1 (System.Collections.Generic.List`1<RimWorld.FactionDef>)
RimWorld.Planet.WorldGenStep_Factions:GenerateFresh (string)
(wrapper dynamic-method) RimWorld.Planet.WorldGenerator:RimWorld.Planet.WorldGenerator.GenerateWorld_Patch0 (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.List`1<RimWorld.FactionDef>,single)
HugsLib.Quickstart.QuickstartController:ApplyQuickstartConfiguration ()
HugsLib.Quickstart.QuickstartController/<>c:<InitiateMapGeneration>b__7_0 ()
(wrapper dynamic-method) Verse.LongEventHandler:Verse.LongEventHandler.RunEventFromAnotherThread_Patch0 (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

This happens on starting a save

thesePeople commented 1 year ago

Weird, not seeing any of our code there. That makes me think it might be something in one of our PreceptDefs in the XML.

twstagg commented 1 year ago
Failed to generate a unique precept name: adoption ritual at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Eulogy of Pain at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Eulogy of Pain at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name:  at 0% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Obscure Interment at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Secret Burial at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name:  at 0% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Reformed Burial at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name:  at 0% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Interment of Violence at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: adoption ritual at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Prime Mourning at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Great Burial at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name:  at 0% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Barky Funeral at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name:  at 0% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Funeral of Light at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name:  at 0% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Burial of Al-Mumin at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Interment of Dominance at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Technological Requiem at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Requiem of Augmentation at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: adoption ritual at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Eulogy of Technology at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: adoption ritual at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Funeral of Woman at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Eulogy of Femininity at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Outlaw Funeral at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: scrapping ritual at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Burial of Torture at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: adoption ritual at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name:  at 0% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: adoption ritual at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: adoption ritual at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name: Burial of Mankind at 50% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Failed to generate a unique precept name:  at 0% uniqueness 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
twstagg commented 1 year ago

Weird, not seeing any of our code there. That makes me think it might be something in one of our PreceptDefs in the XML.

I think so as well. It might be related to why I couldn't get the "Adoption" precept to work

I don't think I see any of the other precepts mentioned either.

https://gist.github.com/f04d92e3647493ca04cb00d1e3e086fd