Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#684 fixed Dominant Ingrediant Calc #685

Merged
merged 1 commit into from
Feb 28, 2023
Merged

#684 fixed Dominant Ingrediant Calc #685

merged 1 commit into from
Feb 28, 2023

Conversation

Sn1p3rr3c0n
Copy link
Collaborator

resolves #684
also Ensured SAL and Assemblers use the same Calc code

Ensured SAL and Assemblers use the same Calc code
@Sn1p3rr3c0n Sn1p3rr3c0n merged commit b8fc045 into master Feb 28, 2023
@Sn1p3rr3c0n
Copy link
Collaborator Author

Turns out this change broke the production of meals

Exception ticking PRF_TypeTwoAssembler_II64545 (at (139, 0, 168)): System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.StatWorker.GetValueUnfinalized (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x008c0] in <38562b1a2ab64eacb931fb5df05ca994>:0 
  at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x00043] in <38562b1a2ab64eacb931fb5df05ca994>:0 
  at RimWorld.StatWorker.GetValueAbstract (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x00009] in <38562b1a2ab64eacb931fb5df05ca994>:0 
  at RimWorld.StatExtension.GetStatValueAbstract (Verse.BuildableDef def, RimWorld.StatDef stat, Verse.ThingDef stuff) [0x00006] in <38562b1a2ab64eacb931fb5df05ca994>:0 
  at Verse.RecipeDef.WorkAmountTotal (Verse.ThingDef stuffDef) [0x00020] in <38562b1a2ab64eacb931fb5df05ca994>:0 
  at ProjectRimFactory.SAL3.Things.Assemblers.Building_ProgrammableAssembler+BillReport..ctor (RimWorld.Bill b, System.Collections.Generic.List`1[T] list) [0x00029] in <7c10c53c246a42a8a69599d9fadabfdf>:0 
  at ProjectRimFactory.SAL3.Things.Assemblers.Building_ProgrammableAssembler.TryGetNextBill () [0x000c3] in <7c10c53c246a42a8a69599d9fadabfdf>:0 
  at ProjectRimFactory.SAL3.Things.Assemblers.Building_ProgrammableAssembler.Tick () [0x0016b] in <7c10c53c246a42a8a69599d9fadabfdf>:0 
  at ProjectRimFactory.SAL3.Things.Assemblers.Special.Building_Assembler_Learning.Tick () [0x00001] in <7c10c53c246a42a8a69599d9fadabfdf>:0 
  at Verse.TickList.Tick () [0x0015c] in <38562b1a2ab64eacb931fb5df05ca994>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

@Sn1p3rr3c0n Sn1p3rr3c0n deleted the issue684 branch December 10, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assemblers sometimes select the wrong Dominant/Stuffable Ingredient
1 participant