Buried Treasure

Buried Treasure 1.0.22

- Fix for cashing out Gold for economics currency
- Added checks for OnPlayerInput to only check if item is slot for cashing out gold or marking maps.
- Cleaned up some code.
  • Like
Reactions: Bumfuzzler
*** Delete your config first. I changed how the custom loot is spawned. ***

- Changed Custom Loot config optoin from Item ID to use the Shortnames now.
- Custom loot spawn will now randomize from the list. First, the quantity listed will be MAX possible spawn amount. from 1 to MAX. Second, Each items in list has a 50 / 50 change to spawn in crate. So you can get any number of the total items listed.
If you currently use Version 1.0.7 or older, *** DELETE YOUR CONFIG FIRST *****

- added fix for possible conflicts with CanNetworkTo hook with other plugins.
**** Delete your config file first, as a few things have been added ****

- Changed Custom Loot tables to include Quantity options as well for config.
- Fixed issue where other players could see your Marked treasure location on the in game map.
- changed Treasure marker default to the "Loot Crate" icon and not the explosion.
- When looking at maps in inventory, maps will have there name displayed..ie "Rare Map" or "Elite Map"..etc.
- when looking at maps in inventory, maps will have a note that explains how to use the map.
- Added config options for the Map display names and the info text.
**** DELETE YOUR CONFIG FIRST ******

- Added Custom Loot Table options for each Type of Treasure Chest. Each type can be setup via the config file, just add the item ID of the item you want in that type of treasure.
- Default capacity for all Treasure Chests set to 36 slots
- Added config option to ONLY spawn Loot table items in Chests. Otherwise it just adds it to the standard loot that spawns in the currently configured prefab.
- New Config coding
- Tweaks to alot of stuff.

** Future: I will be adding future options for QTY of each item, and skin ID options too.
Fixes for Grid Locations, Plus a few other tweaks.

will be upgrading with Loot tables soon. have to change config files completely but it will be awesome.
*** You may need to delete your config file first, then load new plugin **********

- Added new options to Auto Give player rewards for coins when they loot them from treasure chest, default value is false in config.
- Added new options to Auto Mark players in game map with treasure location when looting Treasure maps. Default value is false in config.

** working on custom treasure icons or something..better than the explosion. lol
  • Like
Reactions: MalS
- Fix for update
  • Like
Reactions: MalS
- Added back the previous option of Marking Map by moving map to quick bar, highlighting it and right clicking anywhere. Works good as a optional way to do it. for maps and gold.
*** Delete Config file if you have any issues. I added a couple things to it. *****

- Changed The Treasure Map and gold entity to use the Note instead of the Paper map. This allows it to be dropped on the ground from player or from loot containers.. And it also allows Writing a Note on it as well.. LOL It should not effect any current Treasure Maps or Gold which used the Paper Map. The plugin now only looks for the certain Skin ID of the item. not what it is.
- Recoded the way the Right Click to Mark map and sell gold works.. It works like doing the Right click Quick Loot move from player quick bar. Place map in quick bar, then just right click on it as to auto move it back to inventory. and poof. Same for gold.
- Added Config option for Radius of Detection when getting close to treasure Location. increasing radius will result in players getting message soon that the "treasure is near" and they will have to look harder to find it. it wont be as close to them. lol
- Added Config option for Map Marker Prefab. Change it to whatever you like.