From 9ca6a5a4fbe9d62d02793c84d938fd651aa4eb2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Lu=C3=ADs=20Lucarelo=20Lamonato?= Date: Sat, 2 Mar 2024 18:18:04 -0300 Subject: [PATCH 1/3] fixing foods --- data/scripts/actions/items/foods.lua | 2 +- data/scripts/actions/items/garlic_bread.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/scripts/actions/items/foods.lua b/data/scripts/actions/items/foods.lua index adce2e46244..4a8072d163e 100644 --- a/data/scripts/actions/items/foods.lua +++ b/data/scripts/actions/items/foods.lua @@ -125,7 +125,7 @@ local foods = { local food = Action() function food.onUse(player, item, fromPosition, target, toPosition, isHotkey) - local itemFood = setting[item.itemid] + local itemFood = foods[item.itemid] if not itemFood then return false end diff --git a/data/scripts/actions/items/garlic_bread.lua b/data/scripts/actions/items/garlic_bread.lua index 1a62b1cd066..315dbbadd5c 100644 --- a/data/scripts/actions/items/garlic_bread.lua +++ b/data/scripts/actions/items/garlic_bread.lua @@ -5,5 +5,5 @@ function garlicBread.onUse(player, item, fromPosition, target, toPosition, isHot return true end -garlicBread:id(9087) +garlicBread:id(8194) garlicBread:register() From 8900fb6d0ffb9fbe3bae5df97e1b5fa4cc6f548f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Lu=C3=ADs=20Lucarelo=20Lamonato?= Date: Wed, 6 Mar 2024 13:43:49 -0300 Subject: [PATCH 2/3] fix: missing raid in raids.xml The raid of rats in Thais is missing. --- data-otservbr-global/raids/raids.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/data-otservbr-global/raids/raids.xml b/data-otservbr-global/raids/raids.xml index 51aae3a0165..6614d12f15f 100644 --- a/data-otservbr-global/raids/raids.xml +++ b/data-otservbr-global/raids/raids.xml @@ -70,6 +70,7 @@ + From 7b874d42969ebc515d96dd1fb9e340bd1246656d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Lu=C3=ADs=20Lucarelo=20Lamonato?= Date: Wed, 6 Mar 2024 14:16:44 -0300 Subject: [PATCH 3/3] Revert "fix: missing raid in raids.xml" This reverts commit 8900fb6d0ffb9fbe3bae5df97e1b5fa4cc6f548f. --- data-otservbr-global/raids/raids.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/data-otservbr-global/raids/raids.xml b/data-otservbr-global/raids/raids.xml index 6614d12f15f..51aae3a0165 100644 --- a/data-otservbr-global/raids/raids.xml +++ b/data-otservbr-global/raids/raids.xml @@ -70,7 +70,6 @@ -