Add additional walls and tranlations; improve readme.md (#2)

This commit is contained in:
Alexander Chibrikin 2022-12-04 16:46:27 +03:00 committed by GitHub
parent 35b43b7841
commit fe63369661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 127 additions and 34 deletions

View File

@ -1,2 +0,0 @@
default
walls

View File

@ -1,14 +0,0 @@
Adds more wall types for walls mod.
Walls mod comes with Minetest Game. It includes 3 types of walls. This mod extends it toinclue 7 more types.
Included in this mod are
stone
stone brick
desert stone
desert stone brick
sandstone
sandstone brick
brick

View File

@ -1,20 +1,64 @@
walls.register(":walls:brick", "Brick Wall", "default_brick.png",
local S = minetest.get_translator("mywalls")
walls.register(":walls:brick", S("Brick Wall"), "default_brick.png",
"default:brick", default.node_sound_stone_defaults())
walls.register(":walls:sandstone", "Sandstone Wall", "default_sandstone.png",
walls.register(":walls:sandstone", S("Sandstone Wall"), "default_sandstone.png",
"default:sandstone", default.node_sound_stone_defaults())
walls.register(":walls:sandstone_brick", "Sandstone Brick Wall", "default_sandstone_brick.png",
walls.register(":walls:sandstone_brick", S("Sandstone Brick Wall"), "default_sandstone_brick.png",
"default:sandstonebrick", default.node_sound_stone_defaults())
walls.register(":walls:stone", "Stone Wall", "default_stone.png",
walls.register(":walls:sandstone_block", S("Sandstone Block Wall"), "default_sandstone_block.png",
"default:sandstone_block", default.node_sound_stone_defaults())
walls.register(":walls:stone", S("Stone Wall"), "default_stone.png",
"default:stone", default.node_sound_stone_defaults())
walls.register(":walls:stone_brick", "Stone Brick Wall", "default_stone_brick.png",
walls.register(":walls:stone_brick", S("Stone Brick Wall"), "default_stone_brick.png",
"default:stonebrick", default.node_sound_stone_defaults())
walls.register(":walls:desert_stone", "Desert Stone Wall", "default_desert_stone.png",
walls.register(":walls:stone_block", S("Stone Block Wall"), "default_stone_block.png",
"default:stone_block", default.node_sound_stone_defaults())
walls.register(":walls:desert_stone", S("Desert Stone Wall"), "default_desert_stone.png",
"default:desert_stone", default.node_sound_stone_defaults())
walls.register(":walls:desert_stonebrick", "Desert Stone Brick Wall", "default_desert_stone_brick.png",
walls.register(":walls:desert_stonebrick", S("Desert Stone Brick Wall"), "default_desert_stone_brick.png",
"default:desert_stonebrick", default.node_sound_stone_defaults())
walls.register(":walls:desert_stone_block", S("Desert Stone Block Wall"), "default_desert_stone_block.png",
"default:desert_stone_block", default.node_sound_stone_defaults())
walls.register(":walls:desert_sandstone", S("Desert Sandstone Wall"), "default_desert_sandstone.png",
"default:desert_sandstone", default.node_sound_stone_defaults())
walls.register(":walls:desert_sandstone_brick", S("Desert Sandstone Brick Wall"), "default_desert_sandstone_brick.png",
"default:desert_sandstone_brick", default.node_sound_stone_defaults())
walls.register(":walls:desert_sandstone_block", S("Desert Sandstone Block Wall"), "default_desert_sandstone_block.png",
"default:desert_sandstone_block", default.node_sound_stone_defaults())
walls.register(":walls:silver_sandstone", S("Silver Sandstone Wall"), "default_silver_sandstone.png",
"default:silver_sandstone", default.node_sound_stone_defaults())
walls.register(":walls:silver_sandstone_brick", S("Silver Sandstone Brick Wall"), "default_silver_sandstone_brick.png",
"default:silver_sandstone_brick", default.node_sound_stone_defaults())
walls.register(":walls:silver_sandstone_block", S("Silver Sandstone Block Wall"), "default_silver_sandstone_block.png",
"default:silver_sandstone_block", default.node_sound_stone_defaults())
walls.register(":walls:obsidian", S("Obsidian Wall"), "default_obsidian.png",
"default:obsidian", default.node_sound_stone_defaults())
walls.register(":walls:obsidian_brick", S("Obsidian Brick Wall"), "default_obsidian_brick.png",
"default:obsidian_brick", default.node_sound_stone_defaults())
walls.register(":walls:obsidian_block", S("Obsidian Block Wall"), "default_obsidian_block.png",
"default:obsidian_block", default.node_sound_stone_defaults())

20
locale/mywalls.ru.tr Normal file
View File

@ -0,0 +1,20 @@
# textdomain: mywalls
Brick Wall=Ограда из кирпича
Sandstone Wall=Ограда из песчаника
Sandstone Brick Wall=Ограда из кирпича песчаника
Sandstone Block Wall=Ограда из блока песчаника
Stone Wall=Ограда из камня
Stone Brick Wall=Ограда из каменного кирпича
Stone Block Wall=Ограда из каменного блока
Desert Stone Wall=Ограда из пустынного камня
Desert Stone Brick Wall=Ограда из кирпича пустынного камня
Desert Stone Block Wall=Ограда из блока пустынного камня
Desert Sandstone Wall=Ограда из пустынного песчаника
Desert Sandstone Brick Wall=Ограда из кирпича пустынного песчаника
Desert Sandstone Block Wall=Ограда из блока пустынного песчаника
Silver Sandstone Wall=Ограда из серебряного песчаника
Silver Sandstone Brick Wall=Ограда из кирпича серебряного песчаника
Silver Sandstone Block Wall=Ограда из блока серебряного песчаника
Obsidian Wall=Ограда из обсидиана
Obsidian Brick Wall=Ограда из обсидианового кирпича
Obsidian Block Wall=Ограда из обсидианового блока

20
locale/template.txt Normal file
View File

@ -0,0 +1,20 @@
# textdomain: mywalls
Brick Wall=
Sandstone Wall=
Sandstone Brick Wall=
Sandstone Block Wall=
Stone Wall=
Stone Brick Wall=
Stone Block Wall=
Desert Stone Wall=
Desert Stone Brick Wall=
Desert Stone Block Wall=
Desert Sandstone Wall=
Desert Sandstone Brick Wall=
Desert Sandstone Block Wall=
Silver Sandstone Wall=
Silver Sandstone Brick Wall=
Silver Sandstone Block Wall=
Obsidian Wall=
Obsidian Brick Wall=
Obsidian Block Wall=

View File

@ -1,2 +1,3 @@
name = mywalls
tags = walls, connect, more
depends = default, walls

View File

@ -1,17 +1,41 @@
mywalls
# `mywalls` minetest mod
Adds more wall types for walls mod.
[![ContentDB](https://content.minetest.net/packages/Don/mywalls/shields/downloads/)](https://content.minetest.net/packages/Don/mywalls/)
Walls mod comes with Minetest Game. It includes 3 types of walls. This mod extends it toinclue 7 more types.
Adds more wall types for [`walls` mod from `minetest_game`](https://github.com/minetest/minetest_game/tree/master/mods/walls).
Included in this mod are
Walls mod comes with Minetest Game. It includes **only** 3 types of walls.
stone
stone brick
desert stone
desert stone brick
sandstone
sandstone brick
brick
This mod extends it to include 19 more types.
All walls are added into the `walls` mod namespace and use its API.
![walls](screenshot.png)
Included in this mod walls are:
- wall for `"default:brick"`
- walls for:
- `"default:sandstone"`
- `"default:sandstonebrick"`
- `"default:sandstone_block"`
- walls for:
- `"default:stone"`
- `"default:stonebrick"`
- `"default:stone_block"`
- walls for:
- `"default:desert_stone"`
- `"default:desert_stonebrick"`
- `"default:desert_stone_block"`
- walls for:
- `"default:desert_sandstone"`
- `"default:desert_sandstone_brick"`
- `"default:desert_sandstone_block"`
- walls for:
- `"default:silver_sandstone"`
- `"default:silver_sandstone_brick"`
- `"default:silver_sandstone_block"`
- walls for:
- `"default:obsidian"`
- `"default:obsidian_brick"`
- `"default:obsidian_block"`
Licence - DWYWPL

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 794 KiB