Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Quest {
- public $ID = -1;
- public $Title = "";
- public $NPCName_Start = "";
- public $NPCName_End = "";
- public $QuestHead = -1;
- public $QuestType = -1;
- public $NoRemove; // If you can remove the quest from your quest log
- public $IsDaily = 0;
- public $Repeatable = 0;
- // Begin Conditions
- public $BeginCond_PrevQuest = array();
- public $BeginCond_ExclusiveQuest = array(); // User MUST NOT have this quests completed
- public $BeginCond_Job = array();
- public $BeginCond_LevelMin;
- public $BeginCond_LevelMax;
- # Party
- public $BeginCond_Party;
- public $BeginCond_PartyNum; // Size of Party
- public $BeginCond_PartyLeader;
- # Guild
- public $BeginCond_Guild;
- public $BeginCond_GuildNum; // Size of Guild
- public $BeginCond_GuildLeader;
- # Items
- public $BeginCond_ItemID;
- public $BeginCond_ItemNum;
- public $BeginCond_NotItemID; // ID of the item the player MUST NOT have for beginning
- public $BeginCond_NotItemNum;
- # Player Sex
- public $BeginCond_Sex;
- # Skills
- public $BeginCond_SkillID;
- public $BeginCond_SkillLvl;
- # Disguise
- public $BeginCond_Disguise;
- # Pets
- public $BeginCond_PetLevel;
- public $BeginCond_PetExp;
- // End Conditions
- public $EndCond_Timer;
- # Items
- public $EndCond_ItemID;
- public $EndCond_ItemNum;
- public $EndCond_NPCKill = array();
- public $EndCond_NPCKillNum = array();
- # Skill
- public $EndCond_SkillID;
- public $EndCond_SkillLvl;
- # Level
- public $EndCond_LevelMin;
- public $EndCond_LevelMax;
- # Exp
- public $EndCond_ExpMin;
- public $EndCond_ExpMax;
- # Pet
- public $EndCond_PetLevel;
- public $EndCond_PetExp;
- # Disguise
- public $EndCond_Disguise;
- # Party
- public $EndCond_Party;
- public $EndCond_PartyNum;
- public $EndCond_PartyLeader;
- # Guild
- public $EndCond_Guild;
- public $EndCond_GuildNum;
- public $EndCond_GuildLeader;
- # Other Quests
- public $EndCond_CompleteQuestOperator; // 0 = or - 1 = and
- public $EndCond_CompleteQuest = array(); // IDs of other quests the user has to have completed for turn this quest in
- // Rewards
- # Items
- public $Reward_ItemID = array(); // Limit 4
- public $Reward_ItemNum = array();
- public $Reward_Remove_ItemID = array(); // Limit 8
- public $Reward_Remove_ItemNum = array();
- # Gold
- public $Reward_GoldMin;
- public $Reward_GoldMax;
- public $Reward_Remove_Gold;
- # EXP
- public $Reward_EXPMin;
- public $Reward_EXPMax;
- # Teleport
- public $Reward_Teleport = array(
- "x" => "",
- "y" => "",
- "z" => "",
- "world" => ""
- );
- # Pet
- public $Reward_PetLevelUp;
- # Skills
- public $Reward_SkillPoints;
- # Remove Other Quests
- public $Reward_RemoveQuests = array(); // Limit 12
- // Dialogues
- public $Diag_IDs = array(
- // Text when clicking on quest
- "QSAY_BEGIN1" => "",
- "QSAY_BEGIN2" => "",
- "QSAY_BEGIN3" => "",
- "QSAY_BEGIN4" => "",
- "QSAY_BEGIN5" => "",
- // Text when accepting the quest
- "QSAY_BEGIN_YES" => "",
- // Text when rejecting the quest
- "QSAY_BEGIN_NO" => "",
- // Text when turning in the quest successfully
- "QSAY_END_COMPLETE1" => "",
- "QSAY_END_COMPLETE2" => "",
- "QSAY_END_COMPLETE3" => "",
- // Text when wanting to turn in the quest, but its not done yet
- "QSAY_END_FAILURE1" => "",
- "QSAY_END_FAILURE2" => "",
- "QSAY_END_FAILURE3" => ""
- );
- // States
- public $Quest_States = array(
- // Text in Quest Log when quest is not finished
- 0 => "",
- // Always remains empty
- 14 => ""
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement