1
0
mirror of https://gitlab.com/echoes91/throwing.git synced 2025-06-30 07:10:22 +02:00

1.0 definitive shot/reload & fireworks!

This commit is contained in:
echoes91
2015-03-27 15:22:12 +01:00
parent 715367837d
commit 74f021572b
24 changed files with 585 additions and 118 deletions

View File

@ -1,4 +1,4 @@
arrows = {
throwing_arrows = {
{"throwing:arrow_steel", "throwing:arrow_steel_entity"},
{"throwing:arrow_stone", "throwing:arrow_stone_entity"},
{"throwing:arrow_obsidian", "throwing:arrow_obsidian_entity"},
@ -11,6 +11,7 @@ arrows = {
{"throwing:arrow_diamond", "throwing:arrow_diamond_entity"},
{"throwing:arrow_shell", "throwing:arrow_shell_entity"},
{"throwing:arrow_fireworks_blue", "throwing:arrow_fireworks_blue_entity"},
{"throwing:arrow_fireworks_red", "throwing:arrow_fireworks_red_entity"},
}
local input = io.open(minetest.get_modpath("throwing").."/throwing.conf", "r")
@ -20,6 +21,8 @@ if input then
input = nil
end
dofile(minetest.get_modpath("throwing").."/functions.lua")
dofile(minetest.get_modpath("throwing").."/bows.lua")
if not DISABLE_STEEL_ARROW then
@ -66,6 +69,14 @@ if not DISABLE_SHELL_ARROW then
dofile(minetest.get_modpath("throwing").."/shell_arrow.lua")
end
if not DISABLE_FIREWORKS_BLUE_ARROW then
dofile(minetest.get_modpath("throwing").."/fireworks_blue_arrow.lua")
end
if not DISABLE_FIREWORKS_RED_ARROW then
dofile(minetest.get_modpath("throwing").."/fireworks_red_arrow.lua")
end
if minetest.setting_get("log_mods") then
minetest.log("action", "throwing loaded")
end