diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..e69de29 diff --git a/functions.lua b/functions.lua new file mode 100644 index 0000000..2e85bbc --- /dev/null +++ b/functions.lua @@ -0,0 +1,18 @@ +function guns.register_ammo(modname, ammo) + --Information on amo object + --max_ammo -> The maximum ammo allowed in a stack + --damage -> Damage done on player impace + --effect -> Effect that the ammo has on impact Eg: A rocket exploded +end + +function guns.register_part(modname, part) + +end + +function guns.reguster_scope(modname, scope) + +end + +function guns.register_gun(modname, gun) + +end \ No newline at end of file diff --git a/hud.lua b/hud.lua new file mode 100644 index 0000000..e69de29 diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..7f532e3 --- /dev/null +++ b/init.lua @@ -0,0 +1,6 @@ +guns = {} + +guns.path = minetest.get_modpath("guns") + +dofile(guns.path ..'/functions.lua') +dofile(guns.path ..'/hud.lua') \ No newline at end of file diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..ee4612f --- /dev/null +++ b/mod.conf @@ -0,0 +1,2 @@ +name = guns +version = 0.0.0 \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..f127738 --- /dev/null +++ b/readme.md @@ -0,0 +1,6 @@ +# Guns +Author: Austin Pachano (SonosFuer) +Version: 0.0.0 + +# Jist +The guns mod is a framework that allows mods to add guns to the game. This mod by itself does not add any content to the game but instead is a framework that allows content creators to easily add content to the game. \ No newline at end of file