Добавлена система NPC, а также боевая система.
This commit is contained in:
@@ -14,7 +14,7 @@ RIDDLE_ANSWER=hole
|
||||
MAP_BEGIN
|
||||
##########
|
||||
#@.......#
|
||||
#....C...#
|
||||
#..N.C...#
|
||||
#........#
|
||||
#......D.#
|
||||
##########
|
||||
|
||||
@@ -14,7 +14,7 @@ RIDDLE_ANSWER=magic
|
||||
MAP_BEGIN
|
||||
##########
|
||||
#@.......#
|
||||
#..E.....#
|
||||
#..N..C..#
|
||||
#........#
|
||||
#......D.#
|
||||
##########
|
||||
|
||||
@@ -16,6 +16,6 @@ MAP_BEGIN
|
||||
#@.......#
|
||||
#....N...#
|
||||
#........#
|
||||
#......D.#
|
||||
#...C..D.#
|
||||
##########
|
||||
MAP_END
|
||||
@@ -15,7 +15,7 @@ MAP_BEGIN
|
||||
##########
|
||||
#@.......#
|
||||
#....C...#
|
||||
#..E.....#
|
||||
#..N.....#
|
||||
#......D.#
|
||||
##########
|
||||
MAP_END
|
||||
@@ -14,7 +14,7 @@ RIDDLE_ANSWER=keyboard
|
||||
MAP_BEGIN
|
||||
##########
|
||||
#@.......#
|
||||
#....E...#
|
||||
#....N...#
|
||||
#....C...#
|
||||
#......D.#
|
||||
##########
|
||||
|
||||
23
data/npcs/npc_1.txt
Normal file
23
data/npcs/npc_1.txt
Normal 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
|
||||
13
data/npcs/npc_2.txt
Normal file
13
data/npcs/npc_2.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
ID=2
|
||||
NAME=Dungeon Bandit
|
||||
STATE=HOSTILE
|
||||
HP=45
|
||||
DAMAGE=12
|
||||
|
||||
DIALOG_TEXT=The bandit blocks your path.
|
||||
OPTION_1=Fight.
|
||||
RESULT_1=FIGHT
|
||||
VALUE_1=0
|
||||
MESSAGE_1=The fight begins.
|
||||
|
||||
END
|
||||
23
data/npcs/npc_3.txt
Normal file
23
data/npcs/npc_3.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
ID=3
|
||||
NAME=Archivist
|
||||
STATE=FRIENDLY
|
||||
HP=50
|
||||
DAMAGE=6
|
||||
|
||||
DIALOG_TEXT=The archivist whispers: "Only those who understand patterns may pass."
|
||||
OPTION_1=Ask about the sequence.
|
||||
RESULT_1=OPEN_LOCATION
|
||||
VALUE_1=3
|
||||
MESSAGE_1=The archivist nods and unlocks the door.
|
||||
|
||||
OPTION_2=Demand his notes.
|
||||
RESULT_2=BECOME_HOSTILE
|
||||
VALUE_2=0
|
||||
MESSAGE_2=The archivist becomes hostile.
|
||||
|
||||
OPTION_3=Ask for help.
|
||||
RESULT_3=GIVE_ITEM
|
||||
VALUE_3=102
|
||||
MESSAGE_3=The archivist gives you a big healing potion.
|
||||
|
||||
END
|
||||
23
data/npcs/npc_4.txt
Normal file
23
data/npcs/npc_4.txt
Normal 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
|
||||
23
data/npcs/npc_5.txt
Normal file
23
data/npcs/npc_5.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
ID=5
|
||||
NAME=Gate Warden
|
||||
STATE=HOSTILE
|
||||
HP=100
|
||||
DAMAGE=16
|
||||
|
||||
DIALOG_TEXT=The warden blocks the final gate.
|
||||
OPTION_1=Fight.
|
||||
RESULT_1=FIGHT
|
||||
VALUE_1=0
|
||||
MESSAGE_1=The final battle begins.
|
||||
|
||||
OPTION_2=Try to negotiate.
|
||||
RESULT_2=NOTHING
|
||||
VALUE_2=0
|
||||
MESSAGE_2=The warden ignores your words.
|
||||
|
||||
OPTION_3=Run away.
|
||||
RESULT_3=NOTHING
|
||||
VALUE_3=0
|
||||
MESSAGE_3=You step back from the gate.
|
||||
|
||||
END
|
||||
Reference in New Issue
Block a user