make food more exp
This commit is contained in:
parent
7f3c3b556b
commit
520e3f322e
@ -423,7 +423,7 @@ for _ , gem_name in pairs(gem_names) do
|
||||
"size[10,7]" ..
|
||||
|
||||
-- apple, name = <gem_name>_apple_button
|
||||
"item_image_button[1,1;2,2;default:apple;".. gem_name .. "_apple_button;1:5]" ..
|
||||
"item_image_button[1,1;2,2;default:apple;".. gem_name .. "_apple_button;10:1]" ..
|
||||
"tooltip[".. gem_name .. "_apple_button;Apple]"
|
||||
|
||||
-- -- obsidian, name = <gem_name>_obsidian_button
|
||||
@ -646,7 +646,7 @@ minetest.register_on_player_receive_fields(function(player, formname, pressed)
|
||||
|
||||
if pressed[gem_name.. "_apple_button" ] then
|
||||
|
||||
gems.shop( player , "gems:".. gem_name .. " 1", "default:apple 5" )
|
||||
gems.shop( player , "gems:".. gem_name .. " 30", "default:apple 1" )
|
||||
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user