cchat: type: format format: "<&b><&f><&co> <&a>" Guide: type: assignment actions: on assignment: - trigger name:chat state:true - trigger name:click state:true Interact Scripts: - 10 guide_interact guide_interact: type: Interact Steps: '1': click trigger: Script: - narrate format:cchat "Hello! Would you like a tour?" - narrate "Say /yes/ or /no/" chat trigger: 1: trigger: /Yes/, I'd love to script: - narrate format:cchat "Great! Follow me!" - ^create player Guide save:guide - ^adjust hide_entity: - ^adjust ]> hide_entity: - ^run guide_path npc: def:<^npc> - zap 2 2: trigger: /No/, I don't want to script: - narrate format:cchat "Okay, enjoy your time!" guide_path: - type: interact - steps: - 'money': - click trigger: - script: - - ~walk auto_range - - ~inject guide_talk_money - - ^inject guide_trypause - - zap 'land' - 'land': - click trigger: - script: - - ~walk auto_range - - ~inject guide_talk_land - - ^inject guide_trypause - - zap 'city' - 'city': - click trigger: - script: - - ~walk auto_range - - ~inject guide_talk_city - - ^inject guide_trypause - - zap 'ranks' - 'ranks': - click trigger: - script: - - ~walk auto_range - - ~inject guide_talk_money - - ^inject guide_trypause - - wait 1 - - remove - - adjust show_entity: - - zap 1 script:s@guide_interact + type: Interact + Steps: + '1': + click trigger: + script: + - ~walk auto_range + - ~run 'guide_talk_money' + - ^inject guide_trypause + - zap '2' + '2': + click trigger: + script: + - ~walk auto_range + - ~run 'guide_talk_land' + - ^inject guide_trypause + - zap '3' + '3': + click trigger: + script: + - ~walk auto_range + - ~run 'guide_talk_city' + - ^inject guide_trypause + - zap '4' + '4': + click trigger: + script: + - ~walk auto_range + - ~run 'guide_talk_ranks' + - ^inject guide_trypause + - wait 1 + - remove + - adjust show_entity: + - zap 1 script:s@guide_interact guide_trypause: type: task script: - ^while ].is[OR_MORE].than[5]> { - random 3 - narrate format:cchat "Try to keep up!" - narrate format:cchat "Hurry up! I'm waiting!" - narrate format:cchat "Come on!" - wait 4 } guide_talk_money: type: task script: - narrate format:cchat "Hello, this is the first line of the money making guide." - wait 3 - narrate format:cchat "And this is the second line of the money making guide." guide_talk_land: type: task script: - narrate format:cchat "Hello, this is the first line of the land protection guide." - wait 3 - narrate format:cchat "And this is the second line of the land protection guide." guide_talk_city: type: task script: - narrate format:cchat "Hello, this is the first line of the city creation guide." - wait 3 - narrate format:cchat "And this is the second line of the city creation guide." guide_talk_ranks: type: task script: - narrate format:cchat "Hello, this is the first line of the ranks guide." - wait 3 - narrate format:cchat "And this is the second line of the ranks guide." -