Fix "On the Way" being added with no rails

This commit is contained in:
jolesh 2022-11-11 11:26:07 +00:00 committed by rubenwardy
parent eed3964d32
commit 23c7ca57b7

@ -291,19 +291,6 @@ if minetest.get_modpath("default") then
return nil
end)
-- On the way
awards.register_award("award_on_the_way", {
title = S("On The Way"),
description = S("Place 100 rails."),
icon = "awards_on_the_way.png",
difficulty = 0.1,
trigger = {
type = "place",
node = "default:rail",
target = 100
}
})
awards.register_award("award_lumberjack_firstday", {
title = S("First Day in the Woods"),
description = S("Dig 6 tree blocks."),
@ -790,6 +777,21 @@ if minetest.get_modpath("default") then
end)
end
if minetest.get_modpath("carts") then
-- On the way
awards.register_award("award_on_the_way", {
title = S("On The Way"),
description = S("Place 100 rails."),
icon = "awards_on_the_way.png",
difficulty = 0.1,
trigger = {
type = "place",
node = "group:rail",
target = 100
}
})
end
if minetest.get_modpath("bones") then
-- Die near bones
awards.register_award("award_the_stack", {