From 5a5fcca6188604c0fbfcfd72ba0c1bdce0d3f0e2 Mon Sep 17 00:00:00 2001
From: tchncs <me@tchncs.de>
Date: Sun, 2 Oct 2016 20:18:23 +0200
Subject: [PATCH] initial stuff: add two small fly potions

---
 mods/give_initial_stuff/depends.txt | 1 +
 mods/give_initial_stuff/init.lua    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/mods/give_initial_stuff/depends.txt b/mods/give_initial_stuff/depends.txt
index d8a81cff..9457c1dc 100644
--- a/mods/give_initial_stuff/depends.txt
+++ b/mods/give_initial_stuff/depends.txt
@@ -3,3 +3,4 @@ bows
 xdecor
 3d_armor
 shields
+magical_potion
diff --git a/mods/give_initial_stuff/init.lua b/mods/give_initial_stuff/init.lua
index 4ad7a1bb..c412f1e3 100644
--- a/mods/give_initial_stuff/init.lua
+++ b/mods/give_initial_stuff/init.lua
@@ -7,7 +7,7 @@ minetest.register_on_newplayer(function(player)
                 player:get_inventory():add_item('main', 'default:torch 99')
                 player:get_inventory():add_item('main', 'default:chest_locked 1')
                 player:get_inventory():add_item('main', 'xdecor:crafting_guide 1')
-                player:get_inventory():add_item('main', '')
+                player:get_inventory():add_item('main', 'magical_potion:fly_small 2')
                 player:get_inventory():add_item('main', 'bows:bow_wood')
                 player:get_inventory():add_item('main', 'bows:arrow 26')
                 player:get_inventory():add_item('main', '3d_armor:helmet_steel')
-- 
GitLab