Update license and include source headers

Pass a deep copy of gunspec instead of a direct reference

Fix Lua style multi-line comments :/

Fix flaregun dependencies

Add mod.conf and description files plus some readme fixes
This commit is contained in:
stujones11 2019-03-17 18:13:26 +00:00
parent 8ef3b1d379
commit fde2b72a68
40 changed files with 570 additions and 213 deletions

59
shooter_guns/README.txt Normal file
View file

@ -0,0 +1,59 @@
Minetest Mod - Shooter Guns [shooter_guns]
==========================================
Depends: shooter
Adds basic guns using the shooter API.
Crafting
========
S = Steel Ingot [default:steel_ingot]
B = Bronze Ingot [default:bronze_ingot]
M = Mese Crystal [default:mese_crysytal]
G = Gun Powder [tnt:gunpowder]
Pistol: [shooter_guns:pistol]
+---+---+
| S | S |
+---+---+
| | M |
+---+---+
Rifle: [shooter_guns:rifle]
+---+---+---+
| S | | |
+---+---+---+
| | B | |
+---+---+---+
| | M | B |
+---+---+---+
Shotgun: [shooter_guns:shotgun]
+---+---+---+
| S | | |
+---+---+---+
| | S | |
+---+---+---+
| | M | B |
+---+---+---+
Sub Machine Gun: [shooter_guns:machine_gun]
+---+---+---+
| S | S | S |
+---+---+---+
| | B | M |
+---+---+---+
| | B | |
+---+---+---+
Ammo Pack: [shooter_guns:ammo]
+---+---+
| G | B |
+---+---+

View file

@ -0,0 +1 @@
Adds basic guns using the shooter API.

View file

@ -1,3 +1,22 @@
--[[
Shooter Guns [shooter_guns]
Copyright (C) 2013-2019 stujones11, Stuart Jones
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
]]--
shooter.register_weapon("shooter_guns:pistol", {
description = "Pistol",
inventory_image = "shooter_pistol.png",

1
shooter_guns/mod.conf Normal file
View file

@ -0,0 +1 @@
name = shooter_guns