Better random entity placement and config of entities is now more generic.
This commit is contained in:
parent
641a405a06
commit
b16405cfdc
6 changed files with 61 additions and 50 deletions
|
@ -5,6 +5,7 @@
|
|||
"components": [
|
||||
{"type": "Tile", "config": {"chr": "\ua66b"}},
|
||||
{"type": "Combat", "config": {"hp": 200, "damage": 15}},
|
||||
{"type": "Motion", "config": {"dx": 0, "dy": 0, "random": false}},
|
||||
{"type": "EnemyConfig", "config": {"hearing_distance": 5}}
|
||||
]
|
||||
},
|
||||
|
@ -14,6 +15,7 @@
|
|||
"components": [
|
||||
{"type": "Tile", "config": {"chr": "\u06b1"}},
|
||||
{"type": "Combat", "config": {"hp": 20, "damage": 15}},
|
||||
{"type": "Motion", "config": {"dx": 0, "dy": 0, "random": false}},
|
||||
{"type": "EnemyConfig", "config": {"hearing_distance": 6}}
|
||||
]
|
||||
},
|
||||
|
@ -24,6 +26,7 @@
|
|||
{"type": "LightSource", "config": {"strength": 70, "radius": 1.8}},
|
||||
{"type": "Tile", "config": {"chr": "\u06bf"}},
|
||||
{"type": "Combat", "config": {"hp": 50, "damage": 35}},
|
||||
{"type": "Motion", "config": {"dx": 0, "dy": 0, "random": false}},
|
||||
{"type": "EnemyConfig", "config": {"hearing_distance": 4}}
|
||||
]
|
||||
},
|
||||
|
@ -43,6 +46,7 @@
|
|||
"components": [
|
||||
{"type": "Tile", "config": {"chr": "\u08ac"}},
|
||||
{"type": "Combat", "config": {"hp": 10, "damage": 5}},
|
||||
{"type": "Motion", "config": {"dx": 0, "dy": 0, "random": false}},
|
||||
{"type": "EnemyConfig", "config": {"hearing_distance": 10}}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue