Apply suggestions from code review

This commit is contained in:
Hugo Locurcio 2021-09-19 00:01:03 +02:00 committed by GitHub
parent 3bd0143a84
commit b6ba8cd529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,25 +260,25 @@ local oredefs = {
tools = {
pick = {
cracky = {times = {[1] = 2.60, [2] = 1.00, [3] = 0.60}, uses = 100, maxlevel = 1},
damage_groups = {fleshy = 4},
damage_groups = {fleshy = 4},
},
hoe = {
uses = 300,
},
shovel = {
crumbly = {times = {[1] = 1.10, [2] = 0.40, [3] = 0.25}, uses = 100, maxlevel = 1},
damage_groups = {fleshy = 3},
damage_groups = {fleshy = 3},
},
axe = {
choppy = {times = {[1] = 2.50, [2] = 0.80, [3] = 0.50}, uses = 100, maxlevel = 1},
fleshy = {times = {[2] = 1.10, [3] = 0.60}, uses = 100, maxlevel = 1},
damage_groups = {fleshy = 5},
damage_groups = {fleshy = 5},
},
sword = {
fleshy = {times = {[2] = 0.70, [3] = 0.30}, uses = 100, maxlevel = 1},
snappy = {times = {[1] = 1.70, [2] = 0.70, [3] = 0.30}, uses = 100, maxlevel = 1},
choppy = {times = {[3] = 0.80}, uses = 100, maxlevel = 0},
damage_groups = {fleshy = 6},
damage_groups = {fleshy = 6},
},
},
full_punch_interval = 1.0,
@ -296,25 +296,25 @@ local oredefs = {
tools = {
pick = {
cracky = {times = {[1] = 2.25, [2] = 0.55, [3] = 0.35}, uses = 200, maxlevel = 3},
damage_groups = {fleshy = 6},
damage_groups = {fleshy = 6},
},
hoe = {
uses = 1000,
},
shovel = {
crumbly = {times = {[1] = 0.70, [2] = 0.35, [3] = 0.20}, uses = 200, maxlevel = 3},
damage_groups = {fleshy = 5},
damage_groups = {fleshy = 5},
},
axe = {
choppy = {times = {[1] = 1.75, [2] = 0.45, [3] = 0.45}, uses = 200, maxlevel = 3},
fleshy = {times = {[2] = 0.95, [3] = 0.30}, uses = 200, maxlevel = 2},
damage_groups = {fleshy = 8},
damage_groups = {fleshy = 8},
},
sword = {
fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 200, maxlevel = 2},
snappy = {times = {[1] = 1.70, [2] = 0.70, [3] = 0.25}, uses = 200, maxlevel = 3},
choppy = {times = {[3] = 0.65}, uses = 200, maxlevel = 0},
damage_groups = {fleshy = 10},
damage_groups = {fleshy = 10},
},
},
full_punch_interval = 0.45,