Can you use fractions or must the settings be whole numbers?

I would like to have something like this, if possible. 

    "PointsPerPowerTool": {
      "M": 0.5,
      "WC": 0.5
    },

I'd also like to slow down the crafting XP gain. Would this be possible? 

    "CraftingDetails": {
      "PercentFasterPerLevel": 5,
      "TimeSpent": 1,
      "XPPerTimeSpent": 0.01
    },

I ask because I don't wipe zlevels on my server. The M, WC, A, S levels cap at 200, and with 1xp per hit, they level very slowly. However, I find that I'm reseting Crafting to 0 each wipe. I'd like to find a decent value where I can leave it alone for multiple wipes. 

The part about the power tools -- my players often brag about how fast the tools net them resources. I do not wish to exclude them entirely, but I think giving half the XP would be reasonable. 

if the number appears as a whole number then it must remain as a whole number

this will be changed in the rewrite to floating-point integers

nivex

if the number appears as a whole number then it must remain as a whole number

this will be changed in the rewrite to floating-point integers

I would love that. How can I help? I've been running zlevels for years. It's one of my favorites. 

I'm so excited!

Before I load this on my server, anything I should backup other than the .cs and /oxide/config/ZLevelsRemastered.json

I see three files in the oxide/data folders as well. Should I back those up?



Merged post

I backed up everything, just in case. Where would you like feedback? Would you like it posted here or do you have an alternative? If you're comfortable, my Discord is Rezanow#6381

Merged post

Missing text on /statinfo

https://imgur.com/a/F5Y1ooc

It's its own new thread, @Philoludos

Just label it something like Test version 3.0.3+

just a note that Fishing is not implemented yet so ignore it

Refresh and download from the link, few fixes:

/statinfo fixed if you refresh the link and download it again

adjusted colors to be brighter thanks to JBird

fixed names being displayed wrong in the UI

@nivex do you still need my code sample for reducing power tools exp granted? I did that the simpliest way by reducing exp per hit to 20% of normal one. It works for normal values, as you mentioned system is based on integers so will work wrongly when there is not enough exp per hit set. I did post my code snipped somewhere on the forums too but I have no clue where :D

i have code for power tools in the above version i linked to @SzaKaaL

nivex

i have code for power tools in the above version i linked to @SzaKaaL

We'll test it too :) Does it have an option to nerf exp amount received with power tools? <3

try it out =p