From a988df656b4d37dfa2472a4cde390185cfcea8b5 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Tue, 2 Mar 2021 18:26:39 +0100 Subject: test foundation and functional reimplementation of cost function --- build/content/cost.txt | 22 ++++++++++++++++++++++ build/content/templates/default.txt | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 build/content/cost.txt (limited to 'build/content') diff --git a/build/content/cost.txt b/build/content/cost.txt new file mode 100644 index 0000000..877a473 --- /dev/null +++ b/build/content/cost.txt @@ -0,0 +1,22 @@ +{ + "base_weight": [ + 10.0, + 7.5, + 5.0 + ], + "base_weapon_cooldown": [ + 1.0, + 0.75, + 0.5 + ], + "base_weapon_damage_pierce": [ + 10.0, + 12.5, + 15.0 + ], + "base_weapon_range": [ + 4.0, + 5.0, + 6.0 + ] +} \ No newline at end of file diff --git a/build/content/templates/default.txt b/build/content/templates/default.txt index b70d031..d6d526a 100644 --- a/build/content/templates/default.txt +++ b/build/content/templates/default.txt @@ -4,7 +4,7 @@ "chassis": "0", "brain": "0", "battery": "0", - "weapons": [ -1, -1, -1, -1, -1, -1, -1, -1 ], + "weapons": [ 0, -1, -1, -1, -1, -1, -1, -1 ], "armor": [ -1, -1, -1, -1, -1, -1, -1, -1 ], "augs": [ 4, -1, -1, -1, -1, -1, -1, -1 ], "levels": [ 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] @@ -17,7 +17,7 @@ "weapons": [ 0, 0, -1, -1, -1, -1, -1, -1 ], "armor": [ 10, 0, 0, 0, -1, -1, -1, -1 ], "augs": [ 0, 0, -1, -1, -1, -1, -1, -1 ], - "levels": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + "levels": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, { "name": "well done", -- cgit v1.2.3-54-g00ecf