Achievements: Reduce counts to 1, remove grindy achievements

This commit is contained in:
Wuzzy 2019-09-22 02:52:11 +02:00
parent 8819545e83
commit 8c11897f9d
12 changed files with 74 additions and 243 deletions

View File

@ -331,8 +331,37 @@ minetest.register_on_player_receive_fields(receive_fields)
-- Below are the default achievements
--
-- Digging wood
achievements.register_achievement(
"timber",
{
title = S("Timber"),
description = S("Dig a tree trunk."),
times = 1,
dignode = "group:tree",
})
-- Tools
achievements.register_achievement(
"first_pickaxe",
{
title = S("My First Pickaxe"),
description = S("Craft a pickaxe."),
times = 1,
craftitem = "group:pickaxe",
})
achievements.register_achievement(
"hardened_miner",
{
title = S("Hardened Miner"),
description = S("Craft a carbon steel pickaxe."),
times = 1,
craftitem = "default:pick_carbon_steel",
})
achievements.register_achievement(
"off_to_battle",
{
@ -342,151 +371,34 @@ achievements.register_achievement(
craftitem = "default:broadsword",
})
achievements.register_achievement(
"hardened_miner",
{
title = S("Hardened Miner"),
description = S("Craft 3 carbon steel pickaxes."),
times = 3,
craftitem = "default:pick_carbon_steel",
})
-- Dirt/soil
achievements.register_achievement(
"drain_the_swamp",
{
title = S("Drain the Swamp"),
description = S("Dig 30 swamp dirt."),
times = 30,
dignode = "default:swamp_dirt",
})
-- Placing planks
achievements.register_achievement(
"plunks",
{
title = S("Plunks"),
description = S("Place 10 planks."),
times = 10,
placenode = "group:planks",
})
achievements.register_achievement(
"carpenter",
{
title = S("Carpenter"),
description = S("Place 100 planks."),
times = 100,
placenode = "group:planks",
})
achievements.register_achievement(
"pro_carpenter",
{
title = S("Pro Carpenter"),
description = S("Place 500 planks."),
times = 500,
placenode = "group:planks",
})
-- Stone
achievements.register_achievement(
"mineority",
{
title = S("Mineority"),
description = S("Mine 20 stone."),
times = 20,
dignode = "group:stone",
description = S("Mine a stone."),
times = 1,
dignode = "default:stone",
})
achievements.register_achievement(
"rockin",
"smelting_room",
{
title = S("Rockin'"),
description = S("Mine 200 stone."),
times = 200,
dignode = "group:stone",
title = S("Smelting Room"),
description = S("Craft a furnace."),
times = 1,
craftitem = "default:furnace",
})
achievements.register_achievement(
"rocksolid",
{
title = S("Rock Solid"),
description = S("Mine 1000 stone."),
times = 1000,
dignode = "group:stone",
})
achievements.register_achievement(
"cave_builder",
{
title = S("Cave Builder"),
description = S("Place 60 stone."),
times = 60,
placenode = "default:stone",
})
-- Digging wood
achievements.register_achievement(
"timber",
{
title = S("Timber"),
description = S("Dig 10 tree trunks."),
times = 10,
dignode = "group:tree",
})
achievements.register_achievement(
"timberer",
{
title = S("Timberer"),
description = S("Dig 100 tree trunks."),
times = 100,
dignode = "group:tree",
})
achievements.register_achievement(
"timbererest",
{
title = S("Timbererest"),
description = S("Dig 500 tree trunks."),
times = 500,
dignode = "group:tree",
})
-- Crafting bricks
achievements.register_achievement(
"builder",
{
title = S("Builder"),
description = S("Craft 180 brick blocks."),
times = 180,
craftitem = "default:brick",
})
-- Plants/farming
-- Biomes
achievements.register_achievement(
"gardener",
{
title = S("Gardener"),
description = S("Plant 10 flowers."),
times = 10,
placenode = "default:flower",
})
achievements.register_achievement(
"master_gardener",
{
title = S("Master Gardener"),
description = S("Plant 100 flowers."),
times = 100,
description = S("Plant a flower."),
times = 1,
placenode = "default:flower",
})
@ -499,66 +411,35 @@ achievements.register_achievement(
dignode = "default:dry_grass",
})
achievements.register_achievement(
"drain_the_swamp",
{
title = S("Drain the Swamp"),
description = S("Dig some swamp dirt."),
times = 1,
dignode = "default:swamp_dirt",
})
-- Farming
achievements.register_achievement(
"fertile",
{
title = S("Fertile"),
description = S("Craft 100 bags of fertilizer."),
times = 100,
description = S("Craft a fertilzer."),
times = 1,
craftitem = "default:fertilizer",
})
-- Crafting reinforced blocks
achievements.register_achievement(
"master_carpenter",
{
title = S("Master Carpenter"),
description = S("Craft 200 reinforced frames."),
times = 200,
craftitem = "default:reinforced_frame",
})
achievements.register_achievement(
"master_stonemason",
{
title = S("Master Stonemason"),
description = S("Craft 200 reinforced cobble."),
times = 200,
craftitem = "default:reinforced_cobble",
})
-- Crafting sand-related materials
achievements.register_achievement(
"sandman",
{
title = S("Sandman"),
description = S("Craft 60 compressed sandstone."),
times = 60,
craftitem = "default:compressed_sandstone",
})
-- Literature
achievements.register_achievement(
"librarian",
{
title = S("Librarian"),
description = S("Craft 10 bookshelves."),
times = 10,
description = S("Craft a bookshelf."),
times = 1,
craftitem = "default:bookshelf",
})
-- Misc.
achievements.register_achievement(
"smelting_room",
{
title = S("Smelting Room"),
description = S("Craft 20 furnaces."),
times = 20,
craftitem = "default:furnace",
})
default.log("mod:achievements", "loaded")

