Git Product home page Git Product logo

Comments (2)

PatrikLundell avatar PatrikLundell commented on July 30, 2024

The code structure is, unfortunately, rather unhelpful when it comes to the ability to report on why companions stop activities. One reason is that evaluation of whether something can be done is performed by functions that just return a yes or no answer, but no indication of what condition failed. You can't report anything inside these functions, as they don't have access to information of whether they are expected to succeed or just one check among many.
Furthermore, actions are split into action steps (to be performed until done or failed) with little to no overview of where they sit in their action chains with the "next step" frequently being to go back to the beginning and try again (companion construction: go to site, detect that not all items are present, go to site of one item, teleport item, go back to site, detect that not all items are present, go to site of second item (which may be part of the same stack the previous item came from), go back to site...fail at some "random" point and be "done"). Actually, action chains don't really exist, as each step is followed by a return to evaluation of the overall activity again, based on the current location and conditions. Smart in that no state beyond the current step and the overall task is stored, but not useful when it comes to evaluation.

from cataclysm-dda.

ltngonnguyen avatar ltngonnguyen commented on July 30, 2024

Can confirm that the thing is happening only when there's only 1 NPC and noone else is using any tools

OS: Linux
- OS Version:

  • Game Version: cdda-experimental-2024-06-06-0510 0c962bb [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Aftershock [aftershock],
    Bionic Professions [package_bionic_professions],
    Blazemod - Vehicle Additions Pack [blazemod],
    Mythical Martial Arts [MMA],
    Disable NPC Needs [no_npc_food],
    Slowdown Fungal Growth [no_fungal_growth],
    Disable portal storm [no_portal_stor],
    Tamable Wildlife [Tamable_Wildlife],
    No Bionic Slots [no_cbm_slots]
    ]

from cataclysm-dda.

Related Issues (20)

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.