Original Source
- Original title: Adding Gold Display to Window_MenuStatus
- Original author: FlatDragon
- Original date: July 27, 2019
- Source thread: https://forums.rpgmakerweb.com/threads/adding-gold-display-to-window_menustatus.111500/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Learning Javascript
Summary
I'm still quite new to plugin development and I decided to make a few plugins of my own that probably already exist, but for learning purposes I decided to built them myself from scratch. A problem I ran into with my FAE_SingleActorMenu.js plugin is that I can't get the Gold to display on screen where I want. Quite simply, I want to make it appear in the status window alongside the HP/MP/TP when opening the menu. I've already successfully added the experience to level to this window, but $partyGold() doesn't...
Archived First Post
A problem I ran into with my FAE_SingleActorMenu.js plugin is that I can't get the Gold to display on screen where I want.
Quite simply, I want to make it appear in the status window alongside the HP/MP/TP when opening the menu.
I've already successfully added the experience to level to this window, but $partyGold() doesn't use an index parameter, and I think that's why it won't appear when I added it.
Link to download the plugin, if you want to see the entire thing:
Additional notes: This plugin was built primarily for one of my own projects, and the blank space in the Window_ExtraStatus is intentional, as it's used by another plugin of mine (FAE_ExtraCurrencies.js; also a work in progress)
I think I understand part of the problem, but I don't know how to get around it: Window_MenuStatus requires the index parameter which $gameParty.gold() doesn't have, and I think that's the source of the issue (please correct me if I'm wrong)
Also, for future reference - should I do it this way (linking the plugin) or provide the code here in the forums? Didn't want anyone staring at a wall of code without context so I figured this was the best way to handle it.
Thanks in advance for any help and advice. I've had a guardian angel helping me out, but he only recently discovered RPG Maker MV, so his 4 years of JavaScript knowledge are somewhat less impressive since he still doesn't know where all the data is saved. (Also, he's going on vacation today, so I won't be able to bug him for a few days lol)
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...