View File

@ -270,13 +270,4 @@ achievements.register_achievement(
craftitem = "group:is_armor",
})
achievements.register_achievement(
"warrior",
{
title = S("Warrior"),
description = S("Craft 10 pieces of armor."),
times = 10,
craftitem = "group:is_armor",
})
default.log("mod:armor", "loaded")

View File

@ -1,2 +1 @@
default
achievements

View File

@ -62,15 +62,4 @@ minetest.register_on_player_receive_fields(
player:set_wielded_item(itemstack)
end)
-- Achievements
achievements.register_achievement(
"scribe",
{
title = S("Scribe"),
description = S("Craft a book."),
times = 1,
craftitem = "default:book",
})
default.log("mod:book", "loaded")

View File

@ -7,36 +7,27 @@ achievements.register_achievement(
"farmer",
{
title = S("Farmer"),
description = S("Plant 20 wheat seeds."),
times = 20,
placenode = "farming:wheat_1",
description = S("Plant a seed and watch it grow."),
times = 1,
placenode = "group:seed",
})
achievements.register_achievement(
"master_farmer",
"wheat_farmer",
{
title = S("Master Farmer"),
description = S("Plant 200 wheat seeds."),
times = 200,
placenode = "farming:wheat_1",
title = S("Wheat Farmer"),
description = S("Harvest a fully-grown wheat plant."),
times = 1,
placenode = "farming:wheat_4",
})
achievements.register_achievement(
"cotton_farmer",
{
title = S("Cotton Farmer"),
description = S("Plant 10 cotton seeds."),
times = 10,
placenode = "farming:cotton_1",
})
achievements.register_achievement(
"master_cotton_farmer",
{
title = S("Master Cotton Farmer"),
description = S("Plant 100 cotton seeds."),
times = 100,
placenode = "farming:cotton_1",
description = S("Harvest a fully-grown cotton plant."),
times = 1,
placenode = "farming:cotton_4",
})
default.log("achievements", "loaded")

View File

@ -355,8 +355,8 @@ achievements.register_achievement(
"gold_rush",
{
title = S("Gold Rush"),
description = S("Dig 60 gold ore."),
times = 60,
description = S("Dig a gold ore."),
times = 1,
dignode = "gold:stone_with_gold",
})

View File

@ -271,14 +271,6 @@ achievements.register_achievement(
times = 1,
})
achievements.register_achievement(
"master_jeweler",
{
title = S("Master Jeweler"),
description = S("Jewel 10 tools."),
times = 10,
})
-- The tool jewel definitions
dofile(minetest.get_modpath("jewels").."/jewels.lua")

View File

@ -200,8 +200,8 @@ achievements.register_achievement(
"enlightened",
{
title = S("Enlightened"),
description = S("Place 9 lumien crystals."),
times = 9,
description = S("Place a lumien crystal."),
times = 1,
placenode = "lumien:crystal_off",
})

View File

@ -11,8 +11,8 @@ achievements.register_achievement(
-- have at least one food item in their drop table
-- (no matter how unlikely).
title = S("Hunter"),
description = S("Kill 5 animals for food."),
times = 5,
description = S("Kill an animal for food."),
times = 1,
})
local peaceful_only = minetest.settings:get_bool("only_peaceful_mobs") or false

View File

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

View File

@ -206,15 +206,4 @@ crafting.register_craft(
}
})
-- Achievements
achievements.register_achievement(
"musician",
{
title = S("Sound Engineer"),
description = S("Craft a music player."),
times = 1,
craftitem = "music:player",
})
default.log("mod:music", "loaded")

View File

@ -169,8 +169,8 @@ achievements.register_achievement(
"sky_diver",
{
title = S("Skydiver"),
description = S("Craft 5 parachutes."),
times = 5,
description = S("Craft a parachute."),
times = 1,
craftitem = "parachute:parachute",
})