Added Tug.

This commit is contained in:
Steve 2015-11-14 23:18:09 +00:00
parent c9632613ce
commit 235d471a3b
5 changed files with 21 additions and 1 deletions

View File

@ -12,5 +12,6 @@
"data/fighters/firefly.json",
"data/fighters/hyena.json",
"data/fighters/leopard.json",
"data/fighters/civilian.json"
"data/fighters/civilian.json",
"data/fighters/tug.json"
]

17
data/fighters/tug.json Normal file
View File

@ -0,0 +1,17 @@
{
"name" : "Tug",
"health" : 35,
"shield" : 10,
"speed" : 2.1,
"reloadTime" : 10,
"shieldRechargeRate" : 0,
"textureName" : "gfx/craft/tug.png",
"guns" : [
{
"type" : "BT_PARTICLE",
"x" : 0,
"y" : 0
}
],
"flags" : "EF_HAS_ROPE"
}

BIN
gfx/craft/tug.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -71,6 +71,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define EF_FLEEING (2 << 5)
#define EF_NO_MT_BOX (2 << 6)
#define EF_CIVILIAN (2 << 7)
#define EF_HAS_ROPE (2 << 8)
enum
{

View File

@ -40,6 +40,7 @@ void initLookups(void)
addLookup("EF_FLEES", EF_FLEES);
addLookup("EF_FLEEING", EF_FLEEING);
addLookup("EF_CIVILIAN", EF_CIVILIAN);
addLookup("EF_HAS_ROPE", EF_HAS_ROPE);
addLookup("TT_DESTROY", TT_DESTROY);
addLookup("TT_DISABLE", TT_DISABLE);