Jump to content

My script won't work


Recommended Posts

Try changing

Quote:
begintalknode 22;

state = 5;

personality = 0;

nextstate = -1;

condition = 1;

question = "No way! Do I look like a cheater?";

text1 = "You turn from the obelisk and walk away, knowing that you could have surpassed even the Shaper Council... But at least your integrity is intact.";

action = END_TALK;

 

begintalknode 23;

state = 5;

personality = 0;

nextstate = 31;

condition = 1;

question = "Duh! What do you think I am, stupid?";

text1 = "One side of the obelisk slides open, revealing a small vat of glowing yellow liquid.";

text2 = "What do you wish to do?"

 

begintalknode 24;

state = 31;

personality = 0;

nextstate = -1;

condition = 1;

question = "Put your hand in it.";

text1 = "As your hand makes contact with the fluid, it crawls up your arm, enveloping first you, then spreading along the ground to all your creations... None of you can move... You feel a growing warmth, and a sense of well-being...";

text2 = "With a loud 'slurp', the liquid all flows back into its vat, except some which stays in your money pouch, leaving you and your creatures fully healed and your wallet full of pure gold.";

code = heal_char(0,2000);

restore_energy_char(0,3000);

heal_char(1,2000);

restore_energy_char(1,3000);

heal_char(2,2000);

restore_energy_char(2,3000);

heal_char(3,2000);

restore_energy_char(3,3000);

heal_char(4,2000);

restore_energy_char(4,3000);

heal_char(5,2000);

restore_energy_char(5,3000);

heal_char(6,2000);

restore_energy_char(6,3000);

heal_char(7,2000);

restore_energy_char(7,3000);

change_coins(30000)

break;

 

begintalknode 25;

state = 31;

personality = 0;

nextstate = -1;

condition = 1;

question = "Drink it.";

text1 = "As you reach for it, the vat reshapes itself into a gem-studded goblet. You pick it up, drink, and fall to your knees as your body becomes a teeming mass of pain. Your last thought before passing out is, "I probably shouldn't have done that..." After a while, you waken and stand. You feel ready to take on the world.";

to
Quote:
begintalknode 92;

state = 5;

personality = 0;

nextstate = -1;

condition = 1;

question = "No way! Do I look like a cheater?";

text1 = "You turn from the obelisk and walk away, knowing that you could have surpassed even the Shaper Council... But at least your integrity is intact.";

action = END_TALK;

 

begintalknode 93;

state = 5;

personality = 0;

nextstate = 31;

condition = 1;

question = "Duh! What do you think I am, stupid?";

text1 = "One side of the obelisk slides open, revealing a small vat of glowing yellow liquid.";

text2 = "What do you wish to do?"

 

begintalknode 94;

state = 31;

personality = 0;

nextstate = -1;

condition = 1;

question = "Put your hand in it.";

text1 = "As your hand makes contact with the fluid, it crawls up your arm, enveloping first you, then spreading along the ground to all your creations... None of you can move... You feel a growing warmth, and a sense of well-being...";

text2 = "With a loud 'slurp', the liquid all flows back into its vat, except some which stays in your money pouch, leaving you and your creatures fully healed and your wallet full of pure gold.";

code = heal_char(0,2000);

restore_energy_char(0,3000);

heal_char(1,2000);

restore_energy_char(1,3000);

heal_char(2,2000);

restore_energy_char(2,3000);

heal_char(3,2000);

restore_energy_char(3,3000);

heal_char(4,2000);

restore_energy_char(4,3000);

heal_char(5,2000);

restore_energy_char(5,3000);

heal_char(6,2000);

restore_energy_char(6,3000);

heal_char(7,2000);

restore_energy_char(7,3000);

change_coins(30000);

break;

 

begintalknode 95;

state = 31;

personality = 0;

nextstate = -1;

condition = 1;

question = "Drink it.";

text1 = "As you reach for it, the vat reshapes itself into a gem-studded goblet. You pick it up, drink, and fall to your knees as your body becomes a teeming mass of pain. Your last thought before passing out is, "I probably shouldn't have done that..." After a while, you waken and stand. You feel ready to take on the world.";

Link to comment
Share on other sites

Oh, my god, your right, sorry for the confusion. It should read:

Quote:
begintalknode 93;

state = 5;

personality = 0;

nextstate = -1;

condition = 1;

question = "No way! Do I look like a cheater?";

text1 = "You turn from the obelisk and walk away, knowing that you could have surpassed even the Shaper Council... But at least your integrity is intact.";

action = END_TALK;

 

begintalknode 94;

state = 5;

personality = 0;

nextstate = 31;

condition = 1;

question = "Duh! What do you think I am, stupid?";

text1 = "One side of the obelisk slides open, revealing a small vat of glowing yellow liquid.";

text2 = "What do you wish to do?";

begintalknode 95;

state = 31;

personality = 0;

nextstate = -1;

condition = 1;

question = "Put your hand in it.";

text1 = "As your hand makes contact with the fluid, it crawls up your arm, enveloping first you, then spreading along the ground to all your creations... None of you can move... You feel a growing warmth, and a sense of well-being...";

text2 = "With a loud 'slurp', the liquid all flows back into its vat, except some which stays in your money pouch, leaving you and your creatures fully healed and your wallet full of pure gold.";

code = heal_char(0,2000);

restore_energy_char(0,3000);

heal_char(1,2000);

restore_energy_char(1,3000);

heal_char(2,2000);

restore_energy_char(2,3000);

heal_char(3,2000);

restore_energy_char(3,3000);

heal_char(4,2000);

restore_energy_char(4,3000);

heal_char(5,2000);

restore_energy_char(5,3000);

heal_char(6,2000);

restore_energy_char(6,3000);

heal_char(7,2000);

restore_energy_char(7,3000);

change_coins(30000);

break;

begintalknode 96;

state = 31;

personality = 0;

nextstate = -1;

condition = 1;

question = "Drink it.";

text1 = "As you reach for it, the vat reshapes itself into a gem-studded goblet. You pick it up, drink, and fall to your knees as your body becomes a teeming mass of pain. Your last thought before passing out is, "I probably shouldn't have done that..." After a while, you waken and stand. You feel ready to take on the world.";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...