diff --git a/ccloth/init.lua b/ccloth/init.lua new file mode 100644 index 0000000..7acadf6 --- /dev/null +++ b/ccloth/init.lua @@ -0,0 +1,83 @@ +-- +-- ccloth +-- License:GPLv3 +-- + +-- +-- Cool Cloth +-- + +local S = minetest.get_translator("ccloth") + +--Gray Hoodie + +player_api.register_cloth("ccloth:gray_hoodie", { + description = S("Gray Hoodie"), + texture = "ccloth_gray_hoodie.png", + inventory_image = "ccloth_gray_hoodie_inv.png", + wield_image = "ccloth_gray_hoodie_inv.png", + preview = "ccloth_gray_hoodie_preview.png", + gender = "unisex", + groups = {cloth = 2}, + attach = "ccloth:gray_hoodie_hood", +}) + +player_api.register_cloth("ccloth:gray_hoodie_hood", { + attached = true, + texture = "ccloth_gray_hoodie_hood.png", + groups = {cloth = 1}, +}) + +minetest.register_craft({ + output = "ccloth:gray_hoodie", + type = "shaped", + recipe = { + {"fabric:grey", "", "fabric:grey"}, + {"fabric:dark_grey", "fabric:white", "fabric:grey"}, + {"fabric:dark_grey", "fabric:grey", "fabric:dark_grey"}, + } +}) + +--Blue Jeans + +player_api.register_cloth("ccloth:blue_jeans", { + description = S("Blue Jeans"), + texture = "ccloth_blue_jeans.png", + inventory_image = "ccloth_blue_jeans_inv.png", + wield_image = "ccloth_blue_jeans_inv.png", + preview = "ccloth_blue_jeans_preview.png", + gender = "unisex", + groups = {cloth = 3}, +}) + +minetest.register_craft({ + output = "ccloth:blue_jeans", + type = "shaped", + recipe = { + {"fabric:blue", "fabric:blue", "fabric:blue"}, + {"fabric:white", "", "fabric:white"}, + {"fabric:blue", "", "fabric:blue"}, + } +}) + +--Black Sneakers + +player_api.register_cloth("ccloth:black_sneakers", { + description = S("Black Sneakers"), + texture = "ccloth_black_sneakers.png", + inventory_image = "ccloth_black_sneakers_inv.png", + wield_image = "ccloth_black_sneakers_inv.png", + preview = "ccloth_black_sneakers_preview.png", + gender = "unisex", + groups = {cloth = 4}, +}) + +minetest.register_craft({ + output = "ccloth:black_sneakers", + type = "shaped", + recipe = { + {"farming:string", "", "farming:string"}, + {"fabric:black", "", "fabric:black"}, + {"", "", ""}, + } +}) diff --git a/ccloth/locale/ccloth.es.tr b/ccloth/locale/ccloth.es.tr new file mode 100644 index 0000000..79e8841 --- /dev/null +++ b/ccloth/locale/ccloth.es.tr @@ -0,0 +1,4 @@ +# textdomain: ccloth +Gray Hoodie=Sudadera gris con capucha +Blue Jeans=Pantalones vaqueros azules +Black Sneakers=Zapatillas deporte negras diff --git a/ccloth/mod.conf b/ccloth/mod.conf new file mode 100644 index 0000000..3f5b4a2 --- /dev/null +++ b/ccloth/mod.conf @@ -0,0 +1,3 @@ +name = ccloth +description = More cool clothes +depends = player_api, fabric, farming diff --git a/ccloth/textures/ccloth_black_sneakers.png b/ccloth/textures/ccloth_black_sneakers.png new file mode 100644 index 0000000..6fbdeae Binary files /dev/null and b/ccloth/textures/ccloth_black_sneakers.png differ diff --git a/ccloth/textures/ccloth_black_sneakers_inv.png b/ccloth/textures/ccloth_black_sneakers_inv.png new file mode 100644 index 0000000..b88a422 Binary files /dev/null and b/ccloth/textures/ccloth_black_sneakers_inv.png differ diff --git a/ccloth/textures/ccloth_black_sneakers_preview.png b/ccloth/textures/ccloth_black_sneakers_preview.png new file mode 100644 index 0000000..7ae5eb1 Binary files /dev/null and b/ccloth/textures/ccloth_black_sneakers_preview.png differ diff --git a/ccloth/textures/ccloth_blue_jeans.png b/ccloth/textures/ccloth_blue_jeans.png new file mode 100644 index 0000000..ffd5308 Binary files /dev/null and b/ccloth/textures/ccloth_blue_jeans.png differ diff --git a/ccloth/textures/ccloth_blue_jeans_inv.png b/ccloth/textures/ccloth_blue_jeans_inv.png new file mode 100644 index 0000000..c049a1d Binary files /dev/null and b/ccloth/textures/ccloth_blue_jeans_inv.png differ diff --git a/ccloth/textures/ccloth_blue_jeans_preview.png b/ccloth/textures/ccloth_blue_jeans_preview.png new file mode 100644 index 0000000..2a5fea3 Binary files /dev/null and b/ccloth/textures/ccloth_blue_jeans_preview.png differ diff --git a/ccloth/textures/ccloth_gray_hoodie.png b/ccloth/textures/ccloth_gray_hoodie.png new file mode 100644 index 0000000..fdc86f8 Binary files /dev/null and b/ccloth/textures/ccloth_gray_hoodie.png differ diff --git a/ccloth/textures/ccloth_gray_hoodie_hood.png b/ccloth/textures/ccloth_gray_hoodie_hood.png new file mode 100644 index 0000000..04ad6d9 Binary files /dev/null and b/ccloth/textures/ccloth_gray_hoodie_hood.png differ diff --git a/ccloth/textures/ccloth_gray_hoodie_inv.png b/ccloth/textures/ccloth_gray_hoodie_inv.png new file mode 100644 index 0000000..ec819b3 Binary files /dev/null and b/ccloth/textures/ccloth_gray_hoodie_inv.png differ diff --git a/ccloth/textures/ccloth_gray_hoodie_preview.png b/ccloth/textures/ccloth_gray_hoodie_preview.png new file mode 100644 index 0000000..987c376 Binary files /dev/null and b/ccloth/textures/ccloth_gray_hoodie_preview.png differ diff --git a/fabric/textures/fabric_fabric.png b/fabric/textures/fabric_fabric.png index 22b4b8d..8bde0d5 100644 Binary files a/fabric/textures/fabric_fabric.png and b/fabric/textures/fabric_fabric.png differ diff --git a/vanity/locale/vanity.es.tr b/vanity/locale/vanity.es.tr index 6156e06..c1c7ab2 100644 --- a/vanity/locale/vanity.es.tr +++ b/vanity/locale/vanity.es.tr @@ -7,7 +7,7 @@ Hair=Color Color=de pelo Dark-haired=Moreno Gray-haired=Canoso -Brown=Moreno +Brown=CastaƱo Red-haired=Pelirrojo Blonde=Rubio