Initial commit
commit
15454a693a
|
@ -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.
|
|
@ -0,0 +1,4 @@
|
|||
# Cross mod [cross]
|
||||
|
||||
Mod for the _game that adds christian crosses as
|
||||
decorative blocks into the game.
|
Binary file not shown.
|
@ -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
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 150 B |
Binary file not shown.
After Width: | Height: | Size: 161 B |
Binary file not shown.
After Width: | Height: | Size: 191 B |
Binary file not shown.
After Width: | Height: | Size: 170 B |
Binary file not shown.
After Width: | Height: | Size: 169 B |
Binary file not shown.
After Width: | Height: | Size: 183 B |
Loading…
Reference in New Issue