From 50e8b7b90ac03d950306ec6780746f364ad93e0a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 29 Aug 2019 04:38:21 +0200 Subject: [PATCH] Add stair/slab versions of the metal blocks --- mods/partialblocks/init.lua | 11 +++++++++++ mods/partialblocks/locale/partialblocks.de.tr | 6 ++++++ mods/partialblocks/locale/template.txt | 6 ++++++ .../textures/partialblocks_block_bronze_slab.png | Bin 0 -> 124 bytes .../textures/partialblocks_block_bronze_stair.png | Bin 0 -> 140 bytes .../partialblocks_block_carbon_steel_slab.png | Bin 0 -> 124 bytes .../partialblocks_block_carbon_steel_stair.png | Bin 0 -> 140 bytes .../partialblocks_block_wrought_iron_slab.png | Bin 0 -> 114 bytes .../partialblocks_block_wrought_iron_stair.png | Bin 0 -> 137 bytes 9 files changed, 23 insertions(+) create mode 100644 mods/partialblocks/textures/partialblocks_block_bronze_slab.png create mode 100644 mods/partialblocks/textures/partialblocks_block_bronze_stair.png create mode 100644 mods/partialblocks/textures/partialblocks_block_carbon_steel_slab.png create mode 100644 mods/partialblocks/textures/partialblocks_block_carbon_steel_stair.png create mode 100644 mods/partialblocks/textures/partialblocks_block_wrought_iron_slab.png create mode 100644 mods/partialblocks/textures/partialblocks_block_wrought_iron_stair.png diff --git a/mods/partialblocks/init.lua b/mods/partialblocks/init.lua index 54555bd..21be127 100644 --- a/mods/partialblocks/init.lua +++ b/mods/partialblocks/init.lua @@ -172,6 +172,17 @@ partialblocks.register_material( partialblocks.register_material( "steel", S("Steel Slab"), S("Steel Stair"), "default:block_steel", false, adv_slab_tex("default:block_steel", "block_steel"), adv_stair_tex("default:block_steel", "block_steel")) +partialblocks.register_material( + "carbon_steel", S("Carbon Steel Slab"), S("Carbon Steel Stair"), "default:block_carbon_steel", false, adv_slab_tex("default:block_carbon_steel", "block_carbon_steel"), adv_stair_tex("default:block_carbon_steel", "block_carbon_steel")) + +partialblocks.register_material( + "wrought_iron", S("Wrought Iron Slab"), S("Wrought Iron Stair"), "default:block_wrought_iron", false, adv_slab_tex("default:block_wrought_iron", "block_wrought_iron"), adv_stair_tex("default:block_wrought_iron", "block_wrought_iron")) + +partialblocks.register_material( + "bronze", S("Bronze Slab"), S("Bronze Stair"), "default:block_bronze", false, adv_slab_tex("default:block_bronze", "block_bronze"), adv_stair_tex("default:block_bronze", "block_bronze")) + + + local cs_stair_tiles = { "default_compressed_sandstone.png", "default_compressed_sandstone_top.png", diff --git a/mods/partialblocks/locale/partialblocks.de.tr b/mods/partialblocks/locale/partialblocks.de.tr index 6c9d133..5bce81e 100644 --- a/mods/partialblocks/locale/partialblocks.de.tr +++ b/mods/partialblocks/locale/partialblocks.de.tr @@ -23,3 +23,9 @@ Steel Slab=Stahlplatte Steel Stair=Stahltreppe Compressed Sandstone Slab=Kompaktsandsteinplatte Compressed Sandstone Stair=Kompaktsandsteintreppe +Wrought Iron Slab=Schmiedeeisenplatte +Wrought Iron Stair=Schmiedeeisentreppe +Carbon Steel Slab=Karbonstahlplatte +Carbon Steel Stair=Karbonstahltreppe +Bronze Slab=Bronzeplatte +Bronze Stair=Bronzetreppe diff --git a/mods/partialblocks/locale/template.txt b/mods/partialblocks/locale/template.txt index 6c289f7..0bd2d24 100644 --- a/mods/partialblocks/locale/template.txt +++ b/mods/partialblocks/locale/template.txt @@ -23,3 +23,9 @@ Steel Slab= Steel Stair= Compressed Sandstone Slab= Compressed Sandstone Stair= +Wrought Iron Slab= +Wrought Iron Stair= +Carbon Steel Slab= +Carbon Steel Stair= +Bronze Slab= +Bronze Stair= diff --git a/mods/partialblocks/textures/partialblocks_block_bronze_slab.png b/mods/partialblocks/textures/partialblocks_block_bronze_slab.png new file mode 100644 index 0000000000000000000000000000000000000000..9feb02c94a53604f4105ec3f491819b040bb78df GIT binary patch literal 124 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9oB=)|uAdq`&*a)}PB4@G?gCP+ z=jq}YQo)$az~~mp&gLfO=FY|@_UtrI`OHemdj`f`1_lNj4VqM3oFyeXLfILd5;<&p T4{A>X>SXYA^>bP0l+XkKu;?Dh literal 0 HcmV?d00001 diff --git a/mods/partialblocks/textures/partialblocks_block_bronze_stair.png b/mods/partialblocks/textures/partialblocks_block_bronze_stair.png new file mode 100644 index 0000000000000000000000000000000000000000..d775fbf92ccbac69313b4386acf5ddcaa656b1f0 GIT binary patch literal 140 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9oB=)|uAdq`&*a)}PB4@G?gCP6 z=jq}YQo)$azr%SwU9i5GwEjLz$@+2)v*qC`)LdDqlu7rxL>|F^L m7ndUvF3ycYQLDq&GBHH`6xbuJ9WW7S5`(9!pUXO@geCwnk1SXK literal 0 HcmV?d00001 diff --git a/mods/partialblocks/textures/partialblocks_block_wrought_iron_slab.png b/mods/partialblocks/textures/partialblocks_block_wrought_iron_slab.png new file mode 100644 index 0000000000000000000000000000000000000000..0db32f982d942d062a5d65cefc77e41ae0a8f5fa GIT binary patch literal 114 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|mYyz-Ar*|t7S2ixnKL|1JiNV~ zGd!4?|Kzl=HF+&OWnk(c({ZY?L%KuKV01aXA MboFyt=akR{039A7@&Et; literal 0 HcmV?d00001 diff --git a/mods/partialblocks/textures/partialblocks_block_wrought_iron_stair.png b/mods/partialblocks/textures/partialblocks_block_wrought_iron_stair.png new file mode 100644 index 0000000000000000000000000000000000000000..c3b6e67145f54c70095c5b02d5b6e707969b8181 GIT binary patch literal 137 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|0iG_7Ar*{k`x)5|Fz_&czx8Kj z{jJ5zoR8_|EM*U>QaNt9q_s+MrO+ffNAr5t`Uf#WH5U3Dzom^