#Thief returns gapples for life - shows up at end #Thief knocks player out, doesn't show up cael124: type: assignment actions: on assignment: - trigger name:chat state:true - trigger name:click state:true interact scripts: - 1 CAELtest1 THIEF124: type: assignment actions: on assignment: - trigger name:chat state:true - trigger name:click state:true interact scripts: - 1 THIEFtest1 CAELTEST1: type: interact steps: 1: click trigger: script: - chat "Hello , I was just looking for you." - WAIT 1 - CHAT "We had a break in a few days ago, and a thief made off with some God Apples." - WAIT 1 - CHAT "You've probably got better things to do, but I need you to hunt him down and retrieve them." - zap step:2 2: Chat Trigger: 1: Trigger: /Yes/, okay Script: - CHAT "Thanks!" - WAIT 1 - CHAT "I heard there was a thieves base at around -1100 -1900, go and take a look there."] - flag player caeltest1 - zap step:3 2: Trigger: /No/, not just now. Script: - CHAT "Okay, come back when you have time." - zap step:1 3: click trigger: script: - if { - chat "Hello , have you got my God Apples?" - if { - NARRATE "-----------------------------------------------------" - NARRATE "1. The thief attacked me and disappeared." - if { - NARRATE "2. The thief attacked me, but I have some spare God Apples - Give Own" } - NARRATE "-----------------------------------------------------" - zap step:4 } else { - NARRATE "-------------------------------------------------" - NARRATE "1. The thief wasn't there - Lie and keep apples " - NARRATE "2. Yes - Give Apples" - NARRATE "-------------------------------------------------" - ZAP step:5 } } else { - CHAT "Did you check the base at -1100 -1900 yet?" } 4: Chat Trigger: 1: Trigger: "/1/. The thief attacked me and disappeared." Script: - CHAT "Oh dear " - WAIT 1 - CHAT "I'm afraid that's really rather unhelpful actually." - zap step:6 2: Trigger: "/2/. The thief attacked me, but I have some spare God Apples." Script: - CHAT "That's a kind offer . Thank you very much." - take golden_apple quantity:2 - zap step:6 5: Chat Trigger: 1: Trigger: /1/. The thief wasn't there. Script: - CHAT "Oh dear " - WAIT 1 - CHAT "I'm almost certain that's where the thieves camp out." - WAIT 1 - CHAT "Oh well, we'll have to go without." - zap step:6 2: Trigger: /2/. Yes. Script: - if { - chat "You don't have those golden apples!" } else { - CHAT "Thank you so much . These will be very useful in the future." - take golden_apple quantity:2 - zap step:6 } 6: click trigger: script: - chat "Thanks for all the help, " #Thief script ------------------------------------------------------- THIEFTEST1: type: interact on assignment: - trigger chat true - trigger click true steps: 1: click trigger: script: - if { - chat "Argh!" - WAIT 1 - chat "Oh wait, it's just you, " - WAIT 1 - chat "I suppose you're here for those God Apples I stole from the Enclave." - WAIT 1 - chat "I have a proposal, if you're interested." - zap step:2 } 2: Chat Trigger: 1: Trigger: /Yes/, keep talking. Script: - CHAT "I stole the God Apples in the hope of making a quick profit." - WAIT 1 - CHAT "I didn't realise that the Imperium had come back though." - WAIT 1 - CHAT "If you let me leave with all my equipment, I'll return the God Apples." - WAIT 1 - CHAT "Do you agree?" - zap step:3 2: Trigger: /No/, I'm going to kill you and take the God Apples. Script: - CHAT "That's rather unfortunate, I hoped it wouldn't come to this." - flag player thieftest3 - flag player thieftest4 - WAIT 1 - NARRATE "Something hits you in the back of the head, and everything turns black." - WAIT 1 - NARRATE "You wake up in a pond in the middle of nowhere, you'll need to explain the situation to Blacksmith Cael." - ^execute as_server "tp -988 66 -1955" - ^execute as_server "effect 9 10" - ^execute as_server "effect 15 5" 3: Chat Trigger: 1: Trigger: /Yes/, I do. Script: - CHAT "Oh good, here are the apples." - WAIT 1 - CHAT "Our paths may cross again, ." - give golden_apple quantity:2 - flag player thieftest3 - zap step:4 2: Trigger: /No/, I'm going to kill you and take everything. Script: - CHAT "That's rather unfortunate, I hoped it wouldn't come to this." - flag player thieftest4 - flag player thieftest3 - WAIT 1 - NARRATE "Something hits you in the back of the head, and everything turns black." - WAIT 1 - NARRATE "You wake up in a pond in the middle of nowhere, you'll need to explain the situation to Blacksmith Cael." - ^execute as_server "tp -988 66 -1955" - ^execute as_server "effect 9 10" - ^execute as_server "effect 15 5" - zap step:4 4: click trigger: script: - chat "Hello there, "