Merge pull request 'Villager Workstations' (#2206) from PrairieAstronomer/MineClone2:villager_workstations_1 into master

Reviewed-on: MineClone2/MineClone2#2206
Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
cora 2022-05-14 22:21:47 +00:00
commit 87c9969801
25 changed files with 124 additions and 3 deletions

View File

@ -139,7 +139,7 @@ local professions = {
fletcher = { fletcher = {
name = N("Fletcher"), name = N("Fletcher"),
texture = "mobs_mc_villager_farmer.png", texture = "mobs_mc_villager_farmer.png",
jobsite = "mcl_villages:stonebrickcarved", --FIXME: fletching table jobsite = "mcl_fletching_table:fletching_table",
trades = { trades = {
{ {
{ { "mcl_mobitems:string", 15, 20 }, E1 }, { { "mcl_mobitems:string", 15, 20 }, E1 },
@ -178,7 +178,7 @@ local professions = {
shepherd ={ shepherd ={
name = N("Shepherd"), name = N("Shepherd"),
texture = "mobs_mc_villager_farmer.png", texture = "mobs_mc_villager_farmer.png",
jobsite = "mcl_villages:stonebrickcarved", --FIXME: loom jobsite = "mcl_loom:loom",
trades = { trades = {
{ {
{ { "mcl_wool:white", 16, 22 }, E1 }, { { "mcl_wool:white", 16, 22 }, E1 },
@ -243,7 +243,7 @@ local professions = {
cartographer = { cartographer = {
name = N("Cartographer"), name = N("Cartographer"),
texture = "mobs_mc_villager_librarian.png", texture = "mobs_mc_villager_librarian.png",
jobsite = "mcl_villages:stonebrickcarved", --FIXME: cartography table jobsite = "mcl_cartography_table:cartography_table",
trades = { trades = {
{ {
{ { "mcl_core:paper", 24, 24 }, E1 }, { { "mcl_core:paper", 24, 24 }, E1 },

View File

@ -0,0 +1,13 @@
mcl_cartography_table
-------------------
Cartography Tables, by PrairieWind
Adds Cartography Tables to MineClone 2/5.
License of source code
----------------------
LGPLv2.1
License of media
----------------
See the main MineClone 2 README.md file.

View File

@ -0,0 +1,25 @@
local S = minetest.get_translator(minetest.get_current_modname())
-- Cartography Table Code. Used to create and copy maps. Needs a GUI still.
minetest.register_node("mcl_cartography_table:cartography_table", {
description = S("Cartography Table"),
_tt_help = S("Used to create or copy maps"),
_doc_items_longdesc = S("Is used to create or copy maps for use.."),
tiles = {
"cartography_table_top.png", "cartography_table_side3.png",
"cartography_table_side3.png", "cartography_table_side2.png",
"cartography_table_side3.png", "cartography_table_side1.png"
},
paramtype2 = "facedir",
groups = {choppy=1, deco_block=1, material_wood=1,flammable=1}
})
minetest.register_craft({
output = "mcl_cartography_table:cartography_table",
recipe = {
{ "mcl_core:paper", "mcl_core:paper", "" },
{ "group:wood", "group:wood", "" },
{ "group:wood", "group:wood", "" },
}
})

View File

@ -0,0 +1,3 @@
name = mcl_cartography_table
author = PrairieWind
description = Adds the cartography table villager workstation to MineClone 2/5. Used to copy and create maps.

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

View File

@ -0,0 +1,13 @@
mcl_fletching_table
-------------------
Fletching Tables, by PrairieWind
Adds Fletching Tables to MineClone 2/5.
License of source code
----------------------
LGPLv2.1
License of media
----------------
See the main MineClone 2 README.md file.

View File

@ -0,0 +1,23 @@
local S = minetest.get_translator(minetest.get_current_modname())
-- Fletching Table Code. No use as of current Minecraft Updates. Basically a decor block. As of now, this is complete.
minetest.register_node("mcl_fletching_table:fletching_table", {
description = S("Fletching Table"),
_tt_help = S("A fletching table"),
_doc_items_longdesc = S("This is the fletcher villager's work station. It currently has no use beyond decoration."),
tiles = {
"fletching_table_top.png", "fletching_table_top.png",
"fletching_table_side.png", "fletching_table_side.png",
"fletching_table_front.png", "fletching_table_front.png"
},
paramtype2 = "facedir",
groups = {choppy=1, deco_block=1, material_wood=1, flammable=1}
})
minetest.register_craft({
output = "mcl_fletching_table:fletching_table",
recipe = {
{ "mcl_core:flint", "mcl_core:flint", "" },
{ "group:wood", "group:wood", "" },
{ "group:wood", "group:wood", "" },
}
})

View File

@ -0,0 +1,3 @@
name = mcl_fletching_table
author = PrairieWind
description = Adds the fletching table villager workstation to MineClone 2/5.

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 745 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

View File

@ -0,0 +1,13 @@
mcl_loom
--------
Looms, by PrairieWind
Adds Looms to MineClone 2/5. Used to add patterns to banners.
License of source code
----------------------
LGPLv2.1
License of media
----------------
See the main MineClone 2 README.md file.

View File

@ -0,0 +1,25 @@
local S = minetest.get_translator(minetest.get_current_modname())
-- Loom Code. Used to craft banner designs easier. Still needs a GUI. https://minecraft.fandom.com/wiki/Loom
minetest.register_node("mcl_loom:loom", {
description = S("Loom"),
_tt_help = S("Used to create banner designs"),
_doc_items_longdesc = S("This is the shepherd villager's work station. It is used to create banner designs."),
tiles = {
"loom_top.png", "loom_bottom.png",
"loom_side.png", "loom_side.png",
"loom_front.png", "loom_front.png"
},
paramtype2 = "facedir",
groups = {choppy=1, deco_block=1, material_wood=1, flammable=1}
})
minetest.register_craft({
output = "mcl_loom:loom",
recipe = {
{ "", "", "" },
{ "mcl_mobitems:string", "mcl_mobitems:string", "" },
{ "group:wood", "group:wood", "" },
}
})

View File

@ -0,0 +1,3 @@
name = mcl_loom
author = PrairieWind
description = Adds the loom villager workstation to MineClone 2/5. Used to add patterns to banners.

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B