game: Taverne, Schmiede und Handel — Innenräume über den Loader, Kaufen/Verkaufen
This commit is contained in:
parent
79bace9880
commit
34e77ccbf1
22 changed files with 783 additions and 17 deletions
|
|
@ -622,6 +622,39 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"shops": {
|
||||
"typ": "list",
|
||||
"element": {
|
||||
"id": {
|
||||
"typ": "string",
|
||||
"pflicht": true
|
||||
},
|
||||
"name": {
|
||||
"typ": "string"
|
||||
},
|
||||
"x": {
|
||||
"typ": "int",
|
||||
"pflicht": true
|
||||
},
|
||||
"y": {
|
||||
"typ": "int",
|
||||
"pflicht": true
|
||||
},
|
||||
"wares": {
|
||||
"typ": "list",
|
||||
"element": {
|
||||
"id": {
|
||||
"typ": "string",
|
||||
"verweis": "items"
|
||||
},
|
||||
"preis": {
|
||||
"typ": "int",
|
||||
"min": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"npcs": {
|
||||
"typ": "list",
|
||||
"element": {
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@
|
|||
640,
|
||||
350
|
||||
],
|
||||
"ziel": null
|
||||
"ziel": "taverne"
|
||||
},
|
||||
{
|
||||
"id": "schmiede",
|
||||
|
|
@ -182,7 +182,7 @@
|
|||
540,
|
||||
440
|
||||
],
|
||||
"ziel": null
|
||||
"ziel": "schmiede"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
166
game/data/maps/schmiede.json
Normal file
166
game/data/maps/schmiede.json
Normal file
|
|
@ -0,0 +1,166 @@
|
|||
{
|
||||
"schema": 1,
|
||||
"entries": {
|
||||
"schmiede": {
|
||||
"id": "schmiede",
|
||||
"name": "Schmiede",
|
||||
"kind": "town",
|
||||
"width": 20,
|
||||
"height": 9,
|
||||
"legend": {
|
||||
".": "battle_stein_96px_1",
|
||||
"#": "tile_wand_stein_96px"
|
||||
},
|
||||
"tiles": [
|
||||
"####################",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#"
|
||||
],
|
||||
"blocked": [
|
||||
"####################",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#"
|
||||
],
|
||||
"spawn": {
|
||||
"x": 9,
|
||||
"y": 7
|
||||
},
|
||||
"objects": [
|
||||
{
|
||||
"id": "objekt_tisch_96px",
|
||||
"x": 5,
|
||||
"y": 2,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_regal_96px",
|
||||
"x": 13,
|
||||
"y": 1,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_regal_96px",
|
||||
"x": 15,
|
||||
"y": 1,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_geroell_96px",
|
||||
"x": 7,
|
||||
"y": 6,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_fass_96px",
|
||||
"x": 2,
|
||||
"y": 7,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_fackel_96px",
|
||||
"x": 9,
|
||||
"y": 1,
|
||||
"blocked": false,
|
||||
"licht": 0.5
|
||||
},
|
||||
{
|
||||
"id": "objekt_fackel_96px",
|
||||
"x": 18,
|
||||
"y": 6,
|
||||
"blocked": false,
|
||||
"licht": 0.5
|
||||
},
|
||||
{
|
||||
"id": "objekt_truhe_96px",
|
||||
"x": 17,
|
||||
"y": 7,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_tuer_96px",
|
||||
"x": 9,
|
||||
"y": 8,
|
||||
"blocked": false
|
||||
},
|
||||
{
|
||||
"id": "objekt_fass_96px",
|
||||
"x": 3,
|
||||
"y": 2,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_kiste_96px",
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"blocked": true
|
||||
}
|
||||
],
|
||||
"npcs": [
|
||||
{
|
||||
"id": "schmied",
|
||||
"x": 6,
|
||||
"y": 2
|
||||
}
|
||||
],
|
||||
"shops": [
|
||||
{
|
||||
"id": "schmiede",
|
||||
"x": 6,
|
||||
"y": 2,
|
||||
"name": "Schmiede",
|
||||
"wares": [
|
||||
{
|
||||
"id": "schwert",
|
||||
"preis": 12
|
||||
},
|
||||
{
|
||||
"id": "dolch",
|
||||
"preis": 4
|
||||
},
|
||||
{
|
||||
"id": "bogen",
|
||||
"preis": 28
|
||||
},
|
||||
{
|
||||
"id": "leder",
|
||||
"preis": 8
|
||||
},
|
||||
{
|
||||
"id": "kette",
|
||||
"preis": 22
|
||||
},
|
||||
{
|
||||
"id": "platte",
|
||||
"preis": 45
|
||||
},
|
||||
{
|
||||
"id": "schild",
|
||||
"preis": 9
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"exits": [
|
||||
{
|
||||
"x": 9,
|
||||
"y": 8,
|
||||
"to": "ortsbild",
|
||||
"rahmen": true
|
||||
}
|
||||
],
|
||||
"encounters": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
188
game/data/maps/taverne.json
Normal file
188
game/data/maps/taverne.json
Normal file
|
|
@ -0,0 +1,188 @@
|
|||
{
|
||||
"schema": 1,
|
||||
"entries": {
|
||||
"taverne": {
|
||||
"id": "taverne",
|
||||
"name": "Taverne",
|
||||
"kind": "town",
|
||||
"width": 20,
|
||||
"height": 9,
|
||||
"legend": {
|
||||
".": "battle_erde_96px_1",
|
||||
"#": "tile_wand_stein_96px"
|
||||
},
|
||||
"tiles": [
|
||||
"####################",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#"
|
||||
],
|
||||
"blocked": [
|
||||
"####################",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#",
|
||||
"#..................#"
|
||||
],
|
||||
"spawn": {
|
||||
"x": 9,
|
||||
"y": 7
|
||||
},
|
||||
"objects": [
|
||||
{
|
||||
"id": "objekt_tisch_96px",
|
||||
"x": 4,
|
||||
"y": 3,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_tisch_96px",
|
||||
"x": 9,
|
||||
"y": 3,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_tisch_96px",
|
||||
"x": 14,
|
||||
"y": 3,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_tisch_96px",
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_tisch_96px",
|
||||
"x": 14,
|
||||
"y": 6,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_fass_96px",
|
||||
"x": 2,
|
||||
"y": 2,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_fass_96px",
|
||||
"x": 2,
|
||||
"y": 6,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_fackel_96px",
|
||||
"x": 17,
|
||||
"y": 1,
|
||||
"blocked": false,
|
||||
"licht": 0.4
|
||||
},
|
||||
{
|
||||
"id": "objekt_fackel_96px",
|
||||
"x": 2,
|
||||
"y": 1,
|
||||
"blocked": false,
|
||||
"licht": 0.4
|
||||
},
|
||||
{
|
||||
"id": "objekt_kiste_96px",
|
||||
"x": 17,
|
||||
"y": 7,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_tuer_96px",
|
||||
"x": 9,
|
||||
"y": 8,
|
||||
"blocked": false
|
||||
},
|
||||
{
|
||||
"id": "objekt_regal_96px",
|
||||
"x": 12,
|
||||
"y": 1,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_regal_96px",
|
||||
"x": 14,
|
||||
"y": 1,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_fass_96px",
|
||||
"x": 3,
|
||||
"y": 2,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_kiste_96px",
|
||||
"x": 2,
|
||||
"y": 7,
|
||||
"blocked": true
|
||||
},
|
||||
{
|
||||
"id": "objekt_tisch_96px",
|
||||
"x": 9,
|
||||
"y": 6,
|
||||
"blocked": true
|
||||
}
|
||||
],
|
||||
"npcs": [
|
||||
{
|
||||
"id": "wirtin",
|
||||
"x": 10,
|
||||
"y": 1
|
||||
}
|
||||
],
|
||||
"shops": [
|
||||
{
|
||||
"id": "taverne",
|
||||
"x": 10,
|
||||
"y": 1,
|
||||
"name": "Taverne",
|
||||
"wares": [
|
||||
{
|
||||
"id": "vorrat",
|
||||
"preis": 2
|
||||
},
|
||||
{
|
||||
"id": "trank_heilung_klein",
|
||||
"preis": 8
|
||||
},
|
||||
{
|
||||
"id": "trank_heilung",
|
||||
"preis": 14
|
||||
},
|
||||
{
|
||||
"id": "seil",
|
||||
"preis": 5
|
||||
},
|
||||
{
|
||||
"id": "laterne",
|
||||
"preis": 12
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"exits": [
|
||||
{
|
||||
"x": 9,
|
||||
"y": 8,
|
||||
"to": "ortsbild",
|
||||
"rahmen": true
|
||||
}
|
||||
],
|
||||
"encounters": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5,19 +5,38 @@
|
|||
"name": "Wache am Tor",
|
||||
"sprite": "nsc_wache_96px",
|
||||
"greeting": "Halt. Wer seid Ihr, und was führt Euch nach Garana?",
|
||||
"topics": ["tor", "geruechte"]
|
||||
"topics": [
|
||||
"tor",
|
||||
"geruechte"
|
||||
]
|
||||
},
|
||||
"haendler": {
|
||||
"name": "Krämer",
|
||||
"sprite": "nsc_haendler_96px",
|
||||
"greeting": "Ferrum zählt, nicht Gold. Was braucht Ihr?",
|
||||
"shop": ["laterne", "seil", "vorrat"]
|
||||
"shop": [
|
||||
"laterne",
|
||||
"seil",
|
||||
"vorrat"
|
||||
]
|
||||
},
|
||||
"dorfbewohnerin": {
|
||||
"name": "Bäuerin",
|
||||
"sprite": "nsc_dorfbewohnerin_96px",
|
||||
"greeting": "Im Rabenforst geht niemand mehr nach Einbruch der Dunkelheit.",
|
||||
"topics": ["geruechte"]
|
||||
"topics": [
|
||||
"geruechte"
|
||||
]
|
||||
},
|
||||
"wirtin": {
|
||||
"name": "Wirtin Hella",
|
||||
"sprite": "nsc_dorfbewohnerin_96px",
|
||||
"greeting": "Setzt Euch, Fremde. Der Eintopf ist heiß, das Bier kalt."
|
||||
},
|
||||
"schmied": {
|
||||
"name": "Schmied Torvald",
|
||||
"sprite": "nsc_dorfbewohner_96px",
|
||||
"greeting": "Klingen, Ketten, Eisen. Was soll es sein?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue