coding
This commit is contained in:
parent
aaee33155d
commit
39ce38db99
@ -25,8 +25,10 @@ for i,v in pairs(price_def) do
|
||||
kiosk.add_inv(i,v)
|
||||
end
|
||||
|
||||
-- build tree of nodes
|
||||
for i,v in pairs(minetest.registered_nodes) do
|
||||
local node_price=0
|
||||
-- first guess of value by dig mode
|
||||
if v.groups then
|
||||
for j,w in pairs({[10]="cracky",[8]="choppy",[6]="snappy",[4]="crumbly",[2]="fleshy"}) do
|
||||
if v.groups[w] then
|
||||
|
Loading…
x
Reference in New Issue
Block a user