allow both flours from farming plus and food to be accepted for bowl
* this happened in the bowl and flour quest/task
This commit is contained in:
parent
b2feac105a
commit
8bdf40b849
@ -3,8 +3,12 @@ quests.chest = {}
|
||||
quests.chest.go = function(npc,player)
|
||||
local inv = player:get_inventory()
|
||||
local pos = npc.object:getpos()
|
||||
if inv:contains_item("main","farming_plus:flour") and inv:contains_item("main","food:bowl") then
|
||||
inv:remove_item("main","farming_plus:flour")
|
||||
if (inv:contains_item("main","farming_plus:flour") or inv:contains_item("main","food:flour")) and inv:contains_item("main","food:bowl") then
|
||||
if inv:contains_item("main","farming_plus:flour") then
|
||||
inv:remove_item("main","farming_plus:flour")
|
||||
else
|
||||
inv:remove_item("main","food:flour")
|
||||
end
|
||||
inv:remove_item("main","food:bowl")
|
||||
chat.local_chat(pos,"'Thank you very much, take this as a token of my appreciation!'",6)
|
||||
local lp = player:getpos()
|
||||
|
Loading…
x
Reference in New Issue
Block a user