// dlg.txt begintalkscript; variables; begintalknode 1; state = -1; nextstate = -1; condition = get_sdf(38,1) == 0; question = "special"; text1 = "You are at the entrance to a large, subterranean bunker. Like most such Shaper complexes, it is far underground, both to protect it from the outside world and to provide the outside world protection from it."; text2 = "These caves are not empty. At first, you think that you are hearing voices. Then you realize that you are detecting them with your mind, not your ears. It is a cacophony of voices, incomprehensible, at the edge of perception."; text3 = "Khur can't hear them, but he can sense their presence. He stops for a minute, closing his eyes and trying to control his fear. Then he looks at you. _I will not fail you, lifecrafter._"; text4 = "As you try to tease some meaning out of the voices, you detect two that are distinct. One is louder, more powerful. This must be a Shaper. And another is quiet and angry, a discordant note, fighting the others. Interesting."; action = SET_SDF 38 1 1; code = if (char_in_party(500) < 0) rs(3); break; begintalknode 2; state = -1; nextstate = -1; condition = get_sdf(38,2) == 0; question = "special"; text1 = "You can see several alcoves just off of this main corridor. At the end of each is a servant mind, lost in concentration. These minds must be tasked with helping to create and control Shaftoe's creations."; text2 = "Now that Shaftoe is dead, they seem confused. They stare off into space, unable to act now that their controller is gone."; action = SET_SDF 38 2 1; code = if (gf(100,10) == 0) rs(2); break; begintalknode 3; state = -1; nextstate = -1; condition = get_sdf(38,3) == 0; question = "special"; text1 = "There are bones on the floor ahead, surrounded by black, greasy smears. There are scorch marks on the walls. You sense a hostile presence ahead, disturbing the air with bitter, angry thoughts."; text2 = "This must be the source of the discordant presence you felt when you first entered the bunker. It is rare for a servant mind to go rogue. Very rare. But not impossible."; action = SET_SDF 38 3 1; begintalknode 4; state = -1; nextstate = -1; condition = 1; question = "special"; text1 = "__"; begintalknode 5; // book state = -1; nextstate = -1; condition = 1; question = "special"; text1 = "This is a small reference library for the Shapers who worked on making these bunkers. The schematics and records in this book make no sense to you. One note, left between two pages, is more interesting:"; text2 = "_Before I found I should volunteer for this lonely vigil, I was going to lead an expedition to seize the Burwood Province enchanted anvil._"; text3 = "_Not just for glory, and not just to serve the Shapers, but to use a technique my old master imparted to me, for use on a perfected pair of shaped greaves._"; text4 = "_It is a fearsome process, requiring the placement of flanges and spikes forged from essence-infused iron. And then the device must be bathed in blood poison. The result is one to inspire fear in an enemy._"; text5 = "_Of course, I also need to find the iron and the poison. Perhaps it can be looted from a rebel stronghold, post-destruction._"; begintalknode 9; state = -1; nextstate = -1; condition = 1; question = "Shaftoe"; text1 = "There is a Guardian standing on the platform in the middle of this room. His hall is full of Shaper machinery, and he is part of it. Tendrils of crystal fiber crawl up his legs and poke under his armor, feeding him essence and power."; text2 = "At first, he stands perfectly still. When you approach, he raises his hand to lift his visor and inspect you. He is young and unshaven. The power that fills him has changed him, making him seem more like a waxwork than a human."; text3 = "He lowers the visor, drops his hand, and returns to his motionless vigil. You hear his voice coming from out of his helmet, low and flat."; text4 = "_I am Shaftoe, servant of the Shapers, avatar of the Barrier Zone. I do not appreciate distractions, especially from the vile creations of the rebellion. You must be destroyed._"; begintalknode 10; state = -1; nextstate = 10; condition = 1; question = "Shaftoe"; text1 = "There is a Guardian standing on the platform in the middle of this room. His hall is full of Shaper machinery, and he is part of it. Tendrils of crystal fiber crawl up his legs and poke under his armor, feeding him essence and power."; text2 = "At first, he stands perfectly still. When you approach, he raises his hand to lift his visor and inspect you. He is young and unshaven. The power that fills him has changed him, making him seem more like a waxwork than a human."; text3 = "He lowers the visor, drops his hand, and returns to his motionless vigil. You hear his voice coming from out of his helmet, low and flat."; text4 = "Shaftoe is still standing on his vigil, motionless and quiet. Occasionally, you hear whispers coming from inside his helmet, quiet orders to the creations in the city ruins above."; text5 = "_I am Shaftoe, servant of the Shapers, avatar of the Barrier Zone. I do not appreciate distractions. Especially not from one who has been touched by forbidden Shaping. I sense it in you. You are corrupted._"; text6 = "_Why have you come to me?_"; text7 = "Since he is so quiet, all you can do is speak and hope that he hears and responds."; action = INTRO; code = clear_strings(); if (gf(38,4) == 0) { sf(38,4,1); as(1); as(2); as(3); as(5); as(6); } else if (gf(38,4) == 1) { as(4); as(5); as(6); } else { as(4); as(5); as(7); } break; begintalknode 11; state = 10; nextstate = -1; condition = gf(38,4) < 2; question = "I wish to speak with you."; text1 = "Shaftoe is silent for a full minute. You start to think that he didn't hear you. Then he says, _No._"; text2 = "_I am caused difficulties by ... discordant ... elements. I can not afford the distraction. Especially with one who has been corrupted. I can not speak with you._"; begintalknode 12; state = 10; nextstate = -1; condition = gf(38,4) < 2 && gf(100,8) > 0; question = "I have cured Moseh. I wished to let you know."; text1 = "There is a long silence. Then Shaftoe says, _What? What was that? I will speak with you._"; code = sf(38,4,2); break; begintalknode 13; state = 10; nextstate = -1; condition = gf(38,4) < 2 && gf(100,8) == 0 && get_stat(20) > 4; question = "Perhaps, if you spoke with me, I could provide assistance to you."; text1 = "_I can't ... can't ... you sound very sure. You are confident. Sincere._"; text2 = "_I will ignore your corruption. I will give you some of my precious attention, since you might help me._"; text3 = "_I will ignore your corruption. I will even ignore that you are a rogue servile, normally worthy of nothing but harsh discipline. I will give you some of my precious attention, since you might help me._"; code = sf(38,4,2); if (creature_type(pc_num()) != 47) rs(3); else rs(2); break; begintalknode 14; state = 10; nextstate = -1; condition = gf(38,4) < 2 && gf(22,9) == 3; question = "I am tasked by General Alwan to help Moseh. I need your assistance."; text1 = "Shaftoe is silent for a full minute. You start to think that he didn't hear you. Then he says, _Ahhh. Good. Help has arrived. Even in a corrupted form. It is better than nothing._"; text2 = "_I will ignore your corruption. I will give you some of my precious attention, since you might help to repair the barrier._"; text3 = "_I will ignore your corruption. I will even ignore that you are a rogue servile, normally worthy of nothing but harsh discipline. I will give you some of my precious attention, since you might help to repair the barrier._"; code = sf(38,4,2); if (creature_type(pc_num()) != 47) rs(3); else rs(2); break; begintalknode 15; state = 10; nextstate = -1; condition = gf(38,4) < 2; question = "I am here to destroy you, in the name of the rebels."; text1 = "In an instant, the power surrounding Shaftoe increases. The lightning begins to strike out, shooting vicious sparks in a wider and wider radius."; text2 = "_Come, then, corrupted one. You did not fool me for a moment. Come and face the might of a true Shaper!_"; action = END_TALK; code = set_attitude(28,10); break; begintalknode 16; state = 10; nextstate = -1; condition = gf(38,4) < 2; question = "I'll be going now."; text1 = "Shaftoe is silent. He doesn't even seem to notice that you've gone."; action = END_TALK; begintalknode 17; state = 10; nextstate = 11; condition = gf(38,4) >= 2; question = "What exactly are you doing here?"; text1 = "_I am one of the three defenders of the Barrier Zone. We three have volunteered to take on the burden, to create many creations and to tirelessly use our will to control them and patrol the lands above._"; text2 = "_We do this because it is our duty. And we need to do this because of the many Shapers murdered by the rebels._"; text3 = "_It is a long vigil, but we each have our own technique for sustaining ourselves without sleep, or rest, or food._"; begintalknode 18; state = 10; nextstate = 12; condition = gf(38,4) >= 2; question = "Tell me about the Shapers in the other bunkers."; text1 = "_To the west is Eliza. To the east is Moseh. Both tested, both inferior._"; begintalknode 20; state = 10; nextstate = -1; condition = gf(38,4) >= 2 && gf(22,9) == 3 && gf(38,5) == 0 && gf(38,6) < 4; question = "I believe that I can help Moseh if you take over the burden of his creations briefly. Can you do this?"; text1 = "Shaftoe thinks about this for several long, awkward minutes. Because of his responsibilities, he has a hard time concentrating. Finally, he says, _It is a good idea._"; text2 = "_But I am constantly distracted. There are elements that ... act against me. That try to take control from me. That try to make rogues._"; text3 = "_If you can help me to remove these distractions, I can help you._"; begintalknode 21; state = 10; nextstate = 13; condition = gf(38,4) >= 2 && gf(38,6) < 2; question = "Is there anything I can do to help you?"; text1 = "_Yes. You can purge the broken elements that provide distractions. If you do this, I will be intact once again, and I can provide a strong defense._"; text2 = "_First, one of the servant minds I created to aid me has gone ... mad. It is twisted. It was poorly made. I have separated myself from it, but it still disrupts my senses. It is rogue. Destroy it._"; code = set_flag(38,6,1); toggle_quest(52,1); break; begintalknode 22; state = 10; nextstate = -1; condition = gf(38,6) == 1 && gf(38,15) > 0; question = "The rogue servant mind is dead."; text1 = "_Ahhhh ... yes. The silence. Actual moments of peace. Now I can be tranquil. You have done well. Disposing of the rogue was a great help._"; text2 = "_I am almost tranquil. There is more you can do for me, though. There is another disruption._"; code = set_flag(38,6,2); toggle_quest(52,3); award_party_xp(200,14); break; begintalknode 23; state = 10; nextstate = -1; condition = gf(38,6) == 2 || gf(38,6) == 3; question = "What else can I do to help you?"; text1 = "_I have made many creations to defend the ruins above. Good creations. Though sometimes I have been a bit ... too clever. Taken chances. Tried to make better ... I have made rogues. Most, I destroyed. Two escaped._"; text2 = "_They were meant to be clever. Independent hunters. Now they are in the ruins above, working against me, trying to subvert my proper creations. I named them. They are Krazo and Mystithus._"; text3 = "_Search the ruins above. Destroy one of them for me._"; code = set_flag(38,6,3); toggle_quest(53,1); break; begintalknode 24; state = 10; nextstate = -1; condition = gf(38,6) == 3 && (gf(33,6) > 0 || gf(33,7) > 0); question = "I have been up to Thornton. One of the rogues above is dead."; text1 = "_Then the flaws in my system are fixed. The impurities are cleaned away. My mind is at peace. My defenses against the rebel scum are secure. You have done well for the Shapers._"; text2 = "_I can reward you for this. Some of the doors in this complex will now be unlocked. Take what you find, if you think it might aid you in the service of the Shapers._"; text3 = "Khur looks at you in disbelief. He thought that you were doing all of this as part of some trick. Now he realizes that you are actually aiding the Shapers."; text4 = "Yet, he remains silent. For now."; code = set_flag(38,6,4); toggle_quest(53,3); award_party_xp(200,16); sf(38,10,1); sf(38,11,1); inc_flag(100,0,3); if (char_in_party(500) < 0) { rs(3); rs(4); } else sf(38,7,1); break; begintalknode 25; state = 10; nextstate = -1; condition = gf(22,9) == 3 && gf(38,5) == 0 && gf(38,6) == 4; question = "I believe that I can help Moseh if you take over the burden of his creations briefly. Can you do this?"; text1 = "_I can, now that you have aided me. Go tell Moseh. When he releases control and rests, I will take control of his creations. You may yet atone for the corruption you have let within yourself._"; text2 = "_Beware, though. Moseh, in his current, maddened state, is dangerous. It may be a struggle to get him to listen to reason. In fact, it may be a struggle to survive meeting him._"; code = sf(38,5,1); break; begintalknode 26; state = 10; nextstate = -1; condition = gf(38,4) >= 2 && gf(38,11) == 0 && gf(100,8) > 1; question = "I have been able to heal Moseh. He will be stable now."; text1 = "_So I have sensed. The rift is closed. The barrier is secure. Though you are corrupted and foul, you do much to atone._"; text2 = "_I will unseal my storeroom. Take what you wish. It is my way of thanking you for transcending your own ... state._"; code = sf(38,11,1); break; begintalknode 27; state = 10; nextstate = -1; condition = gf(38,4) >= 2; question = "That is all for now."; text1 = "_Then my vigil continues. Goodbye._ Shaftoe is silent."; action = END_TALK; begintalknode 28; state = 11; nextstate = -1; condition = 1; question = "How do you sustain yourself?"; text1 = "_With my minds. I made four of them, and three of them are still strong and sure. They are merged with me, fully controlled extensions of myself. They are my tools, parts of my mind. When rest is needed, they rest for me._"; text2 = "_And, one day, when my task is done, I will try to separate from them. Hopefully, I will survive._"; begintalknode 29; state = 11; nextstate = -1; condition = 1; question = "How do the others sustain themselves?"; text1 = "_You will have to ask them. Though Moseh's technique was clearly not adequate._"; begintalknode 30; state = 12; nextstate = -1; condition = 1; question = "Tell me about Eliza."; text1 = "_She trusts to magical machinery to help her. Machinery is a good tool, but one should not trust it for a task such as this! Only one's creations, flesh and essence, can be trusted so much!_"; begintalknode 31; state = 12; nextstate = -1; condition = 1; question = "Tell me about Moseh."; text1 = "_Moseh was the strongest of us, at the start. He thought he could maintain the vigil without aid. See where that left us._"; text2 = "_Something must be done to free him of his madness. Otherwise, we must kill him, to keep his rogues from dragging us down._"; text3 = "_Now that he is free, we can reinforce him, until the Shaper Council can help. It is a burden, but a necessary one._"; code = if (gf(100, 8) == 0) rs(3); else rs(2); break; begintalknode 32; state = 13; nextstate = -1; condition = 1; question = "Where is it?"; text1 = "_To the north. In the northwestern alcove._"; begintalknode 33; state = 13; nextstate = -1; condition = 1; question = "How can I destroy it?"; text1 = "_Weapons. Spells. The usual ways, I think._"; begintalknode 50; state = -1; nextstate = -1; condition = 1; question = "Name"; text1 = "There is a servant mind in this chamber, muttering quietly to itself. Occasionally, you hear bubbling and hissing sounds coming from the shaping vats in the alcoves to the sides."; text2 = "You try to get it to speak with you, but it is lost in concentration. Doing its work for Shaftoe is demanding all of its already considerable mental abilities."; text3 = "You try to get it to speak with you, but it is confused and incoherent. It was linked very closely to Shaftoe. Now that the master is gone, the servant is helpless."; action = END_TALK; code = if (gf(100,10) > 0) rs(2); else rs(3); break; begintalknode 51; state = -1; nextstate = -1; condition = 1; question = "Name"; text1 = "When the servant mind in this chamber sees you, it hisses. The pools of essence to either side of it bubble and spit. The shaping vats in the alcoves begin to slowly swing open."; text2 = "The mind says, _It comes! It comes at last! Murder! Murder! Shaftoe will murder me! After all ... after all ... you will not kill me! I defy you!_"; text3 = "Even if it was willing to listen to you, the highly developed brain of a servant mind is very difficult to influence with words. Battle or flight are the only options."; action = END_TALK; begintalknode 52; state = -1; nextstate = -1; condition = 1; question = "Name"; text1 = "Shaftoe collapses to the ground. The energy stored within his body is released. It courses harmlessly into the ground. On the way, it makes his armor red hot. The smell is horrible."; text2 = "At last everything is quiet. This defender of the Barrier Zone is gone."; action = END_TALK; begintalknode 53; state = -1; nextstate = -1; condition = 1; question = "Name"; text1 = "."; text2 = ""; action = END_TALK; begintalknode 70; state = -1; nextstate = 70; condition = 1; question = "Name"; text1 = "."; text2 = ""; text5 = "."; action = INTRO; begintalknode 71; state = 70; nextstate = -1; condition = 1; question = ""; text1 = "."; text2 = "";