summaryrefslogtreecommitdiff
path: root/npc/quests/bard_quest.txt
diff options
context:
space:
mode:
authorEmistry Haoyan <equinox1991@gmail.com>2019-06-16 18:44:45 +0800
committerHaru <haru@dotalux.com>2019-07-28 18:17:09 +0200
commit371d056df80b6f83484534f64883c3d020c4112d (patch)
tree20d38a8581f3a6159157bfa6644027d4007485bc /npc/quests/bard_quest.txt
parentef8bc3a8375d4fe9a5f75faf951b3deecb891d57 (diff)
downloadhercules-371d056df80b6f83484534f64883c3d020c4112d.tar.gz
hercules-371d056df80b6f83484534f64883c3d020c4112d.tar.bz2
hercules-371d056df80b6f83484534f64883c3d020c4112d.tar.xz
hercules-371d056df80b6f83484534f64883c3d020c4112d.zip
Sanitize handling of the input() values.
- avoid potential hacks for old scripts that use `input()` script commands. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/bard_quest.txt')
-rw-r--r--npc/quests/bard_quest.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt
index 7a187e6a3..43ef61cbf 100644
--- a/npc/quests/bard_quest.txt
+++ b/npc/quests/bard_quest.txt
@@ -320,7 +320,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "[" + @name$ + "]";
mes "Don't you think...";
mes "The person would be...";
- input .@inputstr$;
+ input(.@inputstr$);
mes .@inputstr$ + "?";
next;
@@ -546,7 +546,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "The lyrics. They must have been changed. Did Gunther say anything about this?! Hmmm, but who would change the lyrics...?";
next;
cutin "bard_eland01",2;
- input .@inputstr$;
+ input(.@inputstr$);
if (.@inputstr$ == "Kino Kitty") {
mes "[Errende]";
@@ -678,7 +678,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "Could it be that";
mes "the person who";
mes "changed the song is...";
- input .@inputstr$;
+ input(.@inputstr$);
mes "" + .@inputstr$ + "?";
next;
@@ -879,7 +879,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "[Errende]";
mes "The lyrics. They must have been changed. Did Gunther say anything about this?! Hmmm, but who would change the lyrics...?";
next;
- input .@inputstr$;
+ input(.@inputstr$);
if (.@inputstr$ == "Kino Kitty") {
cutin "bard_eland01",2;
mes "[Errende]";
@@ -2486,14 +2486,14 @@ payon,181,172,3 script Bard#4 1_M_BARD,{
mes "Now, what was the";
mes "name of the song again?";
next;
- input .@inputstr$;
+ input(.@inputstr$);
if (.@inputstr$ == "At One, I Fall in Love") {
mes "[Gunther Doubleharmony]";
mes "Ah~ that song...?";
mes "By the way, who asked you";
mes "to find out about the song?";
next;
- input .@inputstr$;
+ input(.@inputstr$);
if (.@inputstr$ == "Minty Errende") {
mes "[Gunther Doubleharmony]";
mes "Yes, that's my friend! Minty Errende! We used to so close to each other, so I'll write every word of the song for my friend Minty Errende, so turn around please!";
@@ -2843,7 +2843,7 @@ yuno_in04,20,123,7 script Representative#bq 4_F_SISTER,{
mes "[Marlin Putiur]";
mes "I also hear the Bards have been helping scholars instill bulletin boards in fields which indicate the location for new adventurers. Would you let me know the full name of the person you're looking for?";
next;
- input .@inputstr$;
+ input(.@inputstr$);
if (.@inputstr$ == "Minty Errende") {
mes "[Marlin Putiur]";
mes "Minty Errende...";
@@ -2909,7 +2909,7 @@ yuno_in04,33,119,3 script Adventurer#1 4_M_ROGUE,{
mes "My name is Pane.";
mes "May I ask yours?";
@name$ = strcharinfo(PC_NAME);
- input .@inputstr$;
+ input(.@inputstr$);
next;
mes "[Energetic Young Man]";
mes "Oh...";