Add inventory as a basic vector of items attached to the character, and the ability to pick up a single item where the character stands
27 lines
780 B
TOML
27 lines
780 B
TOML
[global]
|
|
welcome = "Welcome to Xanthous, {{character.name}}! It's dangerous out there, why not stay inside?"
|
|
describe_entities = "You see here {{descriptions}}"
|
|
describe_no_entities = "You see nothing here."
|
|
pick_up = "You pick up the {{item.name}}."
|
|
|
|
[combat]
|
|
attack = "You attack the {{creature.name}}."
|
|
killed = [
|
|
"You've killed the {{creature.name}}.",
|
|
"The {{creature.name}} dies.",
|
|
"The {{creature.name}} kicks it.",
|
|
"The {{creature.name}} beefs it."
|
|
]
|
|
|
|
[character]
|
|
name_prompt = [
|
|
"Hey there friend. What's your name?",
|
|
"Hey there friend. What should we call you?",
|
|
"Howdy. What's your name?",
|
|
"Name please!",
|
|
"What's your name?",
|
|
"Hey, what's your name?",
|
|
]
|
|
|
|
[defaults.item]
|
|
eat = "You eat the {{item.name}}. {{action.result}}"
|