Map is way better and components::Tile is _vastly_ improved by switching to a wchar_t on display and letting nlohmann::json auto convert it for me.
This commit is contained in:
parent
2b57552152
commit
2e79cf8781
11 changed files with 70 additions and 71 deletions
|
@ -6,7 +6,7 @@
|
|||
"inventory_count": 1,
|
||||
"components": [
|
||||
{"_type": "LightSource", "strength": 50, "radius": 2.5},
|
||||
{"_type": "Tile", "display": "\u0f08",
|
||||
{"_type": "Tile", "display": 3848,
|
||||
"foreground": [24, 120, 189],
|
||||
"background": [230,120, 120]
|
||||
},
|
||||
|
@ -21,7 +21,7 @@
|
|||
"inventory_count": 1,
|
||||
"components": [
|
||||
{"_type": "Weapon", "damage": 15},
|
||||
{"_type": "Tile", "display": "\u1e37",
|
||||
{"_type": "Tile", "display": 7735,
|
||||
"foreground": [24, 120, 189],
|
||||
"background": [24, 120, 189]
|
||||
},
|
||||
|
@ -34,7 +34,7 @@
|
|||
"name": "Small Barrel",
|
||||
"description": "A small rotten barrel that may hold things.",
|
||||
"components": [
|
||||
{"_type": "Tile", "display": "\uaaea",
|
||||
{"_type": "Tile", "display": 43754,
|
||||
"foreground": [150, 100, 189],
|
||||
"background": [150, 100, 189]
|
||||
},
|
||||
|
@ -50,7 +50,7 @@
|
|||
"description": "Light Hanging from Ceiling",
|
||||
"inventory_count": 0,
|
||||
"components": [
|
||||
{"_type": "Tile", "display": "\u077e",
|
||||
{"_type": "Tile", "display": 1918,
|
||||
"foreground": [24, 205, 210],
|
||||
"background": [24, 205, 210]
|
||||
},
|
||||
|
@ -65,7 +65,7 @@
|
|||
"description": "A small healing potion.",
|
||||
"inventory_count": 1,
|
||||
"components": [
|
||||
{"_type": "Tile", "display": "\u03eb",
|
||||
{"_type": "Tile", "display": 1003,
|
||||
"foreground": [255, 205, 189],
|
||||
"background": [255, 205, 189]
|
||||
},
|
||||
|
@ -80,7 +80,7 @@
|
|||
"description": "Something died here. Was this your doing?",
|
||||
"inventory_count": 1,
|
||||
"components": [
|
||||
{"_type": "Tile", "display": "\u21ef",
|
||||
{"_type": "Tile", "display": 8687,
|
||||
"foreground": [32, 123, 164],
|
||||
"background": [24, 205, 189]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue