Colors are now being loaded from assets/palette.json

This commit is contained in:
Zed A. Shaw 2025-07-17 10:50:09 -04:00
parent 48a7f72411
commit f4fa50a413
13 changed files with 113 additions and 52 deletions

View file

@ -8,8 +8,8 @@
"randomized": false,
"components": [
{"_type": "Tile", "display": 10949,
"foreground": [24, 205, 189],
"background": [24, 205, 189]
"foreground": "devices/fg:stairs_down",
"background": "devices/bg:stairs_down"
},
{"_type": "Device",
"config": {},
@ -25,8 +25,8 @@
"placement": "fixed",
"components": [
{"_type": "Tile", "display": 8793,
"foreground": [24, 205, 189],
"background": [24, 205, 189]
"foreground": "devices/fg:stairs_up",
"background": "devices/fg:stairs_up"
},
{"_type": "Device",
"config": {},
@ -41,8 +41,8 @@
"inventory_count": 0,
"components": [
{"_type": "Tile", "display": 95,
"foreground": [24, 205, 189],
"background": [24, 205, 189]
"foreground": "devices/fg:tripwire",
"background": "devices/bg:tripwire"
},
{"_type": "Device", "config": {}, "events": ["TRAP"]},
{"_type": "Sprite", "name": "tripwire_trap", "width": 256, "height": 256, "scale": 1.0}
@ -54,8 +54,8 @@
"description": "A small rotten barrel that may hold things.",
"components": [
{"_type": "Tile", "display": 85,
"foreground": [150, 100, 189],
"background": [150, 100, 189]
"foreground": "devices/fg:barrel",
"background": "devices/bg:barrel"
},
{"_type": "Device", "config": {}, "events": ["LOOT_CONTAINER"]},
{"_type": "Sprite", "name": "barrel_small", "width": 256, "height": 256, "scale": 1.0},
@ -68,8 +68,8 @@
"description": "Something died here. Was this your doing?",
"components": [
{"_type": "Tile", "display": 8687,
"foreground": [32, 123, 164],
"background": [24, 205, 189]
"foreground": "devices/fg:grave_stone",
"background": "devices/bg:grave_stone"
},
{"_type": "Device", "config": {}, "events": ["LOOT_CONTAINER"]},
{"_type": "Sprite", "name": "grave_stone", "width": 256, "height": 256, "scale": 1.0},