Made NPCs interactable with the conversation system.

This commit is contained in:
2024-10-17 07:36:33 -07:00
parent 7867076bbe
commit 258976b76c
11 changed files with 77 additions and 53 deletions

View File

@ -5,12 +5,18 @@
"options": "Options",
"exit": "Exit"
},
"entities": {
"sign": {
"name": "Sign"
},
"bob": {
"name": "Bob"
}
},
"maps": {
"testmap": {
"sign": {
"text": "This is a sign.",
"name": "Sign"
}
"bob": "Hello, I am Bob.",
"sign": "This is a sign."
}
}
}

View File

@ -33,8 +33,8 @@
"type": 2,
"x": 9,
"y": 9,
"name": "Bob",
"text": "Hello, I am Bob."
"name": "entities.bob.name",
"text": "maps.testmap.bob"
},
{
"type": 3,