|
@ -0,0 +1,111 @@
|
||||||
|
---
|
||||||
|
--- Generated by EmmyLua(https://github.com/EmmyLua)
|
||||||
|
--- Created by Michieal.
|
||||||
|
--- DateTime: 01/19/23 4:50 PM
|
||||||
|
--- Last Update Time: 01/19/23 4:50 PM
|
||||||
|
---
|
||||||
|
|
||||||
|
local modname = minetest.get_current_modname()
|
||||||
|
local S = minetest.get_translator(modname)
|
||||||
|
local bamboo = "mcl_bamboo:bamboo"
|
||||||
|
|
||||||
|
local function tiki_lamp()
|
||||||
|
if minetest.get_modpath("mcl_lanterns") then
|
||||||
|
if mcl_lanterns ~= nil then
|
||||||
|
mcl_lanterns.register_lantern("tikilamp", {
|
||||||
|
description = S("Tiki Lamp"),
|
||||||
|
longdesc = S("Tiki Lamps are light sources which can be placed on the top or the bottom of most blocks."),
|
||||||
|
texture = "mcl_bamboo_extras_tikilamp.png",
|
||||||
|
texture_inv = "mcl_bamboo_extras_tikilamp_inv.png",
|
||||||
|
light_level = 14,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_lanterns:tikilamp_floor",
|
||||||
|
recipe = {
|
||||||
|
{bamboo, bamboo,bamboo},
|
||||||
|
{bamboo, "mcl_torches:torch", bamboo},
|
||||||
|
{bamboo, bamboo,bamboo},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
local function green_bamboo_doors()
|
||||||
|
local BAMBOO_BLOCK = "mcl_bamboo:bamboo_block"
|
||||||
|
if minetest.get_modpath("mcl_doors") and mcl_doors then
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_bamboo:bamboo_door2 3",
|
||||||
|
recipe = {
|
||||||
|
{BAMBOO_BLOCK, BAMBOO_BLOCK},
|
||||||
|
{BAMBOO_BLOCK, BAMBOO_BLOCK},
|
||||||
|
{BAMBOO_BLOCK, BAMBOO_BLOCK}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_bamboo:bamboo_trapdoor2 2",
|
||||||
|
recipe = {
|
||||||
|
{BAMBOO_BLOCK, BAMBOO_BLOCK, BAMBOO_BLOCK},
|
||||||
|
{BAMBOO_BLOCK, BAMBOO_BLOCK, BAMBOO_BLOCK},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("mcl_doors") then
|
||||||
|
if mcl_doors then
|
||||||
|
local top_door_tiles = {}
|
||||||
|
local bot_door_tiles = {}
|
||||||
|
|
||||||
|
if BROKEN_DOORS then
|
||||||
|
top_door_tiles = {"mcl_bamboo_door_top_alt.png", "mcl_bamboo_door_top.png"}
|
||||||
|
bot_door_tiles = {"mcl_bamboo_door_bottom_alt.png", "mcl_bamboo_door_bottom.png"}
|
||||||
|
else
|
||||||
|
top_door_tiles = {"mcl_bamboo_door_top.png", "mcl_bamboo_door_top.png"}
|
||||||
|
bot_door_tiles = {"mcl_bamboo_door_bottom.png", "mcl_bamboo_door_bottom.png"}
|
||||||
|
end
|
||||||
|
|
||||||
|
local name = "mcl_bamboo:bamboo_door2"
|
||||||
|
local def = {
|
||||||
|
description = S("Bamboo Door."),
|
||||||
|
inventory_image = "mcl_bamboo_door_wield.png",
|
||||||
|
wield_image = "mcl_bamboo_door_wield.png",
|
||||||
|
groups = {handy = 1, axey = 1, material_wood = 1, flammable = -1},
|
||||||
|
_mcl_hardness = 3,
|
||||||
|
_mcl_blast_resistance = 3,
|
||||||
|
tiles_bottom = bot_door_tiles,
|
||||||
|
tiles_top = top_door_tiles,
|
||||||
|
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||||
|
}
|
||||||
|
|
||||||
|
mcl_doors:register_door(name, def)
|
||||||
|
|
||||||
|
name = "mcl_bamboo:bamboo_trapdoor2"
|
||||||
|
local trap_def = {
|
||||||
|
description = S("Bamboo Trapdoor."),
|
||||||
|
inventory_image = "mcl_bamboo_door_complete.png",
|
||||||
|
groups = {},
|
||||||
|
tile_front = "mcl_bamboo_trapdoor_top.png",
|
||||||
|
tile_side = "mcl_bamboo_trapdoor_side.png",
|
||||||
|
_doc_items_longdesc = S("Wooden trapdoors are horizontal barriers which can be opened and closed by hand or a redstone signal. They occupy the upper or lower part of a block, depending on how they have been placed. When open, they can be climbed like a ladder."),
|
||||||
|
_doc_items_usagehelp = S("To open or close the trapdoor, rightclick it or send a redstone signal to it."),
|
||||||
|
wield_image = "mcl_bamboo_trapdoor_wield.png",
|
||||||
|
inventory_image = "mcl_bamboo_trapdoor_wield.png",
|
||||||
|
groups = {handy = 1, axey = 1, mesecon_effector_on = 1, material_wood = 1, flammable = -1},
|
||||||
|
_mcl_hardness = 3,
|
||||||
|
_mcl_blast_resistance = 3,
|
||||||
|
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||||
|
}
|
||||||
|
|
||||||
|
mcl_doors:register_trapdoor(name, trap_def)
|
||||||
|
|
||||||
|
minetest.register_alias("bamboo_door", "mcl_bamboo:bamboo_door")
|
||||||
|
minetest.register_alias("bamboo_trapdoor", "mcl_bamboo:bamboo_trapdoor")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
-- ------------------------------------
|
||||||
|
tiki_lamp()
|
|
@ -0,0 +1,4 @@
|
||||||
|
name = mcl_amethyst_extras
|
||||||
|
description = Non-Minecraft Amethyst Items
|
||||||
|
author=Michieal
|
||||||
|
depends=mcl_amethyst
|
|
@ -0,0 +1,14 @@
|
||||||
|
Created by Michieal.
|
||||||
|
Additional Textures: CC-BY 3.0
|
||||||
|
Code: GPL3
|
||||||
|
|
||||||
|
One final request -- the Date-Time Creator code block needs to remain in the code files. This allows everyone to know
|
||||||
|
which version of the code is being used, and allows for better troubleshooting of any errors.
|
||||||
|
|
||||||
|
Init.Lua's original Date-Time Creator code block:
|
||||||
|
---
|
||||||
|
--- Generated by EmmyLua(https://github.com/EmmyLua)
|
||||||
|
--- Created by Michieal.
|
||||||
|
--- DateTime: 01/19/23 4:50 PM
|
||||||
|
--- [Last Update Time]
|
||||||
|
---
|
|
@ -2,6 +2,7 @@
|
||||||
--- Generated by EmmyLua(https://github.com/EmmyLua)
|
--- Generated by EmmyLua(https://github.com/EmmyLua)
|
||||||
--- Created by Michieal.
|
--- Created by Michieal.
|
||||||
--- DateTime: 12/14/22 10:14 PM
|
--- DateTime: 12/14/22 10:14 PM
|
||||||
|
--- Last Update Time: 01/19/23 4:50 PM
|
||||||
---
|
---
|
||||||
|
|
||||||
local modname = minetest.get_current_modname()
|
local modname = minetest.get_current_modname()
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
Created by Michieal.
|
Created by Michieal.
|
||||||
Textures: CC-BY-SA
|
Additional Textures: CC-BY 3.0
|
||||||
Code: GPL3
|
Code: GPL3
|
||||||
Additional license clause. The section(s) of code where it has the date/time/creator *Must* remain intact, or
|
|
||||||
it's in violation of the license. Usage of this code means acknowledgement and agreement to this clause.
|
|
||||||
|
|
||||||
Init.Lua's original date/time/creator code block:
|
One final request -- the Date-Time Creator code block needs to remain in the code files. This allows everyone to know
|
||||||
|
which version of the code is being used, and allows for better troubleshooting of any errors.
|
||||||
|
|
||||||
|
Init.Lua's original Date-Time Creator code block:
|
||||||
---
|
---
|
||||||
--- Generated by EmmyLua(https://github.com/EmmyLua)
|
--- Generated by EmmyLua(https://github.com/EmmyLua)
|
||||||
--- Created by Michieal.
|
--- Created by Michieal.
|
||||||
--- DateTime: 12/14/22 10:14 PM
|
--- DateTime: 12/14/22 10:14 PM
|
||||||
|
--- [Last Update Time]
|
||||||
---
|
---
|
After Width: | Height: | Size: 551 B |
After Width: | Height: | Size: 375 B |
After Width: | Height: | Size: 282 B |
After Width: | Height: | Size: 425 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 196 B |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 771 B |
After Width: | Height: | Size: 247 B |
After Width: | Height: | Size: 682 B |
After Width: | Height: | Size: 675 B |
After Width: | Height: | Size: 688 B |
After Width: | Height: | Size: 684 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 257 B |
After Width: | Height: | Size: 205 B |
After Width: | Height: | Size: 206 B |
After Width: | Height: | Size: 901 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 422 B |