Rename the mod to xtcross, add mod.conf, description.txt
also convert init.lua from DOS mode to UNIXmain
|
@ -1,4 +1,6 @@
|
|||
# Cross mod [cross]
|
||||
# Christian Cross mod [xtcross]
|
||||
|
||||
Mod for the _game that adds christian crosses as
|
||||
decorative blocks into the game.
|
||||
|
||||
**License:** MIT
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Mod for the _game that adds christian crosses as decorative blocks into the game.
|
|
@ -1,25 +1,26 @@
|
|||
-- 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^cross_"..
|
||||
variant..".png^[makealpha:255,126,126"},
|
||||
inventory_image = {"default_stone.png^cross_"..
|
||||
variant..".png".."^[makealpha:255,126,126"},
|
||||
wield_image = {"default_stone.png^cross_"..
|
||||
variant..".png".."^[makealpha:255,126,126"},
|
||||
})
|
||||
end
|
||||
-- xtcross/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("xtcross:"..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,
|
||||
-- the problem zone
|
||||
tiles = {"default_stone.png^xtcross_"..
|
||||
variant..".png^[makealpha:255,126,126"},
|
||||
inventory_image = {"default_stone.png^xtcross_"..
|
||||
variant..".png".."^[makealpha:255,126,126"},
|
||||
wield_image = {"default_stone.png^xtcross_"..
|
||||
variant..".png".."^[makealpha:255,126,126"},
|
||||
})
|
||||
end
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
name = xtcross
|
||||
depends = default
|
||||
description = Mod for the _game that adds christian crosses as decorative blocks into the game.
|
||||
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 183 B |