Git Product home page Git Product logo

Comments (5)

VanirDev avatar VanirDev commented on May 25, 2024

At the moment there isn't any built in way to change the logic used from the standard weights to a slot based system.

I could rework the logic used for calculating maximum carry to instead be based on creature size and strength modifiers as Darker Dungeons would need. The easiest way to do this would be to use the existing weight system, but have 1 unit be equivalent to 1 slot, so you'd have to manually set your items to have weight values to match this.

I've already implemented multipliers for equipped items, so you could easily use those to remove the slot cost for items when worn, although I'd need to write in an exception to this for armour.

Magical containers in Darker Dungeons would be a smidge more difficult, although the most obvious solution to that would be to give negative weights to those, and then any items with negative weight will add to the maximum slot count. Making item-specific solutions isn't something I'm too eager to do, so cases like the portable hole where it occupies 1 slot while folded, and then changes to a slot increase of +18 when unfolded, might have to just be something you manage with a Macro.

I'll look into it, and I may push this into a future version!

from variantencumbrance.

w1face avatar w1face commented on May 25, 2024

from variantencumbrance.

VanirDev avatar VanirDev commented on May 25, 2024

Yep, that'd also do the trick! I'll have a play around, implementing changes to how max carry weight is calculated is pretty trivial. At the moment I can't really apply the disadvantages to checks that would be needed when you get over-encumbered, but I've seen mention of a better integrated conditions system in an upcoming version of Foundry, so that could be something to look into.

from variantencumbrance.

w1face avatar w1face commented on May 25, 2024

Cool! I can't code worth a damn... but if you need any legwork or data entry to be done... then let me know! :)

from variantencumbrance.

VanirDev avatar VanirDev commented on May 25, 2024

Shelved for lack of demand.

from variantencumbrance.

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.