Source

Members
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Source

  • Rank
    Neutral

Profile Information

  • Gender
    Male
  • Location
    Amsterdam, Netherlands

Recent Profile Visitors

80 profile views
  1. open

    Fixed it in my first post. This should work now Or you can use this version, which is more simple: quest biolog_reset_time begin state start begin when 20094.chat."Reset Time" begin if pc.getqf("collect_timewait") > get_time() then say_title("Reset Time") say(" ") say("Do you want to reset the time?") say(" ") local s = option("Yes","No") if s == 1 and pc.count_item(70001) >= 1 then pc.setqf("collect_timewait", 0) pc.remove_item(70001, 1) say_title("Reset Time") say(" ") say("Okay, done!") say(" ") return elseif s == 1 and pc.count_item(70001) < 1 then say_title("Reset Time") say(" ") say("You don't have "..item_name(70001).." !") say("Come back when you have it...") say(" ") return else say_title("Reset Time") say(" ") say("Okay! See you later...") say(" ") return end -- if else say_title("Reset Time") say(" ") say("You don't need to reset the time...") say("You can already deliver the next item!") say(" ") return end -- if2 end -- when end -- state end -- quest
  2. open

    quest biolog_reset_time begin state start begin when 20094.chat."Reset Time" begin say_title("Reset Time") say(" ") say("Do you want to reset the time?") say(" ") local s = option("Yes","No") if s == 1 and pc.count_item(70001) >= 1 and pc.getqf("collect_timewait") > get_time() then pc.setqf("collect_timewait", 0) pc.remove_item(70001, 1) say_title("Reset Time") say(" ") say("Okay, done!") say(" ") return elseif s == 1 and pc.count_item(70001) >= 1 and pc.getqf("collect_timewait") <= get_time() then say_title("Reset Time") say(" ") say("You don't need to reset the time...") say("You can already deliver the next item!") say(" ") return elseif s == 1 and pc.count_item(70001) < 1 then say_title("Reset Time") say(" ") say("You don't have "..item_name(70001).." !") say("Come back when you have it...") say(" ") return else say_title("Reset Time") say(" ") say("Okay! See you later...") say(" ") return end -- if end -- when end -- state end -- quest
  3. First delete flags and then give reward. Intented or unintented disconnection during the speech will bring many exploits. Do that anytime you want to give a reward. First, remove item then add item. First remove flag, then add item.