MRPGI/rooms/room1.json
type-two d0caf983a0 Initial commit: MRPGI — Apple-Silicon AGI adventure engine
A new-school reimagining of Sierra's 1980s AGI interpreter in Rust + macroquad:

- Dual-buffer (visual + priority) room model with hand-painted walkability
- In-engine room editor: brush/line/rect/fill/pick/erase/oval/image/spawn/object tools
- Sprite pipeline (PNG -> EGA quantize), multi-room worlds with edge exits
- Objects with look/use/needs/keys/win conditions (no code)
- Forgiving text parser + optional local-LLM lane (Ollama / OpenRouter)
- Branching NPC dialogue trees, chiptune SFX, per-room ambient music
- Content kit: 61 archetypes across fantasy/scifi/monsters/saucy/horror
- Full docs: README, EDITOR_GUIDE, MANUAL, art manifesto + Gemini prompts

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 17:26:55 +10:00

165 lines
2.8 KiB
JSON

{
"strokes": [
{
"Rect": {
"x": 0,
"y": 0,
"w": 160,
"h": 168,
"color": 0,
"meaning": "None"
}
},
{
"Rect": {
"x": 6,
"y": 16,
"w": 148,
"h": 146,
"color": 8,
"meaning": "Floor"
}
},
{
"Rect": {
"x": 0,
"y": 0,
"w": 65,
"h": 16,
"color": 0,
"meaning": "Wall"
}
},
{
"Rect": {
"x": 95,
"y": 0,
"w": 65,
"h": 16,
"color": 0,
"meaning": "Wall"
}
},
{
"Rect": {
"x": 0,
"y": 160,
"w": 160,
"h": 8,
"color": 0,
"meaning": "Wall"
}
},
{
"Rect": {
"x": 0,
"y": 0,
"w": 6,
"h": 70,
"color": 0,
"meaning": "Wall"
}
},
{
"Rect": {
"x": 0,
"y": 100,
"w": 6,
"h": 68,
"color": 0,
"meaning": "Wall"
}
},
{
"Rect": {
"x": 154,
"y": 0,
"w": 6,
"h": 168,
"color": 0,
"meaning": "Wall"
}
},
{
"Rect": {
"x": 40,
"y": 60,
"w": 10,
"h": 6,
"color": 7,
"meaning": "None"
}
},
{
"Rect": {
"x": 110,
"y": 80,
"w": 12,
"h": 6,
"color": 7,
"meaning": "None"
}
}
],
"spawn": [
80,
130
],
"exits": [
2,
null,
null,
0
],
"objects": [
{
"name": "orc",
"sprite": "orc",
"x": 92,
"y": 118,
"look": "A green orc picking its teeth with a dagger. It hasn't noticed you. Yet.",
"takeable": false,
"synonyms": "monster brute goblin",
"use_text": "You poke the orc. This was a mistake.",
"needs": "",
"wins": false
},
{
"name": "spellbook",
"sprite": "spellbook",
"x": 122,
"y": 132,
"look": "A spellbook on a ledge, runes squirming. The orc is guarding it (badly).",
"takeable": true,
"synonyms": "book tome grimoire",
"use_text": "",
"needs": "",
"wins": false
},
{
"name": "torch",
"sprite": "torch",
"x": 36,
"y": 110,
"look": "A guttering wall-torch. Grab it — it's dark deeper in.",
"takeable": true,
"synonyms": "light flame",
"use_text": "",
"needs": "",
"wins": false
},
{
"name": "chest",
"sprite": "chest",
"x": 58,
"y": 140,
"look": "A banded chest, half-buried. Locked.",
"takeable": false,
"synonyms": "box trunk",
"use_text": "The key turns; old gold spills out across the cave floor.",
"needs": "key",
"wins": false
}
],
"music": 2
}