Merge pull request 'Villager Workstations' (#2206) from PrairieAstronomer/MineClone2:villager_workstations_1 into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2206 Reviewed-by: cora <cora@noreply.git.minetest.land>
|
@ -139,7 +139,7 @@ local professions = {
|
|||
fletcher = {
|
||||
name = N("Fletcher"),
|
||||
texture = "mobs_mc_villager_farmer.png",
|
||||
jobsite = "mcl_villages:stonebrickcarved", --FIXME: fletching table
|
||||
jobsite = "mcl_fletching_table:fletching_table",
|
||||
trades = {
|
||||
{
|
||||
{ { "mcl_mobitems:string", 15, 20 }, E1 },
|
||||
|
@ -178,7 +178,7 @@ local professions = {
|
|||
shepherd ={
|
||||
name = N("Shepherd"),
|
||||
texture = "mobs_mc_villager_farmer.png",
|
||||
jobsite = "mcl_villages:stonebrickcarved", --FIXME: loom
|
||||
jobsite = "mcl_loom:loom",
|
||||
trades = {
|
||||
{
|
||||
{ { "mcl_wool:white", 16, 22 }, E1 },
|
||||
|
@ -243,7 +243,7 @@ local professions = {
|
|||
cartographer = {
|
||||
name = N("Cartographer"),
|
||||
texture = "mobs_mc_villager_librarian.png",
|
||||
jobsite = "mcl_villages:stonebrickcarved", --FIXME: cartography table
|
||||
jobsite = "mcl_cartography_table:cartography_table",
|
||||
trades = {
|
||||
{
|
||||
{ { "mcl_core:paper", 24, 24 }, E1 },
|
||||
|
|
13
mods/ITEMS/mcl_cartography_table/README.md
Normal 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.
|
25
mods/ITEMS/mcl_cartography_table/init.lua
Normal 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", "" },
|
||||
}
|
||||
})
|
3
mods/ITEMS/mcl_cartography_table/mod.conf
Normal 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.
|
After Width: | Height: | Size: 610 B |
After Width: | Height: | Size: 680 B |
After Width: | Height: | Size: 466 B |
After Width: | Height: | Size: 499 B |
13
mods/ITEMS/mcl_fletching_table/README.md
Normal 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.
|
23
mods/ITEMS/mcl_fletching_table/init.lua
Normal 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", "" },
|
||||
}
|
||||
})
|
3
mods/ITEMS/mcl_fletching_table/mod.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = mcl_fletching_table
|
||||
author = PrairieWind
|
||||
description = Adds the fletching table villager workstation to MineClone 2/5.
|
After Width: | Height: | Size: 720 B |
BIN
mods/ITEMS/mcl_fletching_table/textures/fletching_table_side.png
Normal file
After Width: | Height: | Size: 745 B |
BIN
mods/ITEMS/mcl_fletching_table/textures/fletching_table_top.png
Normal file
After Width: | Height: | Size: 630 B |
13
mods/ITEMS/mcl_loom/README.md
Normal 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.
|
25
mods/ITEMS/mcl_loom/init.lua
Normal 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", "" },
|
||||
}
|
||||
})
|
3
mods/ITEMS/mcl_loom/mod.conf
Normal 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.
|
BIN
mods/ITEMS/mcl_loom/textures/loom_bottom.png
Normal file
After Width: | Height: | Size: 315 B |
BIN
mods/ITEMS/mcl_loom/textures/loom_bottom1.png
Normal file
After Width: | Height: | Size: 395 B |
BIN
mods/ITEMS/mcl_loom/textures/loom_front.png
Normal file
After Width: | Height: | Size: 339 B |
BIN
mods/ITEMS/mcl_loom/textures/loom_front1.png
Normal file
After Width: | Height: | Size: 615 B |
BIN
mods/ITEMS/mcl_loom/textures/loom_side.png
Normal file
After Width: | Height: | Size: 360 B |
BIN
mods/ITEMS/mcl_loom/textures/loom_side1.png
Normal file
After Width: | Height: | Size: 639 B |
BIN
mods/ITEMS/mcl_loom/textures/loom_top.png
Normal file
After Width: | Height: | Size: 358 B |
BIN
mods/ITEMS/mcl_loom/textures/loom_top1.png
Normal file
After Width: | Height: | Size: 468 B |