Giter Site home page Giter Site logo

Comments (3)

chaosvolt avatar chaosvolt commented on September 28, 2024 1

I think the solution I mused upon in that PR might be good:

  1. Add two new item flags: UPS_COMPATIBLE_OFF and UPS_COMPATIBLE_ON
  2. Change UPS charging code so that it also charges items with the UPS_COMPATIBLE_ON flag.
  3. Replace the current UPS flag on all mundane appliances (i.e. stuff that's implied to only use UPS because they're meant to be things you can plug in to charge) with UPS_COMPATIBLE_OFF.
  4. Code in a use_action that brings up a menu filtering for items with either of the new flags, and set it so making a selection toggles between the two flags.
  5. Add this new use action to UPS and advanced UPS.

from cataclysm-bn.

scarf005 avatar scarf005 commented on September 28, 2024

related: #1605

from cataclysm-bn.

chaosvolt avatar chaosvolt commented on September 28, 2024

I went a slightly different route in the form of a use action on the devices themselves, but: #4775

from cataclysm-bn.

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.