diff --git a/README.md b/README.md index 1c43b02..a639411 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,5 @@ WARNING: random_buildings:build looks like a chest and "spawns" a building. It d The mod 'cottages' is ready for usage. 'random_buildings' and 'mobf_trader' are in development stage. If you want to run this modpack on a server, delete these two subfolders for now! + +The texture cottages/textures/cottages_slate.png is derived from Universal schema.jpg by Stefanie Lindener, which can be found here: http://de.wikipedia.org/w/index.php?title=Datei:Universal_schema.jpg&filetimestamp=20060510110309& The texture is CC-by-sa 2.0/de. diff --git a/cottages/locale/de.txt b/cottages/locale/de.txt index 16349be..9677a3b 100644 --- a/cottages/locale/de.txt +++ b/cottages/locale/de.txt @@ -82,16 +82,25 @@ Roof wood = Holzdach Roof black = Schwarzes Dach Roof red = Rotes Dach Roof brown = Braunes Dach +Roof reet = Reetdach +Roof slate = Schieferdach Roof connector straw = Strohdachverbinder Roof connector wood = Holzdachverbinder Roof connector black = Schwarzer Dachverbinder Roof connector red = Roter Dachverbinder Roof connector brown = Brauner Dachverbinder +Roof connector reet = Reet-Dachverbinder +Roof connector slate = Schiefer-Dachverbinder Roof (flat) straw = Strohdach (flach) Roof (flat) wood = Holzdach (flach) Roof (flat) black = Schwarzes Dach (flach) Roof (flat) red = Rotes Dach (flach) Roof (flat) brown = Braunes Dach (flach) +Roof (flat) reet = Reetdach (flach) +Roof (flat) slate = Schieferdach (flach) +Vertical Slate = Vertikaler Schiefer +Reet for thatching = Reet + ### nodes_straw.lua ### layer of straw = Strohschicht diff --git a/cottages/locale/template.txt b/cottages/locale/template.txt index 06c26c3..cbc6990 100644 --- a/cottages/locale/template.txt +++ b/cottages/locale/template.txt @@ -82,16 +82,24 @@ Roof wood = Roof black = Roof red = Roof brown = +Roof reet = +Roof slate = Roof connector straw = Roof connector wood = Roof connector black = Roof connector red = Roof connector brown = +Roof connector reet = +Roof connector slate = Roof (flat) straw = Roof (flat) wood = Roof (flat) black = Roof (flat) red = Roof (flat) brown = +Roof (flat) reet = +Roof (flat) slate = +Vertical Slate = +Reet for thatching = ### nodes_straw.lua ### layer of straw = diff --git a/cottages/nodes_roof.lua b/cottages/nodes_roof.lua index 71e7732..668a43f 100644 --- a/cottages/nodes_roof.lua +++ b/cottages/nodes_roof.lua @@ -157,6 +157,9 @@ end -- of cottages.register_roof( name, tiles, basic_material ) cottages.register_roof( 'straw', {"cottages_darkage_straw.png","cottages_darkage_straw.png","cottages_darkage_straw.png","cottages_darkage_straw.png","cottages_darkage_straw.png","cottages_darkage_straw.png"}, 'cottages:straw_mat', nil ); +cottages.register_roof( 'reet', + {"cottages_reet.png","cottages_reet.png","cottages_reet.png","cottages_reet.png","cottages_reet.png","cottages_reet.png"}, + 'default:papyrus', nil ); cottages.register_roof( 'wood', {"default_tree.png","default_wood.png","default_wood.png","default_wood.png","default_wood.png","default_tree.png"}, 'default:wood', nil); @@ -169,3 +172,43 @@ cottages.register_roof( 'red', cottages.register_roof( 'brown', {"cottages_homedecor_shingles_wood.png","default_wood.png","default_wood.png","default_wood.png","default_wood.png","cottages_homedecor_shingles_wood.png"}, 'homedecor:shingles_wood', 'default:dirt'); +cottages.register_roof( 'slate', + {"cottages_slate.png","default_wood.png","cottages_slate.png","cottages_slate.png","default_wood.png","cottages_slate.png"}, + 'default:stone', nil); + + +--------------------------------------------------------------------------------------- +-- slate roofs are sometimes on vertical fronts of houses +--------------------------------------------------------------------------------------- +minetest.register_node("cottages:slate_vertical", { + description = S("Vertical Slate"), + tiles = {"cottages_slate.png","default_wood.png","cottages_slate.png","cottages_slate.png","default_wood.png","cottages_slate.png"}, + paramtype2 = "facedir", + groups = {cracky=2, stone=1}, + sounds = default.node_sound_stone_defaults(), +}) + + +minetest.register_craft({ + output = "cottages:slate_vertical", + recipe = { {'default:stone', 'default:wood', '' } + } +}); + +--------------------------------------------------------------------------------------- +-- Reed might also be needed as a full block +--------------------------------------------------------------------------------------- +minetest.register_node("cottages:reet", { + description = S("Reet for thatching"), + tiles = {"cottages_reet.png"}, + groups = {snappy=3,choppy=3,oddly_breakable_by_hand=3,flammable=3}, + sounds = default.node_sound_wood_defaults(), +}) + + +minetest.register_craft({ + output = "cottages:reet", + recipe = { {'default:papyrus','default:papyrus'}, + {'default:papyrus','default:papyrus'}, + }, +}) diff --git a/cottages/textures/cottages_slate.png b/cottages/textures/cottages_slate.png new file mode 100644 index 0000000..f85f162 Binary files /dev/null and b/cottages/textures/cottages_slate.png differ