2015-12-10 10:48:25 +01:00
|
|
|
-- SYS4 Achievements
|
|
|
|
-- by Sys4
|
|
|
|
|
2015-12-10 21:11:09 +01:00
|
|
|
sys4_achievements = {}
|
2015-12-10 10:48:25 +01:00
|
|
|
|
|
|
|
-- Init
|
|
|
|
local S
|
2015-12-10 21:11:09 +01:00
|
|
|
if minetest.get_modpath("intllib") then
|
|
|
|
S = intllib.Getter()
|
2015-12-10 10:48:25 +01:00
|
|
|
else
|
2015-12-10 21:11:09 +01:00
|
|
|
S = function(s) return s end
|
2015-12-10 10:48:25 +01:00
|
|
|
end
|
2015-12-10 21:11:09 +01:00
|
|
|
sys4_achievements.intllib = S
|
2015-12-10 10:48:25 +01:00
|
|
|
|
|
|
|
if not awards then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
dofile(minetest.get_modpath("sys4_achievements").."/api.lua")
|
|
|
|
|
|
|
|
-- Achievements table définition
|
|
|
|
local a = {
|
2015-12-14 17:49:07 +01:00
|
|
|
|
|
|
|
-- Builder achievements (place) --
|
|
|
|
|
|
|
|
-- Trees
|
|
|
|
{ name = 'tree_builder_begins',
|
|
|
|
title = S("My first hut"),
|
|
|
|
node = 'default:tree',
|
|
|
|
desc = S("Place 50 tree blocks."),
|
|
|
|
icon = "default_wood.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:wood'},
|
|
|
|
tprizes = {'default:torch'},
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Wood
|
|
|
|
{ name = 'wood_builder_begins',
|
|
|
|
title = S("Specialized Wood builder"),
|
|
|
|
node = 'default:wood',
|
|
|
|
desc = S("Place 50 wooden planks."),
|
|
|
|
icon = "default_wood.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'stairs:slab_wood', 'stairs:stair_wood'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Papyrus
|
|
|
|
{ name = 'papyrus_builder_begins',
|
|
|
|
title = S("Your papers please"),
|
|
|
|
node = 'default:papyrus',
|
|
|
|
desc = S("Place 10 papyrus."),
|
|
|
|
icon = "default_paper.png",
|
|
|
|
type = "place",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:paper'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Bookshelf
|
|
|
|
{ name = 'bookshelf_builder_begins',
|
|
|
|
title = S("Get the knowledge"),
|
|
|
|
node = 'default:bookshelf',
|
|
|
|
desc = S("Place 5 bookshelfs."),
|
|
|
|
icon = "farming_tool_woodhoe.png",
|
|
|
|
type = "place",
|
|
|
|
target = 5,
|
|
|
|
titems = {'farming:hoe_wood'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Sandstone
|
|
|
|
{ name = 'sandstone_builder_begins',
|
|
|
|
title = S("Sandstone builder lover"),
|
|
|
|
node = 'default:sandstone',
|
|
|
|
desc = S("Place 50 sandstones."),
|
|
|
|
icon = "default_sandstone.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'stairs:slab_sandstone', 'stairs:stair_sandstone'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Sandstone bricks
|
|
|
|
{ name = 'sandstonebrick_builder_begins',
|
|
|
|
title = S("Specialized sandstone builder"),
|
|
|
|
node = 'default:sandstonebrick',
|
|
|
|
desc = S("Place 50 sandstone bricks."),
|
|
|
|
icon = "default_sandstone_brick.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'stairs:slab_sandstonebrick', 'stairs:stair_sandstonebrick'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Miner achievements (dig) --
|
|
|
|
|
|
|
|
-- Leaves
|
|
|
|
{ name = 'leave_digger_begins',
|
|
|
|
title = S("Sticks into the trees"),
|
|
|
|
node = 'default:leaves',
|
|
|
|
desc = S("Dig 50 leaves."),
|
|
|
|
icon = "default_stick.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:stick'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Trees
|
|
|
|
{ name = 'tree_digger_begins',
|
|
|
|
title = S("First steps of a Lumberjack"),
|
|
|
|
node = 'default:tree',
|
|
|
|
desc = S("Dig 50 trees."),
|
|
|
|
icon = "default_tools_woodaxe.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:axe_wood', 'default:sword_wood'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Papyrus
|
|
|
|
{ name = 'papyrus_digger_begins',
|
|
|
|
title = S("You know write ?"),
|
|
|
|
node = 'default:papyrus',
|
|
|
|
desc = S("Dig 50 papyrus."),
|
|
|
|
icon = "default_book.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:book', 'default:sign_wall'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Cotton
|
|
|
|
{ name = 'cotton_digger_begins',
|
|
|
|
title = S("Spinner's first steps"),
|
|
|
|
node = 'farming:cotton_8',
|
|
|
|
desc = S("Dig 50 mature cottons."),
|
|
|
|
icon = "wool_white.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'wool:white'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Rose flower
|
|
|
|
{ name = 'rose_digger_begins',
|
|
|
|
title = S("I like the Red color"),
|
|
|
|
node = 'flowers:rose',
|
|
|
|
desc = S("Dig 10 Roses."),
|
|
|
|
icon = "dye_red.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = {'dye:red', 'wool:red'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Sand
|
|
|
|
{ name = 'sand_digger_begins',
|
|
|
|
title = S("The sand castle part. 1"),
|
|
|
|
node = 'default:sand',
|
|
|
|
desc = S("Dig 100 Sand blocks."),
|
|
|
|
icon = "default_sandstone.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 100,
|
|
|
|
titems = {'default:sandstone'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
-- Craft achievements (craft) --
|
|
|
|
|
|
|
|
-- Wood
|
|
|
|
{ name = 'wood_crafter_begins',
|
|
|
|
title = S("First steps of a Crafter"),
|
|
|
|
node = 'default:wood',
|
|
|
|
desc = S("Craft 50 Wooden Planks."),
|
|
|
|
icon = "doors_wood.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 50,
|
|
|
|
titems = {'doors:door_wood', 'doors:trapdoor', 'boats:boat', 'default:chest', 'default:bookshelf', 'vessels:shelf'},
|
|
|
|
tprizes = {'default:torch 4'},
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Stick
|
|
|
|
{ name = 'stick_crafter_begins',
|
|
|
|
title = S("Stick specialist"),
|
|
|
|
node = 'default:stick',
|
|
|
|
desc = S("Craft 50 sticks."),
|
|
|
|
icon = "default_ladder.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:ladder', 'default:fence_wood'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Wool - Red
|
|
|
|
{ name = 'redwool_crafter_begins',
|
|
|
|
title = S("A bit of rest"),
|
|
|
|
node = 'wool:red',
|
|
|
|
desc = S("Craft 20 Red wool."),
|
|
|
|
icon = "beds_bed.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 20,
|
|
|
|
titems = {'beds:bed_bottom', 'beds:fancy_bed_bottom'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Hoe Wood
|
|
|
|
{ name = 'hoe_crafter_begins',
|
|
|
|
title = S("What a shovel !"),
|
|
|
|
node = 'farming:hoe_wood',
|
|
|
|
desc = S("Craft 10 Wooden hoes."),
|
|
|
|
icon = "default_tool_woodshovel.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:shovel_wood'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Sandstone
|
|
|
|
{ name = 'sandstone_crafter_begins',
|
|
|
|
title = S("The sand castle part. 2"),
|
|
|
|
node = 'default:sandstone',
|
|
|
|
desc = S("Craft 100 sandstones."),
|
|
|
|
icon = "default_sandstone_brick.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 100,
|
|
|
|
titems = {'default:sandstonebrick'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Shovel wood
|
|
|
|
{ name = 'shovelwood_crafter_begins',
|
|
|
|
title = S("Unlock the Pick Wood"),
|
|
|
|
node = 'default:shovel_wood',
|
|
|
|
desc = S("Craft 10 Shovel wood."),
|
|
|
|
icon = "default_tool_woodpick.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:pick_wood'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Pick wood
|
|
|
|
{ name = 'pickwood_crafter_begins',
|
|
|
|
title = S("End of Darkness"),
|
|
|
|
node = 'default:pick_wood',
|
|
|
|
desc = S("Craft 1 Pick wood."),
|
|
|
|
icon = "default_torch_on_floor.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 1,
|
|
|
|
titems = {'default:torch', 'default:furnace'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
--[[local a = {
|
2015-12-10 10:48:25 +01:00
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Lumberjacks achievements --
|
|
|
|
|
2015-12-10 10:48:25 +01:00
|
|
|
{ name = 'lumberjack_begins_default',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Un bucheron en herbe"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:tree',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Récolte 50 blocs de bois."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tree.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:wood', 'default:pine_wood', 'default:junglewood', 'default:acacia_wood'},
|
2015-12-12 11:14:21 +01:00
|
|
|
tprizes = {'default:pick_wood','default:torch 4'},
|
2015-12-10 10:48:25 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'lumberjack_begins_jungle',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Un bucheron dans la Jungle"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:jungletree',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Récolte 50 blocs de bois de jungle."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_jungletree.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:wood', 'default:pine_wood', 'default:junglewood', 'default:acacia_wood'},
|
2015-12-12 11:14:21 +01:00
|
|
|
tprizes = {'default:pick_wood', 'default:torch 4'},
|
2015-12-10 10:48:25 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'lumberjack_begins_pinetree',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Bucheron des montagnes"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:pine_tree',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Récolte 50 blocs de bois de résineux."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_pine_tree.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:wood', 'default:pine_wood', 'default:junglewood', 'default:acacia_wood'},
|
2015-12-12 11:14:21 +01:00
|
|
|
tprizes = {'default:pick_wood', 'default:torch 4'},
|
2015-12-10 10:48:25 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'lumberjack_begins_acacia',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Bucheron du désert"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:acacia_tree',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Récolte 50 blocs de bois d'acacia."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_acacia_tree.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:wood', 'default:pine_wood', 'default:junglewood', 'default:acacia_wood'},
|
2015-12-12 11:14:21 +01:00
|
|
|
tprizes = {'default:pick_wood', 'default:torch 4'},
|
2015-12-10 10:48:25 +01:00
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Crafts achievements --
|
2015-12-10 10:48:25 +01:00
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Tools crafts achievements --
|
2015-12-10 10:48:25 +01:00
|
|
|
|
|
|
|
{ name = 'pick_crafter_begins',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des pioches - Découverte -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:pick_stone',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 pioches en pierres."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_steelpick.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:pick_steel'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'shovel_crafter_begins',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des pelles - Découverte -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:shovel_stone',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 pelles en pierres."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_steelshovel.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:shovel_steel'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'axe_crafter_begins',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des haches - Découverte -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:axe_stone',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 haches en pierres."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_steelaxe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:axe_steel'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'sword_crafter_begins',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des épées - Découverte -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:sword_stone',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 épées en pierres."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_steelsword.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:sword_steel'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'pick_crafter_newbee',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des pioches - Débutant -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:pick_steel',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 pioches en fer."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_bronzepick.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:pick_bronze'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'shovel_crafter_newbee',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des pelles - Débutant -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:shovel_steel',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 pelles en fer."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_bronzeshovel.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:shovel_bronze'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'axe_crafter_newbee',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des haches - Débutant -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:axe_steel',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 haches en fer."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_bronzeaxe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:axe_bronze'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'sword_crafter_newbee',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des épées - Débutant -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:sword_steel',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 épées en fer."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_bronzesword.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:sword_bronze'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'pick_crafter_lover',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des pioches - Amateur -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:pick_bronze',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 pioches en bronze."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_mesepick.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:pick_mese'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'shovel_crafter_lover',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des pelles - Amateur -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:shovel_bronze',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 pelles en bronze."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_meseshovel.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:shovel_mese'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'axe_crafter_lover',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des haches - Amateur -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:axe_bronze',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 haches en bronze."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_meseaxe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:axe_mese'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'sword_crafter_lover',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des épées - Amateur -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:sword_bronze',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 épées en bronze."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_mesesword.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:sword_mese'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'pick_crafter_pro',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des pioches - Professionnel -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:pick_mese',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 pioches en mese."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_diamondpick.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:pick_diamond'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'shovel_crafter_pro',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des pelles - Professionnel -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:shovel_mese',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 pelles en mese."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_diamondshovel.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:shovel_diamond'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'axe_crafter_pro',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des haches - Professionnel -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:axe_mese',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 haches en mese."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_diamondaxe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:axe_diamond'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'sword_crafter_pro',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Artisanat des épées - Professionnel -"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:sword_mese',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 10 épées en mese."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_tool_diamondsword.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:sword_diamond'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Hoes
|
|
|
|
|
|
|
|
{ name = 'hoe_crafter_newbee',
|
|
|
|
title = S("Agriculteur Débutant"),
|
|
|
|
node = 'farming:hoe_wood',
|
|
|
|
desc = S("Fabrique 10 houx en bois."),
|
|
|
|
icon = "farming_tool_stonehoe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'farming:hoe_stone'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'hoe_crafter_lover',
|
|
|
|
title = S("Agriculteur amateur"),
|
|
|
|
node = 'farming:hoe_stone',
|
|
|
|
desc = S("Fabrique 10 houx en pierre."),
|
|
|
|
icon = "farming_tool_steelhoe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'farming:hoe_steel'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'hoe_crafter_good',
|
|
|
|
title = S("Agriculteur confirmé"),
|
|
|
|
node = 'farming:hoe_steel',
|
|
|
|
desc = S("Fabrique 10 houx en fer."),
|
|
|
|
icon = "farming_tool_bronzehoe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'farming:hoe_bronze'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'hoe_crafter_pro',
|
|
|
|
title = S("Agriculteur professionnel"),
|
|
|
|
node = 'farming:hoe_bronze',
|
|
|
|
desc = S("Fabrique 10 houx en bronze."),
|
|
|
|
icon = "farming_tool_mesehoe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'farming:hoe_mese'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'hoe_crafter_master',
|
|
|
|
title = S("Maitre Agriculteur"),
|
|
|
|
node = 'farming:hoe_mese',
|
|
|
|
desc = S("Fabrique 10 houx en mese."),
|
|
|
|
icon = "farming_tool_diamondhoe.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'farming:hoe_diamond'},
|
|
|
|
tprizes = nil
|
2015-12-10 10:48:25 +01:00
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Wood crafts
|
2015-12-10 10:48:25 +01:00
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
{ name = 'crafter_begins',
|
|
|
|
title = S("Découverte de l'artisanat"),
|
|
|
|
node = 'default:wood',
|
|
|
|
desc = S("Fabrique 50 planches."),
|
|
|
|
icon ="default_wood.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:stick', 'default:chest', 'boats:boat', 'doors:door_wood', 'doors:trapdoor'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
{ name = 'crafter_newbee',
|
|
|
|
title = S("Artisan débutant"),
|
|
|
|
node = 'default:stick',
|
|
|
|
desc = S("Fabrique 50 sticks."),
|
|
|
|
icon ="default_stick.png",
|
|
|
|
type = "craft",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:fence_wood', 'default:ladder'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
{ name = 'crafter_lover',
|
|
|
|
title = S("Artisan amateur"),
|
|
|
|
node = 'default:wood',
|
|
|
|
desc = S("Fabrique 100 planches de bois."),
|
|
|
|
icon ="default_wood.png",
|
|
|
|
type = "craft",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 100,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:sign_wall', 'default:pick_wood', 'default:shovel_wood', 'default:axe_wood', 'default:sword_wood'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'crafter_good',
|
|
|
|
title = S("Artisan confirmé"),
|
|
|
|
node = 'default:wood',
|
|
|
|
desc = S("Fabrique 500 planches de bois."),
|
|
|
|
icon ="default_wood.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 500,
|
|
|
|
titems = {'default:chest_locked'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Bronze crafts
|
|
|
|
|
2015-12-10 10:48:25 +01:00
|
|
|
{ name = 'bronze_crafter_begins',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("L'apogée du bronze"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:bronze_ingot',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Fabrique 50 lingots de bronze."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_bronze_ingot.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:bronzeblock'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Mese crafts
|
|
|
|
|
|
|
|
{ name = 'mese_crafter_begins',
|
|
|
|
title = S("Mese bien sur ?"),
|
|
|
|
node = 'default:mese',
|
|
|
|
desc = S("Fabrique 50 blocs de mese."),
|
|
|
|
icon ="default_mese_block.png",
|
|
|
|
type = "craft",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:meselamp'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Sandstone crafts
|
|
|
|
|
|
|
|
{ name = 'sand_crafter_begins',
|
|
|
|
title = S("Maitre du gré"),
|
|
|
|
node = 'default:sandstone',
|
|
|
|
desc = S("Fabrique 50 blocs gré."),
|
|
|
|
icon ="default_sandstone.png",
|
|
|
|
type = "craft",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:sandstonebrick'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Glass crafts
|
|
|
|
|
|
|
|
{ name = 'glass_crafter_newbee',
|
|
|
|
title = S("Soufleur de verre"),
|
|
|
|
node = 'xpanes:glass',
|
|
|
|
desc = S("Fabrique 40 plaques de verre."),
|
|
|
|
icon ="vessels_glass_bottle.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 40,
|
|
|
|
titems = {'vessels:glass_bottle', 'vessels:drinking_glass','vessels:glass_fragments'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'glass_crafter_good',
|
|
|
|
title = S("Soufleur de verre confirmé"),
|
|
|
|
node = 'vessels:bottle',
|
|
|
|
desc = S("Fabrique 50 bouteilles de verre."),
|
|
|
|
icon ="vessels_glass_bottle.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 40,
|
|
|
|
titems = {'vessels:shelf'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Paper crafts
|
|
|
|
|
|
|
|
{ name = 'book_crafter_begins',
|
|
|
|
title = S("Vous savez écrire"),
|
|
|
|
node = 'default:paper',
|
|
|
|
desc = S("Fabrique 50 feuilles de papier."),
|
|
|
|
icon ="default_book.png",
|
|
|
|
type = "craft",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:book'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Book crafts
|
|
|
|
|
|
|
|
{ name = 'book_crafter_newbee',
|
|
|
|
title = S("La passion du livre"),
|
|
|
|
node = 'default:book',
|
|
|
|
desc = S("Fabrique 10 livres."),
|
|
|
|
icon ="default_book.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'default:bookshelf'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Dyes crafts
|
|
|
|
|
|
|
|
{ name = 'like_dye_nyan',
|
|
|
|
title = S("Toutes les couleurs"),
|
|
|
|
node = 'dye:red',
|
|
|
|
desc = S("Fabrique 10 colorants rouges."),
|
|
|
|
icon = "dye_brown.png",
|
2015-12-10 10:48:25 +01:00
|
|
|
type = "craft",
|
2015-12-12 11:14:21 +01:00
|
|
|
target = 10,
|
|
|
|
titems = {'dye:brown','dye:cyan', 'dye:dark_green', 'dye:dark_grey', 'dye:green', 'dye:grey', 'dye:magenta', 'dye:pink'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Wool crafts
|
|
|
|
|
|
|
|
{ name = 'deco_wool_newbee',
|
|
|
|
title = S("Laine dans tous ces états"),
|
|
|
|
node = 'wool:white',
|
|
|
|
desc = S("Fabrique 10 pelotes de laines."),
|
|
|
|
icon = "wool_brown.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'wool:white', 'wool:grey', 'wool:black', 'wool:red', 'wool:yellow', 'wool:green','wool:cyan', 'wool:blue', 'wool:magenta', 'wool:orange', 'wool:violet','wool:brown', 'wool:pink', 'wool:dark_grey', 'wool:dark_green'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Beds crafts
|
|
|
|
|
|
|
|
{ name = 'bed_crafter_begins',
|
|
|
|
title = S("Un peu de repos"),
|
|
|
|
node = 'wool:red',
|
|
|
|
desc = S("Fabrique 10 pelotes rouges."),
|
|
|
|
icon = "beds_bed.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'beds:bed_bottom'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'bed_crafter_newbee',
|
|
|
|
title = S("Beaucoup de repos"),
|
|
|
|
node = 'beds:bed',
|
|
|
|
desc = S("Fabrique 10 lits simples."),
|
|
|
|
icon = "beds_bed_fancy.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'beds:fancy_bed_bottom'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
-- TNT crafts
|
|
|
|
|
|
|
|
{ name = 'tnt_man',
|
|
|
|
title = S("Boum !"),
|
|
|
|
node = 'tnt:gunpowder',
|
|
|
|
desc = S("Fabrique 10 barils de poudre."),
|
|
|
|
icon = "tnt_side.png",
|
|
|
|
type = "craft",
|
|
|
|
target = 10,
|
|
|
|
titems = {'tnt:tnt'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Miners achievements --
|
|
|
|
|
|
|
|
-- Stone with coal
|
|
|
|
|
|
|
|
{ name = 'like_dye_black',
|
|
|
|
title = S("J'aime le noir"),
|
|
|
|
node = 'default:stone_with_coal',
|
|
|
|
desc = S("Récolte 10 minerais de charbon."),
|
|
|
|
icon = "dye_black.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = {'dye:black'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'coal_miner_begins',
|
|
|
|
title = S("Découverte du charbon"),
|
|
|
|
node = 'default:stone_with_coal',
|
|
|
|
desc = S("Récolte 50 blocs de minerai de charbon."),
|
|
|
|
icon ="default_coal_block.png",
|
|
|
|
type = "dig",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:coalblock', 'default:coal_lump'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
{ name = 'coal_miner_newbee',
|
|
|
|
title = S("Fin des ténèbres"),
|
|
|
|
node = 'default:stone_with_coal',
|
|
|
|
desc = S("Récolte 100 blocs de minerai de charbon."),
|
|
|
|
icon ="default_coal_block.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 100,
|
|
|
|
titems = {'default:torch'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default Stone
|
|
|
|
|
|
|
|
{ name = 'miner_begins',
|
|
|
|
title = S("L'age du feu"),
|
|
|
|
node = 'default:stone',
|
|
|
|
desc = S("Récolte 100 blocs de pierre."),
|
|
|
|
icon ="default_stone.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 100,
|
|
|
|
titems = {'default:furnace'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
{ name = 'miner_newbee',
|
|
|
|
title = S("L'age de pierre"),
|
|
|
|
node = 'default:stone',
|
|
|
|
desc = S("Récolte 200 blocs de pierre."),
|
|
|
|
icon ="default_stone.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 200,
|
|
|
|
titems = {'default:pick_stone', 'default:shovel_stone', 'default:axe_stone', 'default:sword_stone'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default Stone with Iron
|
|
|
|
|
|
|
|
{ name = 'iron_miner_begins',
|
|
|
|
title = S("L'age du fer"),
|
|
|
|
node = 'default:stone_with_iron',
|
|
|
|
desc = S("Récolte 50 blocs de minerai de fer."),
|
|
|
|
icon ="default_mineral_iron.png",
|
2015-12-10 10:48:25 +01:00
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:steelblock', 'default:steel_ingot', 'bucket:bucket_empty', 'doors:door_steel', 'xpanes:bar','vessels:steel_bottle'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
{ name = 'iron_miner_newbee',
|
|
|
|
title = S("Toujours plus de fer"),
|
|
|
|
node = 'default:stone_with_iron',
|
|
|
|
desc = S("Récolte 100 blocs de minerai de fer."),
|
|
|
|
icon ="default_mineral_iron.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 100,
|
|
|
|
titems = {'default:rail'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default Stone with Copper
|
|
|
|
|
|
|
|
{ name = 'copper_miner_begins',
|
|
|
|
title = S("L'age du cuivre"),
|
|
|
|
node = 'default:stone_with_copper',
|
|
|
|
desc = S("Récolte 50 minerai de cuivre."),
|
|
|
|
icon ="default_mineral_copper.png",
|
|
|
|
type = "dig",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:copperblock', 'default:copper_ingot'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
{ name = "copper_miner_newbee",
|
|
|
|
title = S("L'age du bronze"),
|
|
|
|
node = 'default:stone_with_copper',
|
|
|
|
desc = S("Récolte 100 minerai de cuivre."),
|
|
|
|
icon ="default_mineral_copper.png",
|
2015-12-10 10:48:25 +01:00
|
|
|
type = "dig",
|
|
|
|
target = 100,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:bronze_ingot'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Default Stone with Gold
|
2015-12-10 10:48:25 +01:00
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
{ name = 'gold_miner_begins',
|
|
|
|
title = S("Chercheur d'or"),
|
|
|
|
node = 'default:stone_with_gold',
|
|
|
|
desc = S("Récolte 50 blocs de pierres avec minerai d'or."),
|
|
|
|
icon ="default_mineral_gold.png",
|
|
|
|
type = "dig",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:goldblock', 'default:gold_ingot'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Default Stone with Diamond
|
|
|
|
|
|
|
|
{ name = 'diamond_miner_begins',
|
|
|
|
title = S("Mineur des bas fonds"),
|
|
|
|
node = 'default:stone_with_diamond',
|
|
|
|
desc = S("Récolte 50 blocs de pierres avec des diamants."),
|
|
|
|
icon ="default_mineral_diamond.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:diamondblock', 'default:diamond'},
|
2015-12-11 01:53:42 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Default Stone with Mese
|
|
|
|
|
|
|
|
{ name = 'mese_miner_begins',
|
|
|
|
title = S("Chercheur de mese"),
|
|
|
|
node = 'default:stone_with_mese',
|
|
|
|
desc = S("Récolte 50 blocs de pierres avec du mese."),
|
|
|
|
icon ="default_mineral_mese.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:mese_crystal_fragment', 'default:mese_crystal'},
|
2015-12-11 01:53:42 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Default Obsidian
|
|
|
|
|
|
|
|
{ name = 'obsidian_miner_begins',
|
|
|
|
title = S("C'est dur l'obsidienne"),
|
|
|
|
node = 'default:obsidian',
|
|
|
|
desc = S("Récolte 50 blocs d'obsidienne."),
|
|
|
|
icon ="default_obsidian.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:obsidian_shard', 'default:obsidian', 'doors:door_obsidian_glass'},
|
2015-12-11 01:53:42 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
2015-12-10 10:48:25 +01:00
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Default:sand
|
|
|
|
|
|
|
|
{ name = 'sand_miner_begins',
|
|
|
|
title = S("Au gré des sables"),
|
|
|
|
node = 'default:sand',
|
|
|
|
desc = S("Récolte 100 blocs de sable."),
|
|
|
|
icon ="default_sand.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 100,
|
|
|
|
titems = {'default:sandstone', 'default:sand'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default clay
|
|
|
|
|
2015-12-10 10:48:25 +01:00
|
|
|
{ name = 'clay_miner_begins',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Découverte de l'argile"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:clay',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Récolte 50 blocs d'argile."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_clay.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:clay', 'default:clay_lump'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Default Snow
|
|
|
|
|
|
|
|
{ name = 'snow_miner_begins',
|
|
|
|
title = S("Découverte de la neige"),
|
|
|
|
node = 'default:snow',
|
|
|
|
desc = S("Récolte 50 blocs de neige."),
|
|
|
|
icon ="default_snow.png",
|
|
|
|
type = "dig",
|
2015-12-10 10:48:25 +01:00
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'default:snow', 'default:snowblock'},
|
2015-12-10 10:48:25 +01:00
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Default Papyrus
|
|
|
|
|
2015-12-10 10:48:25 +01:00
|
|
|
{ name = 'papyrus_miner_begins',
|
2015-12-10 21:21:18 +01:00
|
|
|
title = S("Vos papiers !"),
|
2015-12-10 10:48:25 +01:00
|
|
|
node = 'default:papyrus',
|
2015-12-10 21:21:18 +01:00
|
|
|
desc = S("Récolte 50 papyrus."),
|
2015-12-10 10:48:25 +01:00
|
|
|
icon ="default_papyrus.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:paper'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Default grass_5
|
2015-12-10 10:48:25 +01:00
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'agro_straw_begins',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("Découverte du blé"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'default:grass_5',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 50 touffes d'herbe mature."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "farming_wheat.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'farming:hoe_wood'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Farming Wheat_8
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'agro_straw_newbee',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("Céréalier débutant"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'farming:wheat_8',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 50 plants de blé bien murs."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "farming_wheat.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
2015-12-12 11:14:21 +01:00
|
|
|
titems = {'farming:flour'},
|
2015-12-11 01:53:42 +01:00
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
{ name = 'agro_straw_lover',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("Céréalier amateur"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'farming:wheat_8',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 100 plants de blé bien murs."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "farming_straw.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 100,
|
|
|
|
titems = {'farming:straw'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Default Junglegrass
|
2015-12-11 01:53:42 +01:00
|
|
|
|
|
|
|
{ name = 'agro_cotton_begins',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("Découverte du cotton"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'default:junglegrass',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 50 touffes d'herbe de jungle."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "farming_cotton.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'farming:hoe_wood'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Default Cotton_8
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'agro_cotton_newbee',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("La route du cotton"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'default:cotton_8',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 50 plants de cottons bien murs."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "farming_cotton.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 50,
|
|
|
|
titems = {'wool:white'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Flowers Rose
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'like_dye_red',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("J'aime le rouge"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'flowers:rose',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 10 roses rouges."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "dye_red.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = {'dye:red'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Floyers Tulip
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'like_dye_orange',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("J'aime le orange"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'flowers:tulip',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 10 tulipes."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "dye_orange.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = {'dye:orange'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Flowers Dandelion_yellow
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'like_dye_yellow',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("J'aime le jaune"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'flowers:dandelion_yellow',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 10 dandelions jaunes."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "dye_yellow.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = {'dye:yellow'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Flowers Geranium
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'like_dye_blue',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("J'aime le bleue"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'flowers:geranium',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 10 géraniums bleues."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "dye_blue.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = {'dye:blue'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Flowers Viola
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'like_dye_violet',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("J'aime le violet"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'flowers:viola',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 10 violettes."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "dye_violet.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = {'dye:violet'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Flowers Dandelion_white
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
{ name = 'like_dye_white',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("J'aime le blanc"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'flowers:dandelion_white',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 10 dandelions blancs."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "dye_white.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = {'dye:white'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Default Gravel
|
2015-12-11 01:53:42 +01:00
|
|
|
|
|
|
|
{ name = 'gravel_digger_begins',
|
2015-12-11 19:36:13 +01:00
|
|
|
title = S("Poudre noire"),
|
2015-12-11 01:53:42 +01:00
|
|
|
node = 'default:gravel',
|
2015-12-11 19:36:13 +01:00
|
|
|
desc = S("Récolte 100 blocs de graviers."),
|
2015-12-11 01:53:42 +01:00
|
|
|
icon = "tnt_gunpowder_inventory.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 100,
|
|
|
|
titems = {'tnt:gunpowder'},
|
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-12 11:14:21 +01:00
|
|
|
|
|
|
|
-- Builders achievements --
|
|
|
|
|
|
|
|
-- Default Wood
|
|
|
|
|
|
|
|
{ name = 'wood_builder_begins',
|
|
|
|
title = S("Architecture - Découverte"),
|
|
|
|
node = 'default:wood',
|
|
|
|
desc = S("Place 50 Planches de Bois."),
|
|
|
|
icon = "default_wood.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'stairs:slab_wood','stairs:stair_wood'},
|
2015-12-11 01:53:42 +01:00
|
|
|
tprizes = nil
|
|
|
|
},
|
2015-12-10 10:48:25 +01:00
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Default cobblestone
|
|
|
|
|
|
|
|
{ name = 'stone_builder_begins',
|
|
|
|
title = S("Batisseur en herbe"),
|
|
|
|
node = 'default:cobblestone',
|
|
|
|
desc = S("Place 50 blocs de cailloux."),
|
|
|
|
icon ="default_cobble.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:stonebrick', 'stairs:slab_cobble', 'stairs:stair_cobble'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default stonebrick
|
|
|
|
|
|
|
|
{ name = 'stone_builder_newbee',
|
|
|
|
title = S("Batisseur Débutant"),
|
|
|
|
node = 'default:stonebrick',
|
|
|
|
desc = S("Place 50 briques de pierres."),
|
|
|
|
icon ="default_stone_brick.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'screwdriver:screwdriver', 'stairs:slab_stonebrick', 'stairs:stair_stonebrick', 'stairs:slab_acacia_wood','stairs:slab_brick', 'stairs:slab_bronzeblock', 'stairs:slab_copperblock', 'stairs:slab_desert_stone', 'stairs:slab_desert_stonebrick', 'stairs:slab_:goldblock', 'stairs:slab_junglewood', 'stairs:slab_pine_wood', 'stairs:slab_sandstone', 'stairs:slab_sandstonebrick', 'stairs:slab_steelblock', 'stairs:slab_stone', 'stairs:slab_straw', 'stairs:stair_acacia_wood','stairs:stair_brick', 'stairs:stair_bronzeblock', 'stairs:stair_copperblock', 'stairs:stair_desert_stone', 'stairs:stair_desert_stonebrick', 'stairs:stair_goldblock', 'stairs:stair_junglewood', 'stairs:stair_pine_wood', 'stairs:stair_sandstone', 'stairs:stair_sandstonebrick', 'stairs:stair_steelblock', 'stairs:stair_stone', 'stairs:stair_straw'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default desert stone
|
|
|
|
|
|
|
|
{ name = 'desertstone_builder_begins',
|
|
|
|
title = S("Batisseur du désert en herbe"),
|
|
|
|
node = 'default:desert_stone',
|
|
|
|
desc = S("Place 50 blocs de pierre du désert."),
|
|
|
|
icon ="default_desert_stone.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:desert_stonebrick', 'stairs:slab_desert_cobble', 'stairs:stair_desert_cobble'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default Obsidian
|
|
|
|
|
|
|
|
{ name = 'obsidian_builder_begins',
|
|
|
|
title = S("Batisseur d'obsidienne"),
|
|
|
|
node = 'default:obsidian',
|
|
|
|
desc = S("Place 50 blocs d'obsidienne."),
|
|
|
|
icon ="default_obsidian.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:obsidianbrick', 'stairs:stair_obsidian', 'stairs:slab_obsidian', 'stairs:slab_obsidianbrick', 'stairs:stair_obsidianbrick' },
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default Glass
|
|
|
|
|
|
|
|
{ name = 'glass_builder_begins',
|
|
|
|
title = S("Apprendre le verre"),
|
|
|
|
node = 'default:glass',
|
|
|
|
desc = S("Place 20 blocs de verre."),
|
|
|
|
icon ="default_glass.png",
|
|
|
|
type = "place",
|
|
|
|
target = 20,
|
|
|
|
titems = {'doors:door_glass', 'xpanes:pane'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Default Clay
|
|
|
|
|
|
|
|
{ name = 'clay_builder_begins',
|
|
|
|
title = S("Terre cuite - Découverte -"),
|
|
|
|
node = 'default:clay',
|
|
|
|
desc = S("Place 50 blocs d'argile."),
|
|
|
|
icon ="default_clay.png",
|
|
|
|
type = "place",
|
|
|
|
target = 50,
|
|
|
|
titems = {'default:brick', 'default:clay_brick'},
|
|
|
|
tprizes = nil,
|
|
|
|
},
|
|
|
|
|
2015-12-11 01:53:42 +01:00
|
|
|
}
|
2015-12-14 17:49:07 +01:00
|
|
|
--]]
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Secrets achievements table
|
|
|
|
local sa = {
|
|
|
|
{ name = 'secret_stuf',
|
|
|
|
title = S("Pas que des déchets"),
|
|
|
|
node = 'sys4_achievements:waste',
|
|
|
|
desc = S("Récolte 10 blocs de déchets."),
|
|
|
|
icon ="waste.png",
|
|
|
|
type = "dig",
|
|
|
|
target = 10,
|
|
|
|
titems = nil,
|
|
|
|
tprizes = {'default:axe_diamond 99', 'default:pick_diamond 99', 'default:shovel_diamond 99', 'default:sword_diamond 99', 'farming:hoe_diamond 99', 'default:furnace', 'default:chest', 'default:meselamp'}
|
|
|
|
}
|
|
|
|
}
|
2015-12-11 01:53:42 +01:00
|
|
|
|
2015-12-12 11:14:21 +01:00
|
|
|
-- Register achievements from tables
|
2015-12-10 10:48:25 +01:00
|
|
|
for i=1, #a do
|
|
|
|
awards.register_achievement(
|
|
|
|
a[i].name,
|
|
|
|
{
|
2015-12-12 11:14:21 +01:00
|
|
|
title = a[i].title,
|
|
|
|
description = a[i].desc ,
|
|
|
|
icon = a[i].icon,
|
|
|
|
trigger = { type = a[i].type, node = a[i].node, target = a[i].target},
|
|
|
|
items = a[i].titems,
|
|
|
|
prizes = a[i].tprizes,
|
|
|
|
book = { title = "SYS4 AWARDS : "..a[i].title,
|
|
|
|
text = sys4_achievements.write_book(a[i].titems, a[i].tprizes)
|
|
|
|
},
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
for i=1, #sa do
|
|
|
|
awards.register_achievement(
|
|
|
|
sa[i].name,
|
|
|
|
{
|
|
|
|
title = sa[i].title,
|
|
|
|
description = sa[i].desc ,
|
|
|
|
icon = sa[i].icon,
|
|
|
|
trigger = { type = sa[i].type, node = sa[i].node, target = sa[i].target},
|
|
|
|
items = sa[i].titems,
|
|
|
|
prizes = sa[i].tprizes,
|
|
|
|
book = { title = "SYS4 AWARDS : "..sa[i].title,
|
|
|
|
text = sys4_achievements.write_book(sa[i].titems, sa[i].tprizes)
|
|
|
|
},
|
|
|
|
secret = 1
|
2015-12-10 10:48:25 +01:00
|
|
|
})
|
|
|
|
end
|
|
|
|
|