Skip to content

Commit

Permalink
fix: garlic bread itemId (#2359)
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires authored Mar 2, 2024
1 parent bdc3387 commit 5425d1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data-otservbr-global/npc/julius.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ local function creatureSayCallback(npc, creature, type, message)
end
end
elseif MsgContains(message, "aaah") then
if npcHandler:getTopic(playerId) == 4 and player:removeItem(9087, 1) then
if npcHandler:getTopic(playerId) == 4 and player:removeItem(8194, 1) then
npcHandler:say("Very well. I think I can trust you now. Sorry that I had to put you through this embarassing procedure, but I'm sure you understand. So, are you ready for your first real task?", npc, creature)
player:setStorageValue(BloodBrothers.Mission01, 4)
npcHandler:setTopic(playerId, 5)
Expand Down
2 changes: 1 addition & 1 deletion data/scripts/actions/items/garlic_bread.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ function garlicBread.onUse(player, item, fromPosition, target, toPosition, isHot
return true
end

garlicBread:id(9087)
garlicBread:id(8194)
garlicBread:register()

0 comments on commit 5425d1c

Please sign in to comment.