Permalink
Browse files

monsters: autocalculate monster difficulty

Automate calculation of monster difficulty, based on melee damage,
emited fields, defenses, HP, speed, aggression and morale, vision
range, and a special attack fudge factor stored in the "diff" field.

Update data/json and data/mods/ to use the new values.
  • Loading branch information...
mlangsdorf committed Dec 26, 2018
1 parent 91756dd commit 04482c260ac611ba6e82924b5a9d70aab4c2297a

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -7,7 +7,6 @@
"default_faction": "small_animal",
"categories": [ "WILDLIFE" ],
"species": [ "BIRD" ],
"diff": 10,
"volume": "750 ml",
"weight": 1000,
"hp": 8,
@@ -50,7 +49,6 @@
"default_faction": "small_animal",
"categories": [ "WILDLIFE" ],
"species": [ "BIRD" ],
"diff": 1,
"volume": "750 ml",
"weight": 1000,
"hp": 4,
@@ -80,7 +78,6 @@
"default_faction": "small_animal",
"categories": [ "WILDLIFE" ],
"species": [ "BIRD" ],
"diff": 1,
"volume": "750 ml",
"weight": 1000,
"hp": 4,
@@ -122,7 +119,6 @@
"default_faction": "small_animal",
"categories": [ "WILDLIFE" ],
"species": [ "BIRD" ],
"diff": 10,
"volume": "30000 ml",
"weight": 40750,
"hp": 15,
@@ -167,7 +163,6 @@
"default_faction": "small_animal",
"categories": [ "WILDLIFE" ],
"species": [ "BIRD" ],
"diff": 10,
"volume": "750 ml",
"weight": 1000,
"hp": 20,
@@ -198,7 +193,6 @@
"default_faction": "small_animal",
"categories": [ "WILDLIFE" ],
"species": [ "BIRD" ],
"diff": 10,
"volume": "750 ml",
"weight": 1000,
"hp": 1,
@@ -6,7 +6,7 @@
"description": "The Northrop Watchman X-1 is a production series of heavily armored combat robots. Initially designed for military patrol and escort service, it rolls on a set of hydraulic treads and is armed with a 9x19mm SMG.",
"default_faction": "defense_bot",
"species": [ "ROBOT" ],
"diff": 19,
"diff": 10,
"volume": "30000 ml",
"weight": 40750,
"hp": 80,
@@ -47,7 +47,7 @@
"description": "The General Atomics TX-1 Guardian, a small, pill-shaped automated gun turret using state of the art ATR systems to dynamically reorient itself to new friends and enemies alike. The two SMG barrels can swivel a full 360 degrees.",
"default_faction": "defense_bot",
"species": [ "ROBOT" ],
"diff": 14,
"diff": 10,
"volume": "30000 ml",
"weight": 40750,
"hp": 30,
@@ -27,7 +27,7 @@
"type": "MONSTER",
"name": "EMP hack",
"description": "An automated kamikaze drone, this fist-sized robot appears to have an EMP grenade inside.",
"diff": 6,
"diff": 5,
"speed": 250,
"color": "cyan",
"armor_cut": 4,
@@ -55,7 +55,7 @@
"type": "MONSTER",
"name": "flashbang hack",
"description": "An automated kamikaze drone, this fist-sized robot appears to have a flashbang inside.",
"diff": 6,
"diff": 5,
"speed": 250,
"color": "dark_gray",
"armor_cut": 4,
@@ -97,7 +97,7 @@
"type": "MONSTER",
"name": "manhack",
"description": "An automated anti-personnel drone, a fist-sized robot surrounded by whirring blades.",
"diff": 8,
"diff": 2,
"speed": 190,
"color": "light_green",
"melee_skill": 10,
@@ -8,7 +8,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -35,7 +34,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -62,7 +60,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -91,7 +88,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -120,7 +116,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -149,7 +144,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 40,
@@ -178,7 +172,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 30,
@@ -207,7 +200,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -237,7 +229,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -267,7 +258,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -297,7 +287,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -327,7 +316,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -356,7 +344,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 40,
@@ -386,7 +373,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -416,7 +402,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -446,7 +431,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 40,
@@ -474,7 +458,6 @@
"description": "A once aggressive and hungry bull shark, this jawed terror is now even more aggressive, possibly thanks to its lack of a functioning brain.",
"default_faction": "zombie",
"species": [ "ZOMBIE" ],
"diff": 35,
"volume": "62500 ml",
"weight": 81500,
"hp": 250,
@@ -503,7 +486,6 @@
"description": "This thing seems like a carp, only swollen and very very angry. Death is the gift of the carp god.",
"default_faction": "carp",
"species": [ "FISH" ],
"diff": 20,
"volume": "62500 ml",
"weight": 81500,
"hp": 180,
@@ -532,7 +514,6 @@
"description": "A mutated salmon, the same size as a large dog and quite dangerous to the inexperienced angler.",
"default_faction": "salmon",
"species": [ "FISH" ],
"diff": 20,
"volume": "62500 ml",
"weight": 81500,
"hp": 180,
@@ -562,7 +543,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -591,7 +571,6 @@
"default_faction": "fish",
"categories": [ "WILDLIFE" ],
"species": [ "FISH" ],
"diff": 1,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
@@ -619,7 +598,6 @@
"description": "A large mutant variety of carp. It has shimmering green scales and a mouth lined with three jagged rows of razor-sharp teeth.",
"default_faction": "mutant",
"species": [ "FISH" ],
"diff": 13,
"volume": "30000 ml",
"weight": 40750,
"hp": 20,
Oops, something went wrong.

0 comments on commit 04482c2

Please sign in to comment.