Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. <?php
  2.  
  3. class Quest {
  4.  
  5. public $ID = -1;
  6. public $Title = "";
  7. public $NPCName_Start = "";
  8. public $NPCName_End = "";
  9. public $QuestHead = -1;
  10. public $QuestType = -1;
  11. public $NoRemove; // If you can remove the quest from your quest log
  12. public $IsDaily = 0;
  13. public $Repeatable = 0;
  14.  
  15. // Begin Conditions
  16. public $BeginCond_PrevQuest = array();
  17. public $BeginCond_ExclusiveQuest = array(); // User MUST NOT have this quests completed
  18. public $BeginCond_Job = array();
  19. public $BeginCond_LevelMin;
  20. public $BeginCond_LevelMax;
  21. # Party
  22. public $BeginCond_Party;
  23. public $BeginCond_PartyNum; // Size of Party
  24. public $BeginCond_PartyLeader;
  25. # Guild
  26. public $BeginCond_Guild;
  27. public $BeginCond_GuildNum; // Size of Guild
  28. public $BeginCond_GuildLeader;
  29. # Items
  30. public $BeginCond_ItemID;
  31. public $BeginCond_ItemNum;
  32. public $BeginCond_NotItemID; // ID of the item the player MUST NOT have for beginning
  33. public $BeginCond_NotItemNum;
  34. # Player Sex
  35. public $BeginCond_Sex;
  36. # Skills
  37. public $BeginCond_SkillID;
  38. public $BeginCond_SkillLvl;
  39. # Disguise
  40. public $BeginCond_Disguise;
  41. # Pets
  42. public $BeginCond_PetLevel;
  43. public $BeginCond_PetExp;
  44.  
  45. // End Conditions
  46. public $EndCond_Timer;
  47. # Items
  48. public $EndCond_ItemID;
  49. public $EndCond_ItemNum;
  50. public $EndCond_NPCKill = array();
  51. public $EndCond_NPCKillNum = array();
  52. # Skill
  53. public $EndCond_SkillID;
  54. public $EndCond_SkillLvl;
  55. # Level
  56. public $EndCond_LevelMin;
  57. public $EndCond_LevelMax;
  58. # Exp
  59. public $EndCond_ExpMin;
  60. public $EndCond_ExpMax;
  61. # Pet
  62. public $EndCond_PetLevel;
  63. public $EndCond_PetExp;
  64. # Disguise
  65. public $EndCond_Disguise;
  66. # Party
  67. public $EndCond_Party;
  68. public $EndCond_PartyNum;
  69. public $EndCond_PartyLeader;
  70. # Guild
  71. public $EndCond_Guild;
  72. public $EndCond_GuildNum;
  73. public $EndCond_GuildLeader;
  74. # Other Quests
  75. public $EndCond_CompleteQuestOperator; // 0 = or - 1 = and
  76. public $EndCond_CompleteQuest = array(); // IDs of other quests the user has to have completed for turn this quest in
  77.  
  78. // Rewards
  79. # Items
  80. public $Reward_ItemID = array(); // Limit 4
  81. public $Reward_ItemNum = array();
  82. public $Reward_Remove_ItemID = array(); // Limit 8
  83. public $Reward_Remove_ItemNum = array();
  84. # Gold
  85. public $Reward_GoldMin;
  86. public $Reward_GoldMax;
  87. public $Reward_Remove_Gold;
  88. # EXP
  89. public $Reward_EXPMin;
  90. public $Reward_EXPMax;
  91. # Teleport
  92. public $Reward_Teleport = array(
  93. "x" => "",
  94. "y" => "",
  95. "z" => "",
  96. "world" => ""
  97. );
  98. # Pet
  99. public $Reward_PetLevelUp;
  100. # Skills
  101. public $Reward_SkillPoints;
  102. # Remove Other Quests
  103. public $Reward_RemoveQuests = array(); // Limit 12
  104.  
  105. // Dialogues
  106. public $Diag_IDs = array(
  107. // Text when clicking on quest
  108. "QSAY_BEGIN1" => "",
  109. "QSAY_BEGIN2" => "",
  110. "QSAY_BEGIN3" => "",
  111. "QSAY_BEGIN4" => "",
  112. "QSAY_BEGIN5" => "",
  113. // Text when accepting the quest
  114. "QSAY_BEGIN_YES" => "",
  115. // Text when rejecting the quest
  116. "QSAY_BEGIN_NO" => "",
  117. // Text when turning in the quest successfully
  118. "QSAY_END_COMPLETE1" => "",
  119. "QSAY_END_COMPLETE2" => "",
  120. "QSAY_END_COMPLETE3" => "",
  121. // Text when wanting to turn in the quest, but its not done yet
  122. "QSAY_END_FAILURE1" => "",
  123. "QSAY_END_FAILURE2" => "",
  124. "QSAY_END_FAILURE3" => ""
  125. );
  126.  
  127. // States
  128. public $Quest_States = array(
  129. // Text in Quest Log when quest is not finished
  130. 0 => "",
  131. // Always remains empty
  132. 14 => ""
  133. );
  134.  
  135. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement