Understanding the numbers. Groupcaps, uses, maxlevels, max_drop_level
I had a friend who's playing the game ask me yesterday if the mithril pickaxe was better than the mese pickaxe. Since I'm dabbling in the code to make mods. I thought I'd look at the code directly. I think I understand the "Time" numbers correctly. If the node includes group . and the wielded tool then the node will take 1.4 to be destroyed. Here from this code I can ascertain that uses=0 must mean infinite uses because the object that I took it from is the hand. But I do not understand how say the mese pickaxe has a uses level of 20. when clearly it can be used more times than 20. I theorized that different nodes can use it up at different rates, but looking at the node code I don't see any corresponding numbers. maxlevel and max_drop_level, I could guess about what they do, but they are mystery, for example the only difference aside from time value between the mese and steel pickaxe is maxlevel -1, not uses which equal 20 in both cases. Could anyone explain exactly what these numbers do? and how they might correspond with numbers in the nodes?
thanks
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
oddly_breakable_by_hand=3
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
oddly_breakable_by_hand = {times={[1]=7.00,[2]=4.00,[3]=1.40}, uses=0, maxlevel=3}
thanks