Moderators: Support Team, Developer Team
INSERT INTO `itemtemplate` (`ItemTemplate_ID`, `Id_nb`, `Name`, `Level`, `Durability`, `MaxDurability`, `Condition`, `MaxCondition`, `Quality`, `DPS_AF`, `SPD_ABS`, `Hand`, `Type_Damage`, `Object_Type`, `Item_Type`, `Color`, `Emblem`, `Effect`, `Weight`, `Model`, `Extension`, `Bonus`, `Bonus1`, `Bonus2`, `Bonus3`, `Bonus4`, `Bonus5`, `ExtraBonus`, `Bonus1Type`, `Bonus2Type`, `Bonus3Type`, `Bonus4Type`, `Bonus5Type`, `ExtraBonusType`, `IsPickable`, `IsDropable`, `MaxCount`, `PackSize`, `Charges`, `MaxCharges`, `SpellID`, `ProcSpellID`, `Realm`, `IsTradable`, `Bonus6`, `Bonus7`, `Bonus8`, `Bonus9`, `Bonus10`, `Bonus6Type`, `Bonus7Type`, `Bonus8Type`, `Bonus9Type`, `Bonus10Type`, `Charges1`, `MaxCharges1`, `SpellID1`, `ProcSpellID1`, `PoisonSpellID`, `PoisonMaxCharges`, `PoisonCharges`, `CanDropAsLoot`, `AllowedClasses`, `CanUseEvery`, `PackageID`, `Flags`, `BonusLevel`, `Description`, `IsIndestructible`, `IsNotLosingDur`, `LevelRequirement`, `Price`, `ClassType`) VALUES ('6a29db76-8b09-48f2-bf88-8f29f4a627b4', 'collect_test', 'Collect Test', 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 488, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '0', 0, '', 0, 0, 'Turn this item into Collect NPC to receive an XP reward!', 0, 0, 0, 0, '');
INSERT INTO `dataquest` (`ID`, `Name`, `StartType`, `StartName`, `StartRegionID`, `AcceptText`, `Description`, `SourceName`, `SourceText`, `StepType`, `StepText`, `TargetName`, `TargetText`, `CollectItemTemplate`, `MaxCount`, `MinLevel`, `MaxLevel`, `RewardMoney`, `RewardXP`, `FinalRewardItemTemplates`) VALUES (1, 'Collect Items', 1, 'Collect NPC', 1, NULL, 'Hello, I\'m looking for some items called Collect Test. If you find any of these please return them to me. I will reward you for the effort!', 'Collect NPC;1', 'Ah, I\'ve been looking for some of these, thank you! Please accept this as a token of my appreciation!', NULL, NULL, NULL, NULL, 'collect_test', 5, 1, 50, '0', '100', NULL);
INSERT INTO `dataquest` (`ID`, `Name`, `StartType`, `StartName`, `StartRegionID`, `AcceptText`, `Description`, `SourceName`, `SourceText`, `StepType`, `StepText`, `TargetName`, `TargetText`, `CollectItemTemplate`, `MaxCount`, `MinLevel`, `MaxLevel`, `RewardMoney`, `RewardXP`, `FinalRewardItemTemplates`) VALUES (2, 'Accept and Finish', 0, 'Accept NPC', 1, 'Start Words', 'Good day! Please say the [Start Words] to start your quest.', 'Accept NPC;1', 'Thanks for accepting this quest, I hope you succeed in your ventures!', '5', 'Interact with Finish NPC to complete this quest.', 'Finish NPC;1', 'You are now finished with this quest!', NULL, 5, 1, 50, '500', '500', 'collect_test');
INSERT INTO `mob` (`Mob_ID`, `ClassType`, `Name`, `Guild`, `X`, `Y`, `Z`, `Speed`, `Heading`, `Region`, `Model`, `Size`, `Level`, `Realm`, `EquipmentTemplateID`, `ItemsListTemplateID`, `Flags`, `AggroLevel`, `AggroRange`, `MeleeDamageType`, `RespawnInterval`, `FactionID`, `NPCTemplateID`, `Race`, `BodyType`, `HouseNumber`, `Brain`, `PathID`, `MaxDistance`, `BoatOwnerID`, `Strength`, `Constitution`, `Dexterity`, `Quickness`, `Intelligence`, `Piety`, `Empathy`, `Charisma`, `PackageID`, `RoamingRange`, `IsCloakHoodUp`, `Gender`, `VisibleWeaponSlots`) VALUES ('4d01e39d-bbdc-4a0c-9dd8-b4296b10c8d1', 'DOL.GS.GameNPC', 'Collect NPC', '', 559159, 511617, 2323, 200, 117, 1, 10, 50, 1, 1, '', '', 16, 0, 0, 2, 1, 0, -1, 0, 0, 0, '', '', 0, '', 26, 30, 30, 30, 30, 30, 30, 30, '', 0, 0, 0, 255);
INSERT INTO `mob` (`Mob_ID`, `ClassType`, `Name`, `Guild`, `X`, `Y`, `Z`, `Speed`, `Heading`, `Region`, `Model`, `Size`, `Level`, `Realm`, `EquipmentTemplateID`, `ItemsListTemplateID`, `Flags`, `AggroLevel`, `AggroRange`, `MeleeDamageType`, `RespawnInterval`, `FactionID`, `NPCTemplateID`, `Race`, `BodyType`, `HouseNumber`, `Brain`, `PathID`, `MaxDistance`, `BoatOwnerID`, `Strength`, `Constitution`, `Dexterity`, `Quickness`, `Intelligence`, `Piety`, `Empathy`, `Charisma`, `PackageID`, `RoamingRange`, `IsCloakHoodUp`, `Gender`, `VisibleWeaponSlots`) VALUES ('a48c26d2-d6a1-4f30-948b-bc353c9ff2ca', 'DOL.GS.GameNPC', 'Accept NPC', '', 559275, 511629, 2324, 200, 4067, 1, 10, 50, 1, 1, '', '', 16, 0, 0, 2, 1, 0, -1, 0, 0, 0, '', '', 0, '', 26, 30, 30, 30, 30, 30, 30, 30, '', 0, 0, 0, 255);
INSERT INTO `mob` (`Mob_ID`, `ClassType`, `Name`, `Guild`, `X`, `Y`, `Z`, `Speed`, `Heading`, `Region`, `Model`, `Size`, `Level`, `Realm`, `EquipmentTemplateID`, `ItemsListTemplateID`, `Flags`, `AggroLevel`, `AggroRange`, `MeleeDamageType`, `RespawnInterval`, `FactionID`, `NPCTemplateID`, `Race`, `BodyType`, `HouseNumber`, `Brain`, `PathID`, `MaxDistance`, `BoatOwnerID`, `Strength`, `Constitution`, `Dexterity`, `Quickness`, `Intelligence`, `Piety`, `Empathy`, `Charisma`, `PackageID`, `RoamingRange`, `IsCloakHoodUp`, `Gender`, `VisibleWeaponSlots`) VALUES ('da2edbd7-f996-4083-95a9-c744da79af30', 'DOL.GS.GameNPC', 'Finish NPC', '', 559387, 511622, 2332, 200, 59, 1, 10, 50, 1, 1, '', '', 16, 0, 0, 2, 1, 0, -1, 0, 0, 0, '', '', 0, '', 26, 30, 30, 30, 30, 30, 30, 30, '', 0, 0, 0, 255);
/// <summary>
/// How does this quest start
/// </summary>
public enum eStartType : byte
{
Standard = 0, // Talk to npc, accept quest, go through steps
Collection = 1, // player turns drops into npc for xp, quest not added to player quest log
AutoStart = 2, // quest is auto started simply by interacting with start object
KillComplete = 3, // Killing the Start NPC grants and finished the quest, similar to One Time Drops
}
/// <summary>
/// The type of each quest step
/// </summary>
public enum eStepType : byte
{
Kill = 0, // Kill the target to advance the quest
KillFinish = 1, // Killing the target finishes the quest and gives the reward
Deliver = 2, // Deliver an item to the target to advance the quest
DeliverFinish = 3, // Deliver an item to the target to finish the quest
Interact = 4, // Interact with the target to advance the step
InteractFinish = 5, // Interact with the target to finish the quest
Whisper = 6, // Whisper to the target to advance the quest
WhisperFinish = 7, // Whisper to the target to finish the quest
}
Merec wrote:Thats sounds like something I can put into an application
Very great job!
Return to “%s” DOL SVN Commits
Users browsing this forum: No registered users and 1 guest