Skip to content

Commit

Permalink
Update rapier_quest.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
majestyotbr committed Jan 14, 2024
1 parent 1289c3a commit eb52034
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local rapierQuest = Action()
local reward = 3272

function rapierQuest.onUse(player, item, fromPosition, target, toPosition, isHotkey)
local itemType = ItemType(reward)
local itemWeight = itemType:getWeight()
Expand All @@ -16,5 +17,6 @@ function rapierQuest.onUse(player, item, fromPosition, target, toPosition, isHot
end
return true
end

rapierQuest:uid(14042)
rapierQuest:register()

0 comments on commit eb52034

Please sign in to comment.