Coder Social home page Coder Social logo

librarianmage / youbutfleshy Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11 KB

Caves of Qud mod riffing off of the You, but mechanical patron pet

Home Page: https://steamcommunity.com/sharedfiles/filedetails/?id=2840965343

License: Creative Commons Zero v1.0 Universal

C# 100.00%
caves-of-qud mod qud

youbutfleshy's People

Contributors

librarianmage avatar

Watchers

 avatar

youbutfleshy's Issues

Errors or irregularities with roboticision of the player character

There seem to be errors or irregularities with the roboticision process of the player character when choosing the You, but fleshy pet at the start.

Starting the game with a mutant character with mutations present, the game spawns the fleshy pet and an invalid object (w/ a question mark icon) which has the following description (I allowed myself to sanitise it and removed my username from the path):

[invalid blueprint:Books_YouButFleshy]

Failed building: Books_YouButFleshy

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <695d1cc93cca45069c528c15c9fdd749>:0 
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00053] in <695d1cc93cca45069c528c15c9fdd749>:0 
at XRL.World.Parts.Books_FleshyPet.HandleEvent (XRL.World.ObjectCreatedEvent E) [0x000a0] in /home/$USER/.config/unity3d/Freehold Games/CavesOfQud/Mods/YouButFleshy/fleshy_pet.cs:53 
at XRL.World.ObjectCreatedEvent.handlePartDispatch (XRL.World.IPart Part) [0x0000b] in <c9053bb7be674933afa09c355b2e2476>:0 
at XRL.World.GameObject.HandleEventInner (XRL.World.MinEvent E, System.Int32 ID) [0x0004b] in <c9053bb7be674933afa09c355b2e2476>:0 
at XRL.World.GameObject.HandleEvent[T] (T E) [0x0024b] in <c9053bb7be674933afa09c355b2e2476>:0 
at XRL.World.ObjectCreatedEvent.Process (XRL.World.GameObject Object, System.String Context, XRL.World.GameObject& ReplacementObject) [0x00086] in <c9053bb7be674933afa09c355b2e2476>:0 
at XRL.World.GameObjectFactory.CreateObject (XRL.World.GameObjectBlueprint Blueprint, System.Int32 BonusModChance, System.Int32 SetModNumber, System.Action`1[T] beforeObjectCreated, System.Action`1[T] afterObjectCreated, System.String Context, System.Collections.Generic.List`1[T] provideInventory) [0x009f3] in <c9053bb7be674933afa09c355b2e2476>:0 
at XRL.World.GameObjectFactory.CreateObject (System.String ObjectBlueprint, System.Int32 BonusModChance, System.Int32 SetModNumber, System.Action`1[T] beforeObjectCreated, System.Action`1[T] afterObjectCreated, System.String Context, System.Collections.Generic.List`1[T] provideInventory) [0x00043] in <c9053bb7be674933afa09c355b2e2476>:0

The player character fails to be roboticised as well. However, this happens only when one starts with a mutant character with mutations - as opposed to True Kin or a mutant who in the character creation is deliberately assigned no mutations, who gets roboticised. The issue probably lies in the mutation removal method in line 53 of fleshy_pet.cs.

Moreover, in the case of True Kin characters or mutant character without any mutations, the game dumps all the water from the inventory at the start (c.f. line 55 of fleshy_pet.cs), which - while not an error - is not ideal, as even robots, when controlled by the player, need to drink. That provides a problematic start for the player, who is deprived of water.

Reproduced on Caves of Qud version: 2.0.203.53; 2.0.203.56.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.