write something there
This commit is contained in:
commit
b4b6c08f4f
8546 changed files with 309825 additions and 0 deletions
7
mods/minetest_game/walls/README.txt
Normal file
7
mods/minetest_game/walls/README.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
Minetest Game mod: walls
|
||||
========================
|
||||
See license.txt for license information.
|
||||
|
||||
Authors of source code
|
||||
----------------------
|
||||
Auke Kok <sofar@foo-projects.org> (LGPLv2.1+)
|
73
mods/minetest_game/walls/init.lua
Normal file
73
mods/minetest_game/walls/init.lua
Normal file
|
@ -0,0 +1,73 @@
|
|||
-- walls/init.lua
|
||||
|
||||
walls = {}
|
||||
|
||||
local fence_collision_extra = minetest.settings:get_bool("enable_fence_tall") and 3/8 or 0
|
||||
|
||||
-- Load support for MT game translation.
|
||||
local S = minetest.get_translator("walls")
|
||||
|
||||
walls.register = function(wall_name, wall_desc, wall_texture_table, wall_mat, wall_sounds)
|
||||
--make wall_texture_table paramenter backwards compatible for mods passing single texture
|
||||
if type(wall_texture_table) ~= "table" then
|
||||
wall_texture_table = { wall_texture_table }
|
||||
end
|
||||
-- inventory node, and pole-type wall start item
|
||||
minetest.register_node(wall_name, {
|
||||
description = wall_desc,
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "connected",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 1/2, 1/4},
|
||||
-- connect_bottom =
|
||||
connect_front = {-3/16, -1/2, -1/2, 3/16, 3/8, -1/4},
|
||||
connect_left = {-1/2, -1/2, -3/16, -1/4, 3/8, 3/16},
|
||||
connect_back = {-3/16, -1/2, 1/4, 3/16, 3/8, 1/2},
|
||||
connect_right = { 1/4, -1/2, -3/16, 1/2, 3/8, 3/16},
|
||||
},
|
||||
collision_box = {
|
||||
type = "connected",
|
||||
fixed = {-1/4, -1/2, -1/4, 1/4, 1/2 + fence_collision_extra, 1/4},
|
||||
-- connect_top =
|
||||
-- connect_bottom =
|
||||
connect_front = {-1/4,-1/2,-1/2,1/4,1/2 + fence_collision_extra,-1/4},
|
||||
connect_left = {-1/2,-1/2,-1/4,-1/4,1/2 + fence_collision_extra,1/4},
|
||||
connect_back = {-1/4,-1/2,1/4,1/4,1/2 + fence_collision_extra,1/2},
|
||||
connect_right = {1/4,-1/2,-1/4,1/2,1/2 + fence_collision_extra,1/4},
|
||||
},
|
||||
connects_to = { "group:wall", "group:stone", "group:fence", "group:wall_connected" },
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
tiles = wall_texture_table,
|
||||
walkable = true,
|
||||
groups = { cracky = 3, wall = 1, stone = 2 },
|
||||
sounds = wall_sounds,
|
||||
})
|
||||
|
||||
-- crafting recipe
|
||||
-- HACK:
|
||||
-- Walls have no crafts, when register new wall via API from another mod, but in the same namespace (`walls`).
|
||||
-- So we should remove `":"` at the beginning of the name.
|
||||
if wall_name:sub(1, 1) == ":" then
|
||||
wall_name = wall_name:sub(2)
|
||||
end
|
||||
minetest.register_craft({
|
||||
output = wall_name .. " 6",
|
||||
recipe = {
|
||||
{ "", "", "" },
|
||||
{ wall_mat, wall_mat, wall_mat},
|
||||
{ wall_mat, wall_mat, wall_mat},
|
||||
}
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
walls.register("walls:cobble", S("Cobblestone Wall"), {"default_cobble.png"},
|
||||
"default:cobble", default.node_sound_stone_defaults())
|
||||
|
||||
walls.register("walls:mossycobble", S("Mossy Cobblestone Wall"), {"default_mossycobble.png"},
|
||||
"default:mossycobble", default.node_sound_stone_defaults())
|
||||
|
||||
walls.register("walls:desertcobble", S("Desert Cobblestone Wall"), {"default_desert_cobble.png"},
|
||||
"default:desert_cobble", default.node_sound_stone_defaults())
|
||||
|
14
mods/minetest_game/walls/license.txt
Normal file
14
mods/minetest_game/walls/license.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
License of source code
|
||||
----------------------
|
||||
|
||||
GNU Lesser General Public License, version 2.1
|
||||
Copyright (C) 2015 Auke Kok <sofar@foo-projects.org>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under the terms
|
||||
of the GNU Lesser General Public License as published by the Free Software Foundation;
|
||||
either version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
See the GNU Lesser General Public License for more details:
|
||||
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
|
4
mods/minetest_game/walls/locale/template.txt
Normal file
4
mods/minetest_game/walls/locale/template.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=
|
||||
Mossy Cobblestone Wall=
|
||||
Desert Cobblestone Wall=
|
4
mods/minetest_game/walls/locale/walls.de.tr
Normal file
4
mods/minetest_game/walls/locale/walls.de.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Kopfsteinpflastermauer
|
||||
Mossy Cobblestone Wall=Moosige Kopfsteinpflastermauer
|
||||
Desert Cobblestone Wall=Wüstenkopfsteinpflastermauer
|
4
mods/minetest_game/walls/locale/walls.eo.tr
Normal file
4
mods/minetest_game/walls/locale/walls.eo.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Pavimŝtona muro
|
||||
Mossy Cobblestone Wall=Muska pavimŝtona muro
|
||||
Desert Cobblestone Wall=Dezerta pavimŝtona muro
|
4
mods/minetest_game/walls/locale/walls.es.tr
Normal file
4
mods/minetest_game/walls/locale/walls.es.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Pared de adoquines
|
||||
Mossy Cobblestone Wall=Pared de adoquines musgosos
|
||||
Desert Cobblestone Wall=Pared de adoquines desérticos
|
4
mods/minetest_game/walls/locale/walls.fr.tr
Normal file
4
mods/minetest_game/walls/locale/walls.fr.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Mur en pavé
|
||||
Mossy Cobblestone Wall=Mur en pavé moussu
|
||||
Desert Cobblestone Wall=Mur en pavé du désert
|
4
mods/minetest_game/walls/locale/walls.id.tr
Normal file
4
mods/minetest_game/walls/locale/walls.id.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Tembok Bongkahan Batu
|
||||
Mossy Cobblestone Wall=Tembok Bongkahan Batu Berlumut
|
||||
Desert Cobblestone Wall=Tembok Bongkahan Batu Gurun
|
4
mods/minetest_game/walls/locale/walls.it.tr
Normal file
4
mods/minetest_game/walls/locale/walls.it.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Muro di ciottoli
|
||||
Mossy Cobblestone Wall=Muro di ciottoli muschiosi
|
||||
Desert Cobblestone Wall=Muro di ciottoli del deserto
|
4
mods/minetest_game/walls/locale/walls.ja.tr
Normal file
4
mods/minetest_game/walls/locale/walls.ja.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=丸石の塀
|
||||
Mossy Cobblestone Wall=苔むした丸石の塀
|
||||
Desert Cobblestone Wall=砂漠の丸石の塀
|
4
mods/minetest_game/walls/locale/walls.jbo.tr
Normal file
4
mods/minetest_game/walls/locale/walls.jbo.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=lo lolro'iboi bitmu
|
||||
Mossy Cobblestone Wall=lo clika lolro'iboi bitmu
|
||||
Desert Cobblestone Wall=lo cantu'a lolro'iboi bitmu
|
4
mods/minetest_game/walls/locale/walls.lv.tr
Normal file
4
mods/minetest_game/walls/locale/walls.lv.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Mūrakmens siena
|
||||
Mossy Cobblestone Wall=Apsūnējuša mūrakmens siena
|
||||
Desert Cobblestone Wall=Tuksneša mūrakmens siena
|
4
mods/minetest_game/walls/locale/walls.ms.tr
Normal file
4
mods/minetest_game/walls/locale/walls.ms.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Pagar Batu Buntar
|
||||
Mossy Cobblestone Wall=Pagar Batu Buntar Berlumut
|
||||
Desert Cobblestone Wall=Pagar Batu Buntar Gurun
|
4
mods/minetest_game/walls/locale/walls.pl.tr
Normal file
4
mods/minetest_game/walls/locale/walls.pl.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Brukowa ściana
|
||||
Mossy Cobblestone Wall=Brukowa ściana z mchem
|
||||
Desert Cobblestone Wall=Pustynno-brukowa ściana
|
4
mods/minetest_game/walls/locale/walls.pt_BR.tr
Normal file
4
mods/minetest_game/walls/locale/walls.pt_BR.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Parede de Paralelepípedo
|
||||
Mossy Cobblestone Wall=Parede de Paralelepípedo com Musgo
|
||||
Desert Cobblestone Wall=Parede de Paralelepípedo do Deserto
|
4
mods/minetest_game/walls/locale/walls.ru.tr
Normal file
4
mods/minetest_game/walls/locale/walls.ru.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Стена из булыжника
|
||||
Mossy Cobblestone Wall=Стена из замшелого булыжника
|
||||
Desert Cobblestone Wall=Стена из пустынного булыжника
|
4
mods/minetest_game/walls/locale/walls.sk.tr
Normal file
4
mods/minetest_game/walls/locale/walls.sk.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Múr z dlažbových kociek
|
||||
Mossy Cobblestone Wall=Múr z dlažbových kociek obrastených machom
|
||||
Desert Cobblestone Wall=Múr z púštnych dlažbových kociek
|
4
mods/minetest_game/walls/locale/walls.sv.tr
Normal file
4
mods/minetest_game/walls/locale/walls.sv.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Kullerstensvägg
|
||||
Mossy Cobblestone Wall=Mossig kullerstensvägg
|
||||
Desert Cobblestone Wall=Ökenkullerstensvägg
|
4
mods/minetest_game/walls/locale/walls.uk.tr
Normal file
4
mods/minetest_game/walls/locale/walls.uk.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=Кругляковий паркан
|
||||
Mossy Cobblestone Wall=Паркан з моховитого кругляку
|
||||
Desert Cobblestone Wall=Паркан з пустельного кругляку
|
4
mods/minetest_game/walls/locale/walls.zh_CN.tr
Normal file
4
mods/minetest_game/walls/locale/walls.zh_CN.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=鹅卵石墙
|
||||
Mossy Cobblestone Wall=苔藓覆盖的鹅卵石墙
|
||||
Desert Cobblestone Wall=沙漠鹅卵石墙
|
4
mods/minetest_game/walls/locale/walls.zh_TW.tr
Normal file
4
mods/minetest_game/walls/locale/walls.zh_TW.tr
Normal file
|
@ -0,0 +1,4 @@
|
|||
# textdomain: walls
|
||||
Cobblestone Wall=鵝卵石牆
|
||||
Mossy Cobblestone Wall=苔蘚覆蓋的鵝卵石牆
|
||||
Desert Cobblestone Wall=沙漠鵝卵石牆
|
3
mods/minetest_game/walls/mod.conf
Normal file
3
mods/minetest_game/walls/mod.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = walls
|
||||
description = Minetest Game mod: walls
|
||||
depends = default
|
Loading…
Add table
Add a link
Reference in a new issue