193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
|
max_hear_distance = 12;
}, true)
local ret = ItemStack("vessels:glass_bottle")
if stack:is_empty() then stack = ret else
if user:get_inventory():room_for_item('main',ret) then
user:get_inventory():add_item('main',ret)
else
minetest.add_item(user.get_pos(), ret)
end
end
return stack
end
}
local fullname = potion.name .. ' Draught'
sorcery.register_potion(name, fullname,
|
|
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
|
max_hear_distance = 12;
}, true)
local ret = ItemStack("vessels:glass_bottle")
if stack:is_empty() then stack = ret else
if user:get_inventory():room_for_item('main',ret) then
user:get_inventory():add_item('main',ret)
else
minetest.add_item(user:get_pos(), ret)
end
end
return stack
end
}
local fullname = potion.name .. ' Draught'
sorcery.register_potion(name, fullname,
|