PERFECT CHESTS

How to make a unique chest that doesn't use ANY switches

Okay, I made myself crazy for years on RpgTsukuru 2k3 because it doesn't have local events, trying to figure out how to do a chest without (a) wasting all available switches making Chest1 Switch, Chest2 Switch, Chest 567 switch and (b) without being tedious or confusing or broken. I tried using variables, and switches (but quickly found out it doesn't work right). Then I tried to use DynRPG to help out. I made a sort of matrix with columns and rows, which makes very unique "switches" but the problem is it's confusing to write, and I think it didn't carry well if you switch save files. I tried using my FileControl plugin, but wound up having the same issue. Either it saved over all coming files (terrible idea, btw) or it didn't seem to work for the second save file.

Then I facepalmed, and was like "I'm an idiot." It's simple, RpgTsukuru does not have local events. What it does have are Heroes. Heroes are often overlooked, but they can do two major things, (a) checking their name allowing for password events, and (b) checking their SKILLS. And no, the party member doesn't have to be in the party, meaning we can create dummy heroes (for example: <TownName>) and give them the skills (Chest<#>). This means that if you have ten chests in one town, you can save on the number of switches entirely, and split chests between different towns.





In other words, if Town1 have 28 chests, you add Chest1 to Chest28 as skills. Then you check whether Town1 has Chest 18 as a skill. If it hasn't, you haven't opened the chest this game. Once you move to Town 2, their chests are a different hero, so they can be reused. In my case, I used Main Game and Game Plus (GP), since I mainly worried about the game not the town.

Posts

Pages: 1
Occasionally this will glitch. I have no idea why. I opened three chests once and the third said it was empty. Rechecked and it said 1000 gold in the code. Reloaded and opened in a different order and it worked fine. It's possible thar it's not great at opening higher to lower numbers or that I opened too fast and one of them didn't get a chance to check the number so it somehow shared the space.

Weirder code gets weirder glitches.
Pages: 1