write something there
This commit is contained in:
commit
b4b6c08f4f
8546 changed files with 309825 additions and 0 deletions
30
mods/asuna/asuna_awards/awards/mod_soup.lua
Normal file
30
mods/asuna/asuna_awards/awards/mod_soup.lua
Normal file
|
@ -0,0 +1,30 @@
|
|||
return function(award)
|
||||
-- Process all soup items
|
||||
local goals = { target = 1 }
|
||||
for _,item in ipairs({
|
||||
"farming:tomato_soup",
|
||||
"ethereal:mushroom_soup",
|
||||
"soup:chicken_noodle_soup",
|
||||
"x_farming:beetroot_soup",
|
||||
"farming:pea_soup",
|
||||
"farming:onion_soup",
|
||||
}) do
|
||||
table.insert(goals,{
|
||||
description = "Cook " .. minetest.registered_items[item].description,
|
||||
trigger = {
|
||||
type = "craft",
|
||||
target = 1,
|
||||
item = item,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
-- Add triggers to award
|
||||
return {
|
||||
title = "Mod Soup",
|
||||
description = "Cook any soup",
|
||||
difficulty = 35,
|
||||
icon = "chicken_noodle_soup.png",
|
||||
goals = goals,
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue