mirror of
https://gitlab.com/echoes91/throwing.git
synced 2024-11-15 22:40:21 +01:00
56 lines
2.0 KiB
Lua
56 lines
2.0 KiB
Lua
arrows = {
|
|
{"throwing:arrow_steel", "throwing:arrow_steel_entity"},
|
|
{"throwing:arrow_stone", "throwing:arrow_stone_entity"},
|
|
{"throwing:arrow_obsidian", "throwing:arrow_obsidian_entity"},
|
|
{"throwing:arrow_fire", "throwing:arrow_fire_entity"},
|
|
{"throwing:arrow_teleport", "throwing:arrow_teleport_entity"},
|
|
{"throwing:arrow_dig", "throwing:arrow_dig_entity"},
|
|
{"throwing:arrow_build", "throwing:arrow_build_entity"},
|
|
{"throwing:arrow_tnt", "throwing:arrow_tnt_entity"},
|
|
{"throwing:arrow_torch", "throwing:arrow_torch_entity"},
|
|
{"throwing:arrow_diamond", "throwing:arrow_diamond_entity"},
|
|
{"throwing:arrow_shell", "throwing:arrow_shell_entity"},
|
|
{"throwing:arrow_fireworks_blue", "throwing:arrow_fireworks_blue_entity"},
|
|
}
|
|
|
|
dofile(minetest.get_modpath("throwing").."/config.lua")
|
|
dofile(minetest.get_modpath("throwing").."/bows.lua")
|
|
if not disable_steel_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/steel_arrow.lua")
|
|
end
|
|
if not disable_stone_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/stone_arrow.lua")
|
|
end
|
|
if not disable_stone_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/obsidian_arrow.lua")
|
|
end
|
|
if not disable_fire_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/fire_arrow.lua")
|
|
end
|
|
if not disable_teleport_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/teleport_arrow.lua")
|
|
end
|
|
if not disable_dig_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/dig_arrow.lua")
|
|
end
|
|
if not disable_build_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/build_arrow.lua")
|
|
end
|
|
if not disable_tnt_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/tnt_arrow.lua")
|
|
end
|
|
if not disable_torch_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/torch_arrow.lua")
|
|
end
|
|
if not disable_diamond_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/diamond_arrow.lua")
|
|
end
|
|
if not disable_shell_arrow then
|
|
dofile(minetest.get_modpath("throwing").."/shell_arrow.lua")
|
|
end
|
|
|
|
|
|
if minetest.setting_get("log_mods") then
|
|
minetest.log("action", "throwing loaded")
|
|
end
|