Update world data with dialogue, currency, and shop inventories

This commit is contained in:
AI Agent
2026-03-17 13:34:36 -06:00
parent 0722a2f1d7
commit 52b333fa48
8 changed files with 47 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
# Planned Features ## Completed
Tracking document for features and content planned for the MUD server. No implementation order implied unless noted. Grouped by difficulty (effort / scope). - **Shops / economy** — NPCs that buy and sell; currency and pricing.
- **Enhanced NPC Interactions** — Keyword-based dialogue system.
- **Aggressive NPC AI** — NPCs with Aggressive attitude now correctly initiate combat.
## Easy ## Easy
@@ -18,7 +20,6 @@ New state, commands, or mechanics with bounded scope.
- **Weather** — Weather system (e.g., rain, snow, fog) affecting areas or atmosphere; scope TBD. - **Weather** — Weather system (e.g., rain, snow, fog) affecting areas or atmosphere; scope TBD.
- **Day/night or time of day** — Time cycle affecting room descriptions, spawns, or NPC behavior; lighter than full weather. - **Day/night or time of day** — Time cycle affecting room descriptions, spawns, or NPC behavior; lighter than full weather.
- **Shops / economy** — NPCs that buy and sell; currency and pricing (new fields/tables, trade commands).
- **Quests or objectives** — Simple “kill X” / “bring Y” goals; quest state in DB and hooks in combat/loot/NPCs. - **Quests or objectives** — Simple “kill X” / “bring Y” goals; quest state in DB and hooks in combat/loot/NPCs.
- **Player parties** — Group formation, shared objectives, party-only chat or visibility; new state and commands. - **Player parties** — Group formation, shared objectives, party-only chat or visibility; new state and commands.
- **PvP** — Player-vs-player combat; consent/flagging, safe zones, and balance TBD. - **PvP** — Player-vs-player combat; consent/flagging, safe zones, and balance TBD.

View File

@@ -4,3 +4,9 @@ room = "lawold:senate_hall"
race = "race:human" race = "race:human"
class = "class:mage" class = "class:mage"
base_attitude = "neutral" base_attitude = "neutral"
gold = 1
silver = 5
[dialogue]
greeting = "Welcome to the senate hall. Just stay out of my way."
keywords = { sister = "She was my kin. My flesh and blood. And she left me for dead.", revenge = "One day, she will understand the depth of her betrayal." }

View File

@@ -4,3 +4,8 @@ room = "lawold:central_bridge"
race = "race:human" race = "race:human"
class = "class:warrior" class = "class:warrior"
base_attitude = "neutral" base_attitude = "neutral"
gold = 1
[dialogue]
greeting = "Stay sharp. These lands are dangerous."
keywords = { ogres = "They are a blight. A plague on this world.", destroy = "Every one of them must be wiped from existence." }

View File

@@ -3,3 +3,8 @@ description = "Saege has auburn hair and blue eyes. He wears modest garments and
room = "lawold:well_market_square" room = "lawold:well_market_square"
race = "race:human" race = "race:human"
base_attitude = "friendly" base_attitude = "friendly"
silver = 10
[dialogue]
greeting = "Greetings, traveler. May the iron amulet protect you."
keywords = { cult = "Cult? You must be misinformed. We are but humble followers.", god = "The dragon god of old is powerful beyond your reckoning." }

View File

@@ -4,3 +4,9 @@ room = "lawold:palace_village_palace_gate"
race = "race:human" race = "race:human"
class = "class:warden" class = "class:warden"
base_attitude = "friendly" base_attitude = "friendly"
silver = 2
copper = 5
[dialogue]
greeting = "Greetings. I am Sunna, a warden of the palace gate."
keywords = { prove = "I must prove that I am worthy of this post.", peers = "Many of my peers think I am too soft for this work." }

View File

@@ -4,3 +4,8 @@ room = "lawold:artists_district_lane"
race = "race:dwarf" race = "race:dwarf"
class = "class:warrior" class = "class:warrior"
base_attitude = "friendly" base_attitude = "friendly"
silver = 3
[dialogue]
greeting = "Greetings. I am Thosve."
keywords = { amends = "We all carry burdens. Some heavier than others.", life = "It was a mistake. But it cost a life. A life I cannot give back." }

View File

@@ -3,3 +3,14 @@ description = "Wisym is fair in appearance, with silver hair and sharp green eye
room = "lawold:saints_market_plaza" room = "lawold:saints_market_plaza"
race = "race:human" race = "race:human"
base_attitude = "neutral" base_attitude = "neutral"
silver = 20
[dialogue]
greeting = "Welcome to my shop. I have the freshest bread in Lawold."
keywords = { bread = "My bread is hearty and stays fresh for days. The guards love it." }
[shop]
buys = ["food"]
sells = ["town:healing_potion"]
markup = 1.5
markdown = 0.5

View File

@@ -4,3 +4,8 @@ room = "lawold:senate_plaza"
race = "race:human" race = "race:human"
class = "class:rogue" class = "class:rogue"
base_attitude = "friendly" base_attitude = "friendly"
silver = 5
[dialogue]
greeting = "It is good to see the sun again."
keywords = { imprisoned = "It felt like a long, dark dream.", century = "A hundred years have passed since I last saw this world." }