Skip to content

Commit

Permalink
Adjusted prices and npc jeronimo. (offers will only be shown in game …
Browse files Browse the repository at this point in the history
…store, but isn't purchasable, ONLY IN NPC)
  • Loading branch information
elsongabriel committed Nov 25, 2023
1 parent fb8ebdd commit 8c12f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-otservbr-global/npc/jeronimo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ local function creatureSayCallback(npc, creature, type, message)

if (npcHandler:getTopic(playerId) == 2 or npcHandler:getTopic(playerId) == 0) and listShopItems[message] == nil then
npcHandler:setTopic(playerId, 0)
npcHandler:say("We can't find the item that you want, try again or access https://thorfinn.com.br/?thorfinncoins", npc, creature)
npcHandler:say("We can't find the item that you want, try again or access our game store to see the offers!", npc, creature)
return true
end

if npcHandler:getTopic(playerId) == 1 then
npcHandler:setTopic(playerId, 2)
local text = offersByCategories[message]
if text == nil then
text = "We can't find the {category} that you want, try again or access https://thorfinn.com.br/?thorfinncoins"
text = "We can't find the {category} that you want, try again or access our game store to see the offers!"
npcHandler:setTopic(playerId, 0)
end
npcHandler:say(text, npc, creature)
Expand Down

0 comments on commit 8c12f8c

Please sign in to comment.