Author Topic: Weird quest bug? or possible syntax error?  (Read 868 times)

owen_a

  • Traveller
  • *
  • Posts: 27
    • View Profile
Weird quest bug? or possible syntax error?
« on: May 25, 2011, 12:51:34 pm »
Hello,

I just modified the Puzzle script to point towards my NPC, and it works a bit. The reason is when I say the correct colour I edited in the script, it does not continue with the rest of the script. Here it is:

Code: [Select]
Quest Script:
P: Greetings
Menu: I'll solve a riddle for a tria.

Veronica: Ok that is fun. I like riddles. What is my favorite color?

Assign Quest

...

P: *. P: blue
Menu: That isn't a riddle, little man. Menu: ?=Favorite color

M: I don't care what you think of my riddle! What is my favorite color?
M: Yes, blue is my favorite color. Isn't it a wonderful color? Here is your reward.

Give 1 tria.

Whats wrong?

Another problem is the MaleEnki scripts I also eited to point towards one of my NPC's. This case, when i double click on the NPC which is supposed to have the quest assigned to him, it comes up saying, this NPC has no information for you. The code for one of the quests are:

Code: [Select]
Quest Script:
P: Greetings

Butch: Hail! Would you like to earn a little money?

P: No P: Yes
Menu: I am not interested. Menu: Cool yeah, I am totally broke.

M: Well ok then. Have a good day.

M: My daughter Laura ran off with James and I fear they are up to no good. If you can find out if he really loves her, I'll pay you. Can you do this for me?

P: No P: Yes
Menu: You will never find her. Menu: $playername shrugs $his shoulders and nods.

M: Fair enough. I guess I'll just try to find someone else.

M: Last time I caught them upstairs above the blacksmith shop. Please hurry up and ask her!

Assign Quest.


P: Greetings

Owen: Go away! We're busy.{her:Laura}

P: * P: Do you love Laura

S: You are so rude! Go away!
Run script(3) kick_you

S: Of course I love her! We are going to marry in the morning.



P: Greetings

Butch: Oh I'm so glad you are back. Did you find him? Does he love her?{him:James,her:Laura}

P: * P: Butch says he does. James loves Laura.

M: That isn't what Thalia told me 5 minutes ago. You're just faking to get
the money! Go away!

M: Ah! Thank heavens. Perhaps now they will get married! Thanks for your
help!

Give 25 tria.

Any help would be much appreciated!

- Owen

« Last Edit: May 25, 2011, 12:53:31 pm by owen_a »

weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Weird quest bug? or possible syntax error?
« Reply #1 on: May 25, 2011, 01:50:49 pm »
put the full name

owen_a

  • Traveller
  • *
  • Posts: 27
    • View Profile
Re: Weird quest bug? or possible syntax error?
« Reply #2 on: May 25, 2011, 02:07:51 pm »
What do you mean? It only has a first name.

weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Weird quest bug? or possible syntax error?
« Reply #3 on: May 28, 2011, 09:14:46 am »
not just M