diff options
Diffstat (limited to 'npc/001-1/rowboat.txt')
-rw-r--r-- | npc/001-1/rowboat.txt | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/npc/001-1/rowboat.txt b/npc/001-1/rowboat.txt index 8682ba0e..a5e158d3 100644 --- a/npc/001-1/rowboat.txt +++ b/npc/001-1/rowboat.txt @@ -1,20 +1,48 @@ // Evol scripts. // Author: -// Micksha +// Micksha, Toams // Description: // The rowboat, picking up the player on small beach in order to bring it to Koga. -// THIS IS A PLACEHOLDER! +// TODO: +// Check if the player who wants to enter the boat is the same as the one who called for the boat. +// Make the rowboat move back to the cave if the player doesnt enter in time. -001-1,203,64,0 script Rowboat NPC_ROWBOAT_STAND_WE,{ - speech +001-1,193,26,0 script #Rowboat NPC_ROWBOAT_STAND_WE,{ + + + speech S_LAST_BLANK_LINE | S_LAST_NEXT, l("Oh, hi."), - l("In case you don't have a commendatory letter from you-know-whom, I am just sitting here and observe the whales."); - l("Perhaps, and only perhaps, if you bring me the latter, I can bring you to a ship that will perhaps, and only perhaps, be able to bring you to Woodland."); + l("In case you don't have a commendatory letter from you-know-whom, I am just sitting here and observe the whales."), + l("Perhaps, and only perhaps, if you bring me the latter, I can bring you to a ship that will perhaps, and only perhaps, be able to bring you to Woodland."), + l("Do you have this commendatory letter?"); + closeclientdialog(); + if (askyesno() == 1) { + slide_or_warp("001-1", 204, 62); + movenpc("#Rowboat", 193, 26); + setmount 1; close; + } + +OnMoveToBeach: +firstmove; +end; + +OnTimer1000: + dographmovestep; OnInit: .sex = G_MALE; .distance = 3; - end; + .speed = 175; + + initmovegraph "Cave", 193, 26, + "CP1", 202, 27, + "CP2", 213, 58, + "Beach", 203, 64; + + setmovegraphcmd "Cave", "CP1", 1, "dir 4", + "CP1", "CP2", 1, "dir 4", + "CP2", "Beach", 1, "dir 4"; + initnpctimer; } |