simple-inventory
UInv
simple-inventory | UInv | |
---|---|---|
2 | 9 | |
23 | 50 | |
- | - | |
5.9 | 0.0 | |
7 months ago | over 1 year ago | |
JavaScript | HTML | |
The Unlicense | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
simple-inventory
-
Error saying "click" is deprecated, what should I use instead?
Specifically for an inventory, you might want to check out Chapel's Simple Inventory. I can't be sure that it'll fit your needs, but it's a solid system. He's also got a whole line of custom macro add-ons that's worth taking a look at.
-
Make "take" button for Simple Inventory 3 refresh current passage?
I know, I know, I'm not supposed to be using it yet. But if I wanted to make it so Chapel's Simple Inventory 3 refreshed the current passage when clicking the "take", "transfer", "drop" and "give" inventory macro links in a passage, how would I go about doing that? I got around it for the "use" macro link for consumables by adding
UInv
-
How can fix UInv transferred item bug?
If you look in the UInv GitHub page, I uploaded a v0.9.7.3 bugfix release there which fixes that and a few other things. I just haven't put it into its own release package yet, though I probably should have.
-
Can someone tell me where I'm going wrong?
Also, I should note that there's a bug in the v0.9.7.2 version of the BagHasAllItems(), BagHasAnyItem(), and GetAllBagPockets() functions, as well as failure to update UInv elements placed outside of a passage. I've just put up a UInv v0.9.7.3 bugfix release here (you can click the "Raw" button there and then save the page to download that code). Use that JavaScript code instead to avoid those bugs (though make sure you don't overwrite your aliases or your bag and item definitions).
-
Need help with inventory
For just about anything else, my Universal Inventory System (UInv) should be able to handle it (it's about 97% complete code-wise, though I really need to do a bunch of work on documentation, sample code, and testing).
-
Hi i need help in trying to make a crafting/cooking system
Actually, I had a system like that in mind when I created my Universal Inventory System (UInv).
-
Changing color of image
Yeah, it's a huge pain in the ass. I was working on building this feature into my Universal Inventory System (UInv) when I got stalled due to life stuff, so I've wrangled with this problem before.
-
Inventory Help
I would look into u/HiEv's Universal Inventory System. Don't be too daunted by the sheer volume of documentation -- it might be overwhelming at first look but if you stick with it you'll be rewarded with an extremely useful inventory system with a very large volume of functions you can use to get, set and manipulate inventories and objects.
-
How to find/resolve maxed call stack?
Specifically I'm using HiEv's Universal Inventory and use a function to add items to the inventory. This works in the "Start" passage and the item appears in the inventory no problem, but the same function will result in a maxed call stack if I go deeper into the game.
-
Is Twine + Sugarcube a good choice for a mechanic-heavy rpg/management game?
If you're interested, you might want to check out my Universal Inventory System (UInv), which is intended to be used in RPG games and the like. Admittedly, UInv isn't quite up to v1.0 standards yet, especially since the documentation and sample code needs a lot of filling out, however it's already perfectly functional in allowing you to set up and handle all sorts of complex inventories.
-
Check the context where a macro is placed? (not just arguments)
I also have an .addArticle() function (click to try it out) for doing that kind of thing included in my Universal Inventory System (UInv). If you want to, you could extract the .addArticle() code from within the UInv code to simplify writing your own macro.
What are some alternatives?
YarnClassic - A tool for writing interactive dialogue in games!
custom-macros-for-sugarcube-2 - A collection of systems and macros for Twine.
TwineHacker - Chrome\Firefox dev-tools extension: How To Debug(Or Cheat) Twine{SugarCube} Variables [GET https://api.github.com/repos/lure0xaos/TwineHacker: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]
StockAlertBot - Faced with the scenario of scalpers using bots to hog up all the inventory of popular holiday toys and sell them at ridiculously high markup prices, I decided to put up a fight so we can get our hands on things we need to survive the #Coronavirus quarantine(s).
sugarcube-2 - SugarCube is a free (gratis and libre) story format for Twine/Twee.
ecma262 - Status, process, and documents for ECMA-262
js-the-right-way - An easy-to-read, quick reference for JS best practices, accepted coding standards, and links around the Web
bondage.js - Javascript-based parser for the Yarn dialogue tree markup language
TW-Elements - 𝙃𝙪𝙜𝙚 collection of Tailwind MIT licensed (free) components, sections and templates 😎
dillinger - The last Markdown editor, ever.