I am working on a project, something I’ve realized I need to develop is an inventory page. I could use the Stats page, but I’d really prefer to create an entirely different page for this. Unfortunately, I don’t have a lot of scripting experience, so I’m hoping I can get some assistance here.
What I’m looking for I don’t think should be too difficult - I just need to add a page that shows what the character has currently in their inventory via a bunch of *create objects (so, in essence I guess, it would be very similar to a Stat page). I need to add an Inventory button for the top, which would allow the player to click it, view their current inventory list, and then return to the game.
I’ve tried to copy the Stats page and replace “stats” with “inventory” and create a “choicescript_inventory.txt” file, but that’s not working (I’m getting a “Script error”). I’m sure I’m missing some things, but have not a clue where to look. I’ve attempted to browse through the forums searching for something similar to this, but what I’ve found wasn’t really what I was after (and didn’t include examples). Please note I’m a noob at scripting - not to web programming in general, but the .js files (I never got that far sadly), so I’d need detailed explanations or examples.
Any help would be greatly appreciated.