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

Interactability with mod items broken #126

Open
DoomedAtlantis opened this issue Jun 6, 2021 · 0 comments
Open

Interactability with mod items broken #126

DoomedAtlantis opened this issue Jun 6, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@DoomedAtlantis
Copy link

Hello,

Describe the bug
After a certain point, usually a save and reload both the organ vats and clone vats lose their ability to be interacted with by the player. Pawns can still maintain the organ vat. This bug also breaks most other item intractability for items in the same defined room. The issue appears to be fixed by breaking the room and re-building the room or removing all Questionable Ethics Enhanced items and re-building them.

Expected behavior
Expected to be able to create bills, deconstruct vat and other such interactions with the place vat(s).

To Reproduce
Steps to reproduce the behavior:

  1. Build organ vat and clone vat.
  2. Play colony for period of time.
  3. Create save of colony.
  4. Go to main menu and load the save.
  5. See error below:
    Exception ticking QE_Building_OrganVat366488 (at (124, 0, 112)). Suppressing further errors. Exception: System.NullReferenceException: Object reference not set to an instance of an object
    at RimWorld.RoomRoleWorker_Kitchen.GetScore (Verse.Room room) [0x00060] in <7927e938de4c4089b4add4215e58d5b1>:0
    at Verse.Room. b__90_0 (Verse.RoomRoleDef x) [0x00006] in <7927e938de4c4089b4add4215e58d5b1>:0
    at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] selector, System.Collections.Generic.IComparer1[T] comparer) [0x0005c] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func`2[T,TResult] selector) [0x00007] in <7927e938de4c4089b4add4215e58d5b1>:0
    at Verse.Room.UpdateRoomStatsAndRole () [0x000ad] in <7927e938de4c4089b4add4215e58d5b1>:0
    at Verse.Room.GetStat (Verse.RoomStatDef roomStat) [0x00008] in <7927e938de4c4089b4add4215e58d5b1>:0
    at QEthics.Building_GrowerBase_WorkTable.get_RoomCleanliness () [0x0000b] in <804e9cd33e664dd4abc425830b80919f>:0
    at QEthics.Building_GrowerBase_WorkTable.Tick_Crafting () [0x00059] in <804e9cd33e664dd4abc425830b80919f>:0
    at QEthics.Building_OrganVat.Tick_Crafting () [0x00000] in <804e9cd33e664dd4abc425830b80919f>:0
    at QEthics.Building_GrowerBase_WorkTable.Tick () [0x0003c] in <804e9cd33e664dd4abc425830b80919f>:0
    at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch2 (Verse.TickList)

Screenshots
screenshot3

Additional context
Full Harmony Log:
https://gist.github.com/cd4fc82a4355c03e9ab7a7684aa9f167

If you require additional information, please let me know and I will do my best to provide it.

@DoomedAtlantis DoomedAtlantis added the bug Something isn't working label Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant