daily pastebin goal
93%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Protoype Hot Stuff Quest 1.0
  2. #Lacking text in between quest steps
  3. command /testnpc:
  4.  description: test npc talk
  5.  usage: /testnpc <chat goes here>
  6.  trigger:
  7.   make citizen 0 say "Greetings" to player
  8.    
  9. command /checkQuestNumber:
  10.  usage: /testQuestNumber
  11.  trigger:
  12.   make citizen 0 say "%{QuestNumber.%player%}%" to player
  13.  
  14. command /resetQuestNumber:
  15.  usage: /resetQuestNumber
  16.  trigger:
  17.   set {QuestNumber.%player%} to 1
  18.  
  19. #Presetting of QuestNumber, 1 is default
  20. on first login:
  21. #set {QuestNumber.%player%} to 1 #SHOULD BE ALTERED BEFORE LIVE#
  22.  
  23. #INITIATE QUEST TALK
  24. On citizen right click:
  25.  citizen is 0:
  26.   if {QuestNumber.%player%} is 1:
  27.    set {QuestNumber.%player%} to 2
  28.    set {_loc-storageBlackSmith} to the location at -588, 4, -769 of the world "world"
  29.    set {_loc-OriginalSpot} to the location at -585, 4, -768 of the world "world"
  30.    make citizen 0 say "I know you have collected the firewood, but it couldn't get the fire hot enough!" to player
  31.    wait 5 seconds
  32.    make citizen 0 say "I think if we could get some lava, it might just work!" to player
  33.    wait 5 seconds
  34.    make citizen 0 say "We may have a bucket back here in the storage room. Follow me." to player
  35.    wait 3 seconds
  36.    move citizen 0 to {_loc-storageBlackSmith} at speed 1
  37.    wait 10 seconds
  38.    give player 1 bucket
  39.    wait 1 seconds
  40.    make citizen 0 say "Here is a bucket, lets walk outside again." to player
  41.    wait 5 seconds
  42.    move citizen 0 to {_loc-OriginalSpot} at speed 1
  43.    wait 5 seconds
  44.    make citizen 0 say "Off you go then, %player%!" to player
  45.    send "Quest Accepted: Hot Stuff"
  46.    set {QuestNumber.%player%} to 3
  47.    stop trigger
  48.  # else:
  49.   # make citizen 0 say "You have to get lava from the valley! Fill the bucket I gave you!" to player
  50.   # stop trigger
  51.  
  52. #BRING back lava bucket
  53. On citizen right click:
  54.  citizen is 0:
  55.   if {QuestNumber.%player%} is 3:
  56.    tool is lava bucket:
  57.     cancel event
  58.     set {QuestNumber.%player%} to 4
  59.     make Citizen 0 say "You found some lava! Give it to me!" to player
  60.     remove 1 lava bucket from the player
  61.     wait 5 seconds
  62.     make citizen 0 say "It's just what we need" to player
  63.     send "Quest Completed: Hot Stuff"
  64.     stop trigger
  65.  else:
  66.   make citizen 0 say "%player%, you need to get us some lava in a that bucket!" to player
  67.   stop trigger
  68.  
  69. #Talk after quest completion
  70. On citizen right click:
  71.  citizen is 0:
  72.   if {QuestNumber.%player%} is 5:
  73.    make citizen 0 say "Thanks for getting me that lava!" to player
  74.    stop trigger
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top