summaryrefslogtreecommitdiff
path: root/universe/resources
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-01-05 19:35:33 +0100
committerAki <please@ignore.pl>2023-01-05 19:35:33 +0100
commit99cfb30eeaafac7b11ea8562202e1fece5d3c363 (patch)
treeb900bf4d8726268dc4fa52182399c3d79b391eff /universe/resources
parent728f73f97657cab299da26793741e405f554fab6 (diff)
downloadkurator-99cfb30eeaafac7b11ea8562202e1fece5d3c363.zip
kurator-99cfb30eeaafac7b11ea8562202e1fece5d3c363.tar.gz
kurator-99cfb30eeaafac7b11ea8562202e1fece5d3c363.tar.bz2
Naively implemented JSON universe Repository
Diffstat (limited to 'universe/resources')
-rw-r--r--universe/resources/universe/ship_types.json17
-rw-r--r--universe/resources/universe/turret_types.json29
2 files changed, 46 insertions, 0 deletions
diff --git a/universe/resources/universe/ship_types.json b/universe/resources/universe/ship_types.json
new file mode 100644
index 0000000..d5bc1e8
--- /dev/null
+++ b/universe/resources/universe/ship_types.json
@@ -0,0 +1,17 @@
+[
+ {
+ "name": "Anvil",
+ "base_health_points": 600.0,
+ "max_speed": 218.0
+ },
+ {
+ "name": "Eclipse",
+ "base_health_points": 600.0,
+ "max_speed": 263.0
+ },
+ {
+ "name": "Warbringer",
+ "base_health_points": 600.0,
+ "max_speed": 336.0
+ }
+]
diff --git a/universe/resources/universe/turret_types.json b/universe/resources/universe/turret_types.json
new file mode 100644
index 0000000..5b862b1
--- /dev/null
+++ b/universe/resources/universe/turret_types.json
@@ -0,0 +1,29 @@
+[
+ {
+ "name": "ChargeLaser",
+ "rounds": 1,
+ "base_damage": 85.0,
+ "rate_of_fire": 4.5,
+ "reload": 0.0,
+ "optimal_range": 7000.0,
+ "falloff_modifier": 0.05
+ },
+ {
+ "name": "BurstLaser",
+ "rounds": 3,
+ "base_damage": 21.0,
+ "rate_of_fire": 0.25,
+ "reload": 2.75,
+ "optimal_range": 3500.0,
+ "falloff_modifier": 0.05
+ },
+ {
+ "name": "GaussCannon",
+ "rounds": 2,
+ "base_damage": 55.0,
+ "rate_of_fire": 0.0,
+ "reload": 5.5,
+ "optimal_range": 12000.0,
+ "falloff_modifier": 0.2
+ }
+]