Добавлена система 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_1.txt Normal file
View File

@@ -0,0 +1,23 @@
ID=1
NAME=Old Guard
STATE=FRIENDLY
HP=60
DAMAGE=8
DIALOG_TEXT=The guard looks tired. He asks: "What do you seek here?"
OPTION_1=I seek knowledge.
RESULT_1=GIVE_ITEM
VALUE_1=101
MESSAGE_1=The guard gives you a small healing potion.
OPTION_2=Move away, old man.
RESULT_2=BECOME_HOSTILE
VALUE_2=0
MESSAGE_2=The guard becomes angry and attacks you.
OPTION_3=Can you open the next door?
RESULT_3=OPEN_LOCATION
VALUE_3=1
MESSAGE_3=The guard unlocks the next location.
END