Stable1.1.3
UPDATE
- Removed ch_mining_config_xp.lua from config files since the configs are in the main file already.
- Switched to using math.floor instead of math.Round on level percentage to avoid saying 100% when almost there.
- Fixed the position of the XP bar by a pixel.
- Added the ability to only show the mining hud (minerals and xp on screen) after earning XP.
- Enable with
CH_Mining.Config.OnlyShowHUDOnXPEarn - Determine how long it shows for with
CH_Mining.Config.HUDShowTime - This disregards the need of having the pickaxe or jackhammer equipped to show HUD if enabled.
- Added the ability to enable/disable players deducting their own skills after upgrading them.
- Config
CH_Mining.Config.AbilityToDecreaseSkills - Removed MaxLevel config from skill config as that is now automatically detected.
- Skills now start at level 0 instead of 1.
- It makes more logical sense to do it this way.
- That also means that the config for skills have a new starting point, 0.
- Added a config to allow paying to reset your skill points.
- Config
CH_Mining.Config.EnableSkillResetButtonwill enable a button in the skill menu. - Use config to set the price
CH_Mining.Config.SkillResetPrice - Added a config to refund all skill points or go to starter when paying to reset.
- Use config
CH_Mining.Config.RefundAllSkillPointsOnReset - Allocated less bits when networking skills as it seems unlikely anyone will have 4 billion points or levels.
- Changed AcceptInput to Use on NPC entity.
- Added a button to auto full the sell/send amount of minerals to your maximum.
- Removed DarkRP dependencies and added support for all gamemodes.
- New notification function.
- Currency system. Set your currency with config
CH_Mining.Config.Currency - Included text wrap function from DarkRP thanks to FPtje
Please be aware of the skill config changes when updating! A fresh install is recommended with this update!
Everything is still saved. It is simply the change that skills start at 0 instead of 1 that matters in the configs!