Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JohnFisher:
- type: assignment
- actions:
- on assignment:
- - trigger name:chat toggle:true cooldown:1
- interact scripts:
- - 10 Fetch Base
- 'Fetch Base':
- type: interact
- steps:
- 'Introduction*':
- click trigger:
- script:
- #asks player if they want to help WORKS
- - if !<player.has_flag[started_fish_quest]> {
- - if !<player.has_flag[finished_fish_quest]> {
- - chat "Catch some fish for me with my rod"
- - narrate "You can say 'Yes' or 'No'"
- }
- }
- #checks if player is doing the quest and has 10 or more raw fish and 1 ore more fishing rod BROKEN
- - if <player.has_flag[started_fish_quest]> {
- - if <player.inventory.contains[Raw_Fish].qty> >= 10 {
- - if <player.inventory.contains[Fishing_Rod].qty> >= 1 {
- - ^engage now
- - flag player started_fish_quest:!
- - flag player finished_fish_quest
- - chat "Thanks, keep the fish and pole"
- - ^disengage
- }
- else{
- - chat "missing rod!"
- }
- }
- else{
- - chat "missing fish!"
- }
- }
- #checks if player is done with the quest BROKEN
- - if <player.has_flag[finished_fish_quest]> {
- - chat "I have nothing else to say."
- }
- chat trigger:
- #Player refuses quest if they want to help NOT SURE IF WORKS/BROKEN
- 'Yes':
- trigger: /Yes/, I'll help.
- script:
- - if !<player.has_flag[started_fish_quest]> {
- - if !<player.has_flag[finished_fish_quest]> {
- - ^engage now
- - flag player started_fish_quest
- - chat "Great!"
- - ^give 'item:Fishing_Rod' qty:1
- - chat "Take my fishing rod!"
- - ^disengage
- }
- }
- #Player refuses quest if they want to help WORKS
- 'No':
- trigger: /No/, not now.
- script:
- - if !<player.has_flag[started_fish_quest]> {
- - if !<player.has_flag[finished_fish_quest]> {
- - chat "Ask again"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement