Convert the modpack into a standalone game for the Minetest engine

Integrated into the game is most of minetest_game as the stable base
This commit is contained in:
VanessaE
2021-02-23 23:40:11 -05:00
committed by Vanessa Dannenberg
parent 11adf56b75
commit 4394beec6a
8861 changed files with 37424 additions and 4811 deletions

7
mods/walls/README.txt Normal file
View 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+)

67
mods/walls/init.lua Normal file
View File

@@ -0,0 +1,67 @@
-- 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" },
paramtype = "light",
is_ground_content = false,
tiles = wall_texture_table,
walkable = true,
groups = { cracky = 3, wall = 1, stone = 2 },
sounds = wall_sounds,
})
-- crafting recipe
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/walls/license.txt Normal file
View 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

View File

@@ -0,0 +1,4 @@
# textdomain: walls
Cobblestone Wall=
Mossy Cobblestone Wall=
Desert Cobblestone Wall=

View File

@@ -0,0 +1,4 @@
# textdomain: walls
Cobblestone Wall=Kopfsteinpflastermauer
Mossy Cobblestone Wall=Moosige Kopfsteinpflastermauer
Desert Cobblestone Wall=Wüstenkopfsteinpflastermauer

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View File

@@ -0,0 +1,4 @@
# textdomain: walls
Cobblestone Wall=Булыжниковая Ограда
Mossy Cobblestone Wall=Мшистая Булыжниковая Ограда
Desert Cobblestone Wall=Ограда Из Пустынного Булыжника

View File

@@ -0,0 +1,4 @@
# textdomain: walls
Cobblestone Wall=Kullerstens Vägg
Mossy Cobblestone Wall=Mossig Kullerstens Vägg
Desert Cobblestone Wall=Öken Kullerstens Vägg

View 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

View File

@@ -0,0 +1,4 @@
# textdomain: walls
Cobblestone Wall=鹅卵石墙
Mossy Cobblestone Wall=苔藓覆盖的鹅卵石墙
Desert Cobblestone Wall=沙漠鹅卵石墙

View File

@@ -0,0 +1,4 @@
# textdomain: walls
Cobblestone Wall=鵝卵石牆
Mossy Cobblestone Wall=苔蘚覆蓋的鵝卵石牆
Desert Cobblestone Wall=沙漠鵝卵石牆

3
mods/walls/mod.conf Normal file
View File

@@ -0,0 +1,3 @@
name = walls
description = Minetest Game mod: walls
depends = default