mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-08-21 11:14:05 +02:00
Fix "On the Way" being added with no rails
This commit is contained in:
parent
eed3964d32
commit
23c7ca57b7
@ -291,19 +291,6 @@ if minetest.get_modpath("default") then
|
|||||||
return nil
|
return nil
|
||||||
end)
|
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", {
|
awards.register_award("award_lumberjack_firstday", {
|
||||||
title = S("First Day in the Woods"),
|
title = S("First Day in the Woods"),
|
||||||
description = S("Dig 6 tree blocks."),
|
description = S("Dig 6 tree blocks."),
|
||||||
@ -790,6 +777,21 @@ if minetest.get_modpath("default") then
|
|||||||
end)
|
end)
|
||||||
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
|
if minetest.get_modpath("bones") then
|
||||||
-- Die near bones
|
-- Die near bones
|
||||||
awards.register_award("award_the_stack", {
|
awards.register_award("award_the_stack", {
|
||||||
|
Loading…
Reference in New Issue
Block a user