Fix: On the Way

Works once again and with all rails and only if "carts" mod is present.
This commit is contained in:
jolesh 2022-10-23 19:19:40 +02:00
parent eed3964d32
commit a143337aaa
1 changed files with 15 additions and 13 deletions

View File

@ -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", {