Initial commit

main
Mikita Wiśniewski 2023-07-06 12:38:28 +07:00
commit 15454a693a
11 changed files with 48 additions and 0 deletions

19
LICENSE Executable file
View File

@ -0,0 +1,19 @@
Copyright 2023, Mikita "rudzik8" Wiśniewski
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# Cross mod [cross]
Mod for the _game that adds christian crosses as
decorative blocks into the game.

BIN
cross_mod.tgz Normal file

Binary file not shown.

25
init.lua Executable file
View File

@ -0,0 +1,25 @@
-- cross/init.lua
-- ==============
-- This mod is made by rudzik8, and is licensed under the MIT license.
-- For further details, see the LICENSE file included.
-- make a table containing all the cross variants available
local crosses = {"greek", "latin", "orthodox",
"papal", "patriarchal", "russian"}
-- registering function
for i, variant in pairs(crosses) do
minetest.register_node("cross:"..variant, {
-- make the 1st letter of the cross variant uppercase
description = variant:gsub("^%l", string.upper).." cross",
drawtype = "torchlike", -- TODO: meshes
use_texture_alpha = "clip",
sunlight_propagates = true,
tiles = {"default_stone.png^crosses_"..
variant..".png^[makealpha:255,126,126^"},
inventory_image = {"default_stone.png^crosses_"..
variant..".png".."^[makealpha:255,126,126^"},
wield_image = {"default_stone.png^crosses_"..
variant..".png".."^[makealpha:255,126,126^"},
})
end

BIN
textures/Thumbs.db Executable file

Binary file not shown.

BIN
textures/cross_greek.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

BIN
textures/cross_latin.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

BIN
textures/cross_orthodox.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

BIN
textures/cross_papal.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

BIN
textures/cross_patriarchal.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

BIN
textures/cross_russian.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B