diff --git a/data/fighters/list.json b/data/fighters/list.json index 451ccd7..a57b216 100644 --- a/data/fighters/list.json +++ b/data/fighters/list.json @@ -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" ] diff --git a/data/fighters/tug.json b/data/fighters/tug.json new file mode 100644 index 0000000..49e8d33 --- /dev/null +++ b/data/fighters/tug.json @@ -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" +} diff --git a/gfx/craft/tug.png b/gfx/craft/tug.png new file mode 100644 index 0000000..7516dbc Binary files /dev/null and b/gfx/craft/tug.png differ diff --git a/src/defs.h b/src/defs.h index 646ca81..2a41fa3 100644 --- a/src/defs.h +++ b/src/defs.h @@ -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 { diff --git a/src/system/lookup.c b/src/system/lookup.c index 2d23a8c..d179cbc 100644 --- a/src/system/lookup.c +++ b/src/system/lookup.c @@ -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);