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

View file

@ -0,0 +1,28 @@
Minetest Mod - Flare Gun [shooter_flaregun]
===========================================
Depends: shooter, tnt, wool
Adds a flare-gun with temporary light emitting flares.
Crafting
========
S = Steel Ingot [default:steel_ingot]
R = Red Wool [wool:red]
G = Gun Powder [tnt:gunpowder]
Flare: [shooter_flaregun:flare]
+---+---+
| G | R |
+---+---+
Flare Gun: [shooter_flaregun:flaregun]
+---+---+---+
| R | R | R |
+---+---+---+
| | | S |
+---+---+---+

View file

@ -1,3 +1,3 @@
shooter
tnt
wool
shooter

View file

@ -0,0 +1 @@
Adds a flare-gun with temporary light emitting flares.

View file

@ -1,3 +1,22 @@
--[[
Shooter Flare Gun [shooter_flaregun]
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.
]]--
minetest.register_craftitem("shooter_flaregun:flare", {
description = "Flare",
inventory_image = "shooter_flare_inv.png",

View file

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