Slikeer
Advanced OT User
- Joined
- Jul 28, 2016
- Messages
- 82
- Reaction score
- 199

I'll explain a little about this system, which I'm still finalizing.
It's a minimap or treasure chest system using a map.
When you use the map, a minimap window will open with the chest's position (completely random, without landing on an item, rock, lockable object, or another chest). The distance between the chests is about 10 sqm, and they aren't created that close to each other.
At the moment, I'm using a straw to simulate lockpicks. These are used on the chest to begin the opening process. The loading bar fills up, and the chest opens, giving you a reward.
Using the lockpick may fail, and you'll gain lockpick experience, just as you gain experience when you open it.
An item is created below the player, which is a helper item, so when the player moves, the system cancels it. This item is a test item, of course, and an invisible item will be placed in its place.
Another thing is that when a chest is created, it will have the name of the player who used the map, and they will have a time limit to open it. When the time is up, any other player can use the chest. It is clear that only one player can open the chest at a time. Being attacked also cancels it.
Post automatically merged:
Another thing is that the chest description updates every 1 second without causing RAM usage or lag since it only updates the chests that are treasure chests and with the unique actionid
Last edited: