aboutsummaryrefslogtreecommitdiff
path: root/data/mods/give_initial_stuff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-02 12:12:07 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-02 12:12:07 +0200
commit69bc9224dbfb5609af140d8ec5c791763e3f4295 (patch)
treefcd4732efd85f4323400e5be9a523db7d8e700e1 /data/mods/give_initial_stuff
parenta17efe6e8f069de7a51c2fc5fd89ee3fbe65ff28 (diff)
downloadminetest-69bc9224dbfb5609af140d8ec5c791763e3f4295.tar.gz
minetest-69bc9224dbfb5609af140d8ec5c791763e3f4295.tar.bz2
minetest-69bc9224dbfb5609af140d8ec5c791763e3f4295.zip
Rename "NodeItem"/"ToolItem"/"CraftItem" to "node"/"tool"/"craft"
Diffstat (limited to 'data/mods/give_initial_stuff')
-rw-r--r--data/mods/give_initial_stuff/init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/mods/give_initial_stuff/init.lua b/data/mods/give_initial_stuff/init.lua
index bc99e2149..e52784d64 100644
--- a/data/mods/give_initial_stuff/init.lua
+++ b/data/mods/give_initial_stuff/init.lua
@@ -2,11 +2,11 @@ minetest.register_on_newplayer(function(player)
print("on_newplayer")
if minetest.setting_getbool("give_initial_stuff") then
print("giving give_initial_stuff to player")
- player:add_to_inventory('ToolItem "SteelPick" 0')
- player:add_to_inventory('NodeItem "torch" 99')
- player:add_to_inventory('ToolItem "SteelAxe" 0')
- player:add_to_inventory('ToolItem "SteelShovel" 0')
- player:add_to_inventory('NodeItem "cobble" 99')
+ player:add_to_inventory('tool "SteelPick" 0')
+ player:add_to_inventory('node "torch" 99')
+ player:add_to_inventory('tool "SteelAxe" 0')
+ player:add_to_inventory('tool "SteelShovel" 0')
+ player:add_to_inventory('node "cobble" 99')
end
end)