sample_crypt
sample_crypt
A short crypt crawl exercising all four node types.
Record
dungeon "sample_crypt" {
id = "sample_crypt"
nodes = [
{
"id": "start_combat",
"type": "combat",
"data": {
"enemyGroupId": "goblin_pack",
"isBoss": false,
"next": "fork",
"description": "A goblin pack scatters out from behind a fallen pillar, snarling.",
"imageId": ""
}
},
{
"id": "fork",
"type": "choice",
"data": {
"description": "The passage splits ahead -- an open path curving left, and a heavy iron-banded door dead ahead.",
"imageId": "crypt_fork",
"options": [
{
"label": "Take the plain path around.",
"next": "reward_room"
},
{
"label": "Force the locked door (Strength check).",
"statCheck": {
"statId": "strength",
"difficulty": 40
},
"onPass": "reward_room",
"onFail": "ambush_combat"
}
]
}
},
{
"id": "ambush_combat",
"type": "combat",
"data": {
"enemyGroupId": "goblin_ambush",
"isBoss": false,
"next": "reward_room",
"description": "The door gives way with a crack -- and the noise brings an ambush down on you from both sides.",
"imageId": ""
}
},
{
"id": "reward_room",
"type": "reward",
"data": {
"next": "end",
"grant": {
"statExp": {
"strength": 10.0
},
"essenceGiven": {
"stamina": 20.0
},
"goldGiven": 25.0
},
"imageId": ""
}
},
{
"id": "end",
"type": "terminal",
"data": {}
}
]
name = ""
description = "A short crypt crawl exercising all four node types."
difficulty = 0.0
imageId = ""
}