aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2021-12-24 21:11:39 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2021-12-24 21:11:39 +0100
commit7cb4290601010459b09376396c7833ec391c25bf (patch)
treebe6243e49ad764f90418e6d41641f99209da2b29 /assets
parente9598b88841374301646a7115253ab38ac904e4c (diff)
working on it
Diffstat (limited to 'assets')
-rw-r--r--assets/turrets.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/assets/turrets.json b/assets/turrets.json
new file mode 100644
index 0000000..a424bf1
--- /dev/null
+++ b/assets/turrets.json
@@ -0,0 +1,50 @@
+[
+ {
+ "name": "laser",
+ "cost": { "T": 100 },
+ "cooldown": 1.0,
+ "damage": 1,
+ "turn_speed": 2,
+ "range": 5,
+ "upgrades": [ "dual laser", "sniper" ],
+ "model_name": "laser.glb",
+ "projectile": {
+ "type": "bullet",
+ "speed": 10,
+ "model_name": "laser_shot.glb",
+ "amount": 1
+ }
+ },
+ {
+ "name": "shotgun",
+ "cost": { "T": 250 },
+ "cooldown": 2.0,
+ "damage": 1,
+ "turn_speed": 1.2,
+ "range": 5,
+ "upgrades": [ "cannon" ],
+ "model_name": "shotgun.glb",
+ "projectile": {
+ "type": "bullet",
+ "speed": 10,
+ "model_name": "bullet_shot.glb",
+ "amount": 5,
+ "spread": 10
+ }
+ },
+ {
+ "name": "sniper",
+ "cost": { "T": 300 },
+ "cooldown": 1.5,
+ "damage": 3,
+ "turn_speed": 1,
+ "range": 7,
+ "upgrades": [ "railgun" ],
+ "model_name": "sniper.glb",
+ "projectile": {
+ "type": "ray",
+ "model_name": "laser_ray.glb",
+ "amount": 1
+ }
+ }
+]