Add tons of new achievements; closes #32. Recommend not using this version with older worlds

This commit is contained in:
KaadmY 2017-05-10 10:19:28 -07:00
parent ef86ababf1
commit d24cd2146e
14 changed files with 452 additions and 279 deletions

View File

@ -243,10 +243,10 @@ end
minetest.register_on_player_receive_fields(receive_fields)
--
-- Below is the default achievements
-- Below are the default achievements
--
-- Crafting a broadsword
-- Tools
achievements.register_achievement(
"off_to_battle",
@ -257,6 +257,26 @@ achievements.register_achievement(
craftitem = "default:broadsword",
})
achievements.register_achievement(
"hardened_miner",
{
title = "Hardened Miner",
description = "Craft 3 carbon steel pickaxes.",
times = 3,
craftitem = "default:pick_carbonsteel",
})
-- Dirt/soil
achievements.register_achievement(
"drain_the_swamp",
{
title = "Drain the Swamp",
description = "Dig 30 swamp dirt.",
times = 30,
dignode = "default:swamp_dirt",
})
-- Placing planks
achievements.register_achievement(
@ -286,7 +306,7 @@ achievements.register_achievement(
placenode = "group:planks",
})
-- Digging stone
-- Stone
achievements.register_achievement(
"mineority",
@ -315,6 +335,15 @@ achievements.register_achievement(
dignode = "group:stone",
})
achievements.register_achievement(
"cave_builder",
{
title = "Cave Builder",
description = "Place 60 stone.",
times = 60,
placenode = "default:stone",
})
-- Digging wood
achievements.register_achievement(
@ -344,7 +373,19 @@ achievements.register_achievement(
dignode = "group:tree",
})
-- Planting flowers
-- Crafting bricks
achievements.register_achievement(
"builder",
{
title = "Builder",
description = "Craft 180 bricks.",
times = 180,
craftitem = "default:brick",
})
-- Plants/farming
achievements.register_achievement(
"gardener",
@ -364,4 +405,75 @@ achievements.register_achievement(
placenode = "default:flower",
})
achievements.register_achievement(
"welcome_to_the_mountains",
{
title = "Welcome to the Mountains",
description = "Collect dry grass.",
times = 1,
dignode = "default:dry_grass",
})
achievements.register_achievement(
"fertile",
{
title = "Fertile",
description = "Craft 100 bags of fertilizer.",
times = 100,
craftitem = "default:fertilizer",
})
-- Crafting reinforced blocks
achievements.register_achievement(
"master_carpenter",
{
title = "Master Carpenter",
description = "Craft 200 reinforced frames.",
times = 200,
craftitem = "default:reinforced_frame",
})
achievements.register_achievement(
"master_stonemason",
{
title = "Master Stonemason",
description = "Craft 200 reinforced cobble.",
times = 200,
craftitem = "default:reinforced_cobble",
})
-- Crafting sand-related materials
achievements.register_achievement(
"sandman",
{
title = "Sandman",
description = "Craft 60 compressed sandstone.",
times = 60,
craftitem = "default:compressed_sandstone",
})
-- Literature
achievements.register_achievement(
"librarian",
{
title = "Librarian",
description = "Craft 10 bookshelves.",
times = 10,
craftitem = "default:bookshelf",
})
-- Misc.
achievements.register_achievement(
"smelting_room",
{
title = "Smelting Room",
description = "Craft 20 furnaces.",
times = 200,
craftitem = "default:furnace",
})
default.log("mod:achievements", "loaded")

View File

@ -1 +1,2 @@
achievements
default

View File

@ -288,3 +288,25 @@ minetest.register_ore(
y_min = -256,
y_max = -32,
})
-- Achievements
achievements.register_achievement(
"trader",
{
title = "Trader",
description = "Craft a trading book.",
times = 1,
craftitem = "gold:trading_book",
})
achievements.register_achievement(
"gold_rush",
{
title = "Gold Rush",
description = "Dig 60 gold ore.",
times = 60,
dignode = "gold:ore",
})
default.log("mod:gold", "loaded")

View File

@ -1,3 +1,4 @@
achievements
default
tnt
util

View File

@ -159,4 +159,15 @@ end
minetest.register_globalstep(step)
-- Achievements
achievements.register_achievement(
"enlightened",
{
title = "Enlightened",
description = "Place 9 lumien crystals.",
times = 9,
plcenode = "lumien:lumien_crystal_off",
})
default.log("mod:lumien", "loaded")

View File

@ -1 +1,2 @@
achievements
util

View File

@ -175,3 +175,16 @@ minetest.register_craft(
{"group:planks", "default:ingot_steel", "group:planks"},
}
})
-- Achievements
achievements.register_achievement(
"musician",
{
title = "Musician",
description = "Craft a music player.",
times = 1,
craftitem = "music:player",
})
default.log("mod:music", "loaded")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 402 B

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

View File

@ -1 +1,2 @@
achievements
default

View File

@ -129,4 +129,15 @@ minetest.register_craft(
}
})
-- Achievements
achievements.register_achievement(
"sky_diver",
{
title = "Sky Diver",
description = "Craft 5 parachutes.",
times = 5,
craftitem = "parachute:parachute",
})
default.log("mod:parachute", "loaded")