shopkeeper_jeelei: type: assignment interact scripts: - jeelei_regular actions: on assignment: - trigger name:click state:true - trigger name:proximity state:true - trigger name:chat state:true - lookclose true range:10 realistic - rename Jee-Lei - execute as_player "loadskin JeeLei" silent jeelei_regular: type: interact steps: 1: proximity trigger: entry: script: - random: - narrate "Welcome friend, how may I assist you?" format:chatNPC25 - narrate "Welcome!" format:chatNPC25 - narrate "If you need any supplies, you know where to find me." format:chatNPC25 exit: script: - narrate "Farewell!" format:chatNPC25 click trigger: script: - random: - narrate "I may not have potions, but I do have nearly everything else!" format:chatNPC25 - narrate "Have anything you wish to sell? I pay fair prices for certain goods!" format:chatNPC25 - narrate "If you ever need apothecary supplies, talk to my wife Karliah" format:chatNPC25 - narrate "My wife's quite the alchemist. Thanks to her, our potatoes are growing quicker than ever before." format:chatNPC25 - narrate "Perhaps I'll head over to Vadim's tonight..." format:chatNPC25 - narrate "What would you like to ask Jee-Lei?" - wait 1 - narrate "1. What're you selling?].on_click[/denizenclickable chat What're you selling?]>" - narrate "2. Tell me about yourself.].on_click[/denizenclickable chat Tell me about yourself.]>" - narrate "3. Heard any rumours around the city?].on_click[/denizenclickable chat Heard any rumours around the city?]>" - narrate "4. Goodbye.].click_chat[Goodbye.]>" chat trigger: 1: trigger: /What're you selling?/ script: - random: - narrate "Take a look." format:chatNPC25 - narrate "I sell all manner of essential items." format:chatNPC25 - wait 1 - execute as_server "dtltraders open Jee-lei" 2: trigger: /Tell me about yourself./ script: - narrate "Well, I run this general store. Mostly by myself but my wife, Karliah, helps occasionally." format:chatNPC25 - wait 0.5 - narrate "My wife is ever so talented, shes an alchemist you see." format:chatNPC25 - wait 0.5 - narrate "Oh dear, there I go again babbling on about her! But can you blame me, I'm a very lucky man." format:chatNPC25 3: trigger: /Heard any rumours around the city?/ script: - narrate "Rumours? Ah, you must be one of those adventuring types. I've not heard of any rumours, sorry." format:chatNPC25 - wait 0.5 - if : - narrate "I'd give you work, but I am still well stocked from the last time you helped!" format:chatNPC25 - wait 0.5 - narrate "I know Vadim often has work.. though they may require a strong stomach knowing him." format:chatNPC25 - else: - narrate "But... I do need a few errands run if you're willing. I'll pay you of course..." format:chatNPC25 - wait 0.5 - narrate "Do you want to help Jee-Lei?" - narrate " Yes.].click_chat[Yes.].on_hover[Click to accept the quest!]> No.].click_chat[No.].on_hover[Click to decline the quest!]>" - zap 2 4: trigger: /Goodbye./ script: - narrate "Come back soon!" 2: proximity trigger: exit: script: - narrate "Oh. I'll take that as a no. But the offer is still on the table if you change your mind." format:chatNPC25 - zap 1 chat trigger: 1: trigger: /Yes./ script: - narrate "Excellent!" format:chatNPC25 - wait 0.5 - narrate "I'm running low on a few supplies, I've made a list. Here." format:chatNPC25 - wait 0.5 - narrate "[25] * JeeLei hands you a handwritten list of items *" - give Jeelei_questbook1 - wait 0.5 - narrate "Come back when you have everything." format:chatNPC25 - wait 2 - narrate "Oh! Don't buy fish from Felrod, he's a con-man through and through!" format:chatNPC25 - zap jeelei_quest1 - flag JeeleiQuest1:1 2: trigger: /No./ script: - narrate "Ah, I understand. I'll ask someone else." format:chatNPC25 jeelei_quest1: proximity trigger: entry: script: - if : - narrate "I wanted to thank you for collecting my items, I'm sure Karliah will love the flowers." format:chatNPC25 - zap jeelei_regular - else: - stop - narrate "Ah, its you again." format:chatNPC25 exit: script: - narrate "Best of luck looking for my things... I do need them quite soon." format:chatNPC25 click trigger: script: - random: - narrate "I may not have potions, but I do have nearly everything else!" format:chatNPC25 - narrate "Have anything you wish to sell? I pay fair prices for certain goods!" format:chatNPC25 - narrate "If you ever need apothecary supplies, talk to my wife Karliah" format:chatNPC25 - narrate "My wife's quite the alchemist. Thanks to her, our potatoes are growing quicker than ever before." format:chatNPC25 - narrate "Perhaps I'll head over to Vadim's tonight..." format:chatNPC25 - narrate "Welcome back, friend? Here to deliver or do you need supplies?" format:chatNPC25 - narrate "What would you like to ask Jee-Lei?" - wait 1 - narrate "1. What're you selling?].click_chat[What're you selling?]>" - narrate "2. I haven't found the items yet...].click_chat[I haven't found the items yet...]>" - narrate "3. I'm back with your items!].click_chat[I'm back with your items!]>" - narrate "4. I quit. I don't want to help you anymore.].click_chat[I quit. I don't want to help you anymore.]>" - narrate "5. Goodbye.].click_chat[Goodbye.]>" chat trigger: 1: trigger: /What're you selling?/ script: - narrate "Take a look, but be quick." format:chatNPC25 - wait 1 - execute as_server "dtltraders open Jee-lei" 2: trigger: /I haven't found the items yet.../ script: - random: - narrate "Perhaps you should get back out there hm?" format:chatNPC25 - narrate "I do need them quite soon, you know." format:chatNPC25 - narrate "I trust theres a good reason for that...?" format:chatNPC25 - narrate "I'm not paying you until I recieve my shipment." format:chatNPC25 - narrate "What would you like to ask Jee-Lei?" - wait 1 - narrate "1. I quit. I don't want to help you anymore.].click_chat[I quit. I don't want to help you anymore.]>" - narrate "2. Goodbye.].click_chat[Goodbye.]>" 3: trigger: /I'm back with your items!/ script: - narrate "Oh! How wonderful!" format:chatNPC25 - wait 1 - narrate "Let's just have a look..." format:chatNPC25 - define mnemoblume - if && && && && ].quantity[1]>: - narrate "[25] * hands Jee-Lei the collected items. *" - take item:apple quantity:10 from: - take item:wheat quantity:16 from: - take item:cod quantity:8 from: - take item:salmon quantity:8 from: - take item:<[mnemoblume]> quantity:1 from: - wait 1 - narrate "Wonderful! Wonderful! Here's some Brass for your trouble!" format:chatNPC25 - wait 0.5 - narrate "[25] * JeeLei smiles, thrusting 75 Brass into 's hand.*" - money give quantity:75 players: - wait 1 - narrate "Let me just jot this exchange down in my handy-dandy notebook.." format:chatNPC25 - wait 2 - narrate "My... notebook. Hm. It should be here somewhere!" format:chatNPC25 - wait 1 - narrate "[25] * JeeLei chuckles nervously, patting himself down before shifting papers on the bench. *" - wait 2.5 - narrate "[25] * JeeLei looks up at , and gives up on his search. *" - narrate "I-... I must've dropped it on my travel into Faedrun earlier!" format:chatNPC25 - wait 2 - narrate "Ugh... I have to stay here and tend to my customers!" format:chatNPC25 - wait 1 - narrate "You've already helped me, but would you be willing to retrace my steps and look for my beloved notebook?" format:chatNPC25 - wait 0.5 - narrate "Do you want to help Jee-Lei?" - narrate " Yes.].click_chat[Yes.].on_hover[Click to accept the quest!]> No.].click_chat[No.].on_hover[Click to decline the quest!]>" - zap jeelei_quest2_begin - flag JeeleiQuest1:! - else: - narrate "Oh.. you're missing some items. Please come back when you have everything." format:chatNPC25 4: trigger: /I quit. I don't want to help you anymore./ script: - random: - narrate "Ugh! Now you've wasted my time and yours!" format:chatNPC25 - narrate "I'll have to get them myself. Thanks for nothing." format:chatNPC25 - narrate "...I understand and I'm disappointed." format:chatNPC25 - zap jeelei_regular 1 - flag JeeleiQuest1:! 5: trigger: /Goodbye./ script: - narrate "Goodbye, do hurry back." format:chatNPC25 jeelei_quest2_begin: proximity trigger: entry: script: - narrate "Oh! Its you again! Have you come to help me find my journal?" format:chatNPC25 exit: script: - narrate "Farewell.. please reconsider." format:chatNPC25 chat trigger: 1: trigger: /Yes./ script: - narrate "Oh thank the gods! You are a gift, my friend!" format:chatNPC25 - wait 0.5 - narrate "stuff happens" format:chatNPC25 - wait 0.5 - narrate "resetting quest for now tho" format:chatNPC25 - zap jeelei_regular - flag JeeleiQuest2 2: trigger: /No./ script: - narrate "Ah, I understand. I'll ask someone else." format:chatNPC25 - wait 0.5 - narrate "stuff happens" format:chatNPC25 - wait 0.5 - narrate "resetting quest for now tho" format:chatNPC25 - zap jeelei_regular click trigger: script: - zap jeelei_regular Jeelei_questbook1: type: book # The 'custom name' can be anything you wish. # | All book scripts MUST have this key! title: Jee-Lei's Supply List # The 'custom name' can be anything you wish. # | All book scripts MUST have this key! author: Jee-Lei # Defaults to true. Set to false to spawn a 'book and quill' instead of a 'written book'. # | Some book scripts might have this key! signed: true text: - Jee-Lei's Supply List 1. 10x Apples2. 16x Wheat Bushels3. 8x Raw Cod4. 8x Raw Salmon5. 1x Mnemoblume BlossomThe Mnemoblume is found somewhere blah blah mnem: type: command name: cap description: mnem usage: /mnem script: - define mnemoblume - if ].quantity[1]>: - narrate "yes"