diff options
-rw-r--r-- | db/constants.conf | 1 | ||||
-rw-r--r-- | npc/003-0/recepcionist.txt | 1 | ||||
-rw-r--r-- | npc/027-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/027-1/students.txt | 45 | ||||
-rw-r--r-- | npc/functions/random-talk.txt | 13 |
5 files changed, 60 insertions, 1 deletions
diff --git a/db/constants.conf b/db/constants.conf index d6a93a8d1..f264a1e8a 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -4108,6 +4108,7 @@ constants_db: { NPC_GAMEMASTER: 503 NPC_GAMEMISTRESS: 504 NPC_WOUNDEDSOLDIER: 505 + NPC_ACADEMY_HF: 506 NPC_SOUL_NORMAL: 700 NPC_SOUL_DESERT: 701 diff --git a/npc/003-0/recepcionist.txt b/npc/003-0/recepcionist.txt index 630eccaa3..5700e0f68 100644 --- a/npc/003-0/recepcionist.txt +++ b/npc/003-0/recepcionist.txt @@ -33,7 +33,6 @@ /* Prologue */ ////////////// L_Prologue: - next; mesn l("Magic Academy Tutorial"); mesc l("The Magic Academy System is responsible for learning most skills ingame. For that, you need two things: Magic Skill Points and a reagent."); next; diff --git a/npc/027-1/_import.txt b/npc/027-1/_import.txt index d964d0a64..6e000d9f7 100644 --- a/npc/027-1/_import.txt +++ b/npc/027-1/_import.txt @@ -8,3 +8,4 @@ "npc/027-1/luca.txt", "npc/027-1/saves.txt", "npc/027-1/statue.txt", +"npc/027-1/students.txt", diff --git a/npc/027-1/students.txt b/npc/027-1/students.txt new file mode 100644 index 000000000..d1427f6d2 --- /dev/null +++ b/npc/027-1/students.txt @@ -0,0 +1,45 @@ +// TMW2 Scripts +// Author: +// Jesusalva +// Description: +// Random NPC (HF = Human Female) + +027-1,132,112,0 script Student#A01 NPC_ACADEMY_HF,{ + +studenttalk(); +close; + +OnTimer1000: + domovestep(); + end; + +OnInit: + initpath "move", 132, 112, + "dir", DOWN, 0, + "wait", 20, 0, + "move", 132, 122, + "dir", DOWN, 0, + "wait", 20, 0, + "dir", UP, 0, + "wait", 1, 0, + "move", 132, 102, + "dir", DOWN, 0, + "wait", 20, 0, + "dir", LEFT, 0, + "wait", 1, 0, + "move", 115, 102, + "dir", DOWN, 0, + "wait", 20, 0 + "move", 112, 112, + "dir", DOWN, 0, + "wait", 20, 0, + "dir", RIGHT, 0 + "wait", 2, 0; + + initialmove; + initnpctimer; + + .sex = G_FEMALE; + .distance = 5; + end; +} diff --git a/npc/functions/random-talk.txt b/npc/functions/random-talk.txt index b9df6783a..f6345a406 100644 --- a/npc/functions/random-talk.txt +++ b/npc/functions/random-talk.txt @@ -192,3 +192,16 @@ function script asleep { } end; } + +function script studenttalk { + switch(rand2(6)) { + case 0: npctalkonce(l("I want to sleep...")); break; + case 1: npctalkonce(l("I have homework to do...")); break; + case 2: npctalkonce(l("I need to finish studying for my test...")); break; + case 3: npctalkonce(l("Ah, the Professors will get mad at me again...")); break; + case 4: npctalkonce(l("I'm a little busy right now.")); break; + + default: emotion(E_SLEEPY); + } + end; +} |