Giter Club home page Giter Club logo

Comments (7)

chaosvolt avatar chaosvolt commented on July 4, 2024

Uh, you sure about that? #1071

from cataclysm-bn.

scarf005 avatar scarf005 commented on July 4, 2024

oh, i totally overlooked the unit tag. then it must be the debug bionic code, for some reason debug bionic capacity is capped at 2147kJ

from cataclysm-bn.

chaosvolt avatar chaosvolt commented on July 4, 2024

image

Actual limit is 2,147,483,647 joules, it USED to be 2,147,483,647 millijoules and that was exactly why it was changed. Now you can install up to 2147483 kJ power, in practice 2147450 if you mix up mark 1s and mark 2s in exactly the right combo.

from cataclysm-bn.

chaosvolt avatar chaosvolt commented on July 4, 2024

Also what debug option is this? I don't see any such thing in traits?
image

from cataclysm-bn.

scarf005 avatar scarf005 commented on July 4, 2024

debug menu -> edit bionics

from cataclysm-bn.

chaosvolt avatar chaosvolt commented on July 4, 2024

Oh, neat. I guess that could use a fix then. I never noticed that, I'm so used to giving myself the installation trait and manually spawning in any CBMs I need to test with...

from cataclysm-bn.

chaosvolt avatar chaosvolt commented on July 4, 2024

So I'm looking at this...installing new power storage calls Character::mod_max_power_level (https://github.com/cataclysmbnteam/Cataclysm-BN/blob/main/src/character.cpp#L2296) which just adds the amount to be added to current max power, and uninstall calls the same function with a negative number.

The debug function meanwhile calls Character::set_max_power_level( (https://github.com/cataclysmbnteam/Cataclysm-BN/blob/main/src/character.cpp#L2279) which just sets max power to the value. I don't see any kind of sanity checking that would logically run afoul of a power limit in either though, nor do I see anything in wish.cpp that screams "this resets power limit if above X" for that matter.

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.