Skip to content

Commit

Permalink
Merge pull request #204 from dacmot/fix_copper_tin_awards
Browse files Browse the repository at this point in the history
Define node for dig awards of copper and tin
  • Loading branch information
dacmot authored Jul 24, 2024
2 parents a0e4f85 + 64ef1ed commit 45cb8e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mods/libs/whynot_awards/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ awards.register_award("whynot_stone",{
requires = {"whynot_tools"},
trigger = {
type = "dig",
node = "default:stone",
node = "group:stone",
target = 1,
},
})
Expand Down Expand Up @@ -388,10 +388,10 @@ awards.register_award("whynot_mine_tin", {
title = S("Mine tin"),
description = S("Tin is one of the first metal you'll encounter when digging down. Smelt it in a furnace to form ingots. Then combine it with copper to make bronze."),
icon = awards_combine_with_frame(minetest.inventorycube("default_stone.png^default_mineral_tin.png")),
requires = {"whynot_stone"},
requires = {"whynot_tools"},
trigger = {
type = "dig",
item = "default:stone_with_tin",
node = "default:stone_with_tin",
target = 1
}
})
Expand All @@ -401,10 +401,10 @@ awards.register_award("whynot_mine_copper", {
title = S("Mine copper"),
description = S("Copper is one of the first metal you'll encounter when digging down. Smelt it in a furnace to form ingots. Then combine it with tin to make bronze."),
icon = awards_combine_with_frame(minetest.inventorycube("default_stone.png^default_mineral_copper.png")),
requires = {"whynot_stone"},
requires = {"whynot_tools"},
trigger = {
type = "dig",
item = "default:stone_with_copper",
node = "default:stone_with_copper",
target = 1
}
})
Expand Down

0 comments on commit 45cb8e5

Please sign in to comment.