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:
Zed A. Shaw 2025-03-22 02:10:56 -04:00
parent 2b57552152
commit 2e79cf8781
11 changed files with 70 additions and 71 deletions

View file

@ -7,7 +7,7 @@
"inventory_count": 0,
"randomized": false,
"components": [
{"_type": "Tile", "display": "\u2ac5",
{"_type": "Tile", "display": 10949,
"foreground": [24, 205, 189],
"background": [24, 205, 189]
},
@ -24,7 +24,7 @@
"inventory_count": 0,
"placement": "fixed",
"components": [
{"_type": "Tile", "display": "\u2259",
{"_type": "Tile", "display": 8793,
"foreground": [24, 205, 189],
"background": [24, 205, 189]
},
@ -40,7 +40,7 @@
"description": "Watch where you're going.",
"inventory_count": 0,
"components": [
{"_type": "Tile", "display": "\u1ac7",
{"_type": "Tile", "display": 6855,
"foreground": [24, 205, 189],
"background": [24, 205, 189]
},