New quest starter added
Posted: Fri Apr 14, 2017 3:00 pm
item number 2563 a sandy bone shard change DB item
offers_quest_id to 206 although this does not seem to be used at the moment writing in some code that will nake use of this(hopefully to ensure you wont get multiple quest starters
lua_script to ItemScripts\asandyboneshard.lua
item script is as follows
i have added the quest via web editor
offers_quest_id to 206 although this does not seem to be used at the moment writing in some code that will nake use of this(hopefully to ensure you wont get multiple quest starters
lua_script to ItemScripts\asandyboneshard.lua
item script is as follows
Code: Select all
--[[
Script Name : ItemScripts/asandyboneshard.lua
Script Purpose : Offers the quest, "A Sandy Bone Shard"
Script Author : Ememjr
Script Date : 2017.04.13
Script Notes :
--]]
local quest = 206
function examined(Item, Player)
if not HasQuest(Player, quest) and not HasCompletedQuest(Player, quest) then
OfferQuest(nil, Player, quest)
--remove quest starter
if HasItem(Player, 2563) then
RemoveItem(Player, 2563)
end
end
end