Добавлена система NPC, а также боевая система.

This commit is contained in:
DeLiss
2026-06-11 12:45:30 +05:00
parent 5d4940f754
commit f0a928938b
19 changed files with 427 additions and 19 deletions

23
data/npcs/npc_4.txt Normal file
View File

@@ -0,0 +1,23 @@
ID=4
NAME=Library Keeper
STATE=FRIENDLY
HP=70
DAMAGE=10
DIALOG_TEXT=The keeper stands near the shelves. "Knowledge has a price."
OPTION_1=Respect the library.
RESULT_1=OPEN_LOCATION
VALUE_1=4
MESSAGE_1=The keeper allows you to pass.
OPTION_2=Steal a book.
RESULT_2=BECOME_HOSTILE
VALUE_2=0
MESSAGE_2=The keeper attacks you for stealing.
OPTION_3=Ask for supplies.
RESULT_3=GIVE_ITEM
VALUE_3=101
MESSAGE_3=The keeper gives you a small healing potion.
END