Advertisement
Guest User

?

a guest
May 2nd, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.56 KB | None | 0 0
  1. local _QUESTS = QUESTS.QUESTS
  2. local ENUM_QUESTOBJ = QUESTS.TY.QUESTOBJ
  3.  
  4. /*
  5.     ENUM TYPES:
  6.    
  7.     "FIND-OBJECT" this is finding/activating objects
  8.     "WITHIN-AREA" Has to be within area paramater
  9.     "KILL-NPCS" Kill npc type and amount
  10. */
  11.  
  12.  
  13. // Quest of an old man's tale
  14. _QUESTS:RegisterQuest( "quest_oldman_01", {
  15.     name = "An Old Man's Tale",
  16.     required_quest = nil
  17. } )
  18.  
  19.     _QUESTS:RegisterQuestTask( "quest_oldman_01", {
  20.         name = "Find me some... toys..",
  21.         description = [[
  22.         I'm feeling a little frisky today would you be able to find me my old toys? You can find them in my old shack. DON'T GO INTO THE CELLAR!
  23.         ]]
  24.         type = "FIND-OBJECT",
  25.         paramaters = {
  26.             object = {
  27.                 model = "models/props/dildo.mdl",
  28.                 position = Vector(0,0,0),
  29.                 angle = Angle(0,0,0)
  30.             },
  31.             amount = 2
  32.         },
  33.         complete_task_onreturn = true
  34.     } )
  35.    
  36.     _QUESTS:RegisterQuestTask( "quest_oldman_02", {
  37.         name = "Now kill my wife",
  38.         description = [[
  39.         I have my toys now, that means I don't need that shedevil!
  40.         ]]
  41.         type = "KILL-NPCS",
  42.         paramaters = {
  43.             object = {
  44.                 class = "npc_wife",
  45.                 model = "models/npc/wife.mdl"
  46.                 position = Vector(0,0,0),
  47.                 angle = Angle(0,0,0)
  48.             },
  49.             amount = 2
  50.         },
  51.         complete_task_onreturn = true
  52.     } )
  53.    
  54.     _QUESTS:RegisterQuestTask( "quest_oldman_03", {
  55.         name = "Make sure no one is onto me",
  56.         description = [[
  57.         Go down to the local enforcement department and check around
  58.         ]]
  59.         type = "WITHIN-AREA",
  60.         paramaters = {
  61.             object = {
  62.                 position = Vector(0,0,0),
  63.                 radius = 500
  64.             }
  65.         },
  66.         complete_task_onreturn = true
  67.     } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement