correct iron_ingot -> steel_ingot
parent
dc8ab3d5cd
commit
7963c59451
|
@ -9,7 +9,7 @@ local tool_definition = farming.import_csv(farming.path.."/tools.txt",crop_cols)
|
|||
|
||||
for i,line in pairs(tool_definition) do
|
||||
|
||||
tool_def={description=line.name:gsub("_"," "),
|
||||
tool_def={description=S(line.name:gsub("_"," ")),
|
||||
inventory_image="farming_tool_"..line.name..".png",
|
||||
max_uses=line.max_uses,
|
||||
farming_change=line.farming_change,
|
||||
|
@ -27,6 +27,8 @@ for i,line in pairs(tool_definition) do
|
|||
}
|
||||
}
|
||||
local tooltype=line.name:split("_")[1]
|
||||
print(tooltype)
|
||||
print(dump(tool_def))
|
||||
if tooltype=="billhook" then
|
||||
farming.register_billhook("farming:"..line.name,tool_def)
|
||||
elseif tooltype=="scythe" then
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
name,material,max_uses,farming_change,max_level,snappy,damage,times
|
||||
billhook_wood,group:wood,100,10,2,3,3,5
|
||||
billhook_stone,group:stone,200,6,2,3,4,4.5
|
||||
billhook_steel,default:iron_ingot,400,3,3,3,5,3.8
|
||||
billhook_steel,default:steel_ingot,400,3,3,3,5,3.8
|
||||
scythe_wood,group:wood,60,10,2,3,4,5
|
||||
scythe_stone,group:stone,110,6,2,3,5,4.4
|
||||
scythe_steel,default:iron_ingot,250,3,3,3,6,3.7
|
||||
scythe_steel,default:steel_ingot,250,3,3,3,6,3.7
|
||||
hoe_wood,group:wood,60,10,2,3,4,5
|
||||
hoe_stone,group:stone,110,6,2,3,5,4.4
|
||||
hoe_steel,default:iron_ingot,250,3,3,3,6,3.7
|
||||
hoe_steel,default:steel_ingot,250,3,3,3,6,3.7
|
||||
|
|
Loading…
Reference in New Issue