add coloured candles (thanks wRothbard)
@ -10,6 +10,10 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
|
||||
|
||||
## Changelog
|
||||
|
||||
### 1.29
|
||||
- Use "stratum" to generate mesa biome for stripey goodness
|
||||
- Added coloured candles (thanks wRothbard)
|
||||
|
||||
### 1.28
|
||||
|
||||
- Added new Mediterranean biome with Lemon and Olive trees (thanks Felfa)
|
||||
@ -23,7 +27,6 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
|
||||
- Certain fish can only be found in specific biomes
|
||||
- Rename textures so they begin with ethereal_ (sorry texture pack folks)
|
||||
- Override mushroom spread abm to use "group:mushroom"
|
||||
- Use "stratum" to generate mesa biome for stripey goodness
|
||||
|
||||
### 1.27
|
||||
|
||||
|
65
extra.lua
@ -168,6 +168,7 @@ minetest.register_node("ethereal:candle", {
|
||||
}
|
||||
})
|
||||
|
||||
-- candle recipe
|
||||
minetest.register_craft({
|
||||
output = "ethereal:candle 2",
|
||||
recipe = {
|
||||
@ -177,6 +178,70 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
local function add_candle(col, dcol)
|
||||
|
||||
local rcol = ""
|
||||
|
||||
if col ~= "" then
|
||||
rcol = col
|
||||
col = "_" .. col
|
||||
end
|
||||
|
||||
minetest.register_node("ethereal:candle" .. col, {
|
||||
description = S(dcol .. "Candle"),
|
||||
drawtype = "plantlike",
|
||||
inventory_image = "ethereal_candle" .. col .. "_static.png",
|
||||
wield_image = "ethereal_candle" .. col .. "_static.png",
|
||||
tiles = {
|
||||
{
|
||||
name = "ethereal_candle" .. col .. ".png",
|
||||
animation = {
|
||||
type="vertical_frames",
|
||||
aspect_w = 32,
|
||||
aspect_h = 32,
|
||||
length = 1.0
|
||||
}
|
||||
}
|
||||
},
|
||||
paramtype = "light",
|
||||
light_source = 11,
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {dig_immediate = 3, attached_node = 1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0, 0.15 }
|
||||
}
|
||||
})
|
||||
|
||||
if col ~= "" then
|
||||
minetest.register_craft({
|
||||
output = "ethereal:candle" .. col,
|
||||
recipe = {
|
||||
{"ethereal:candle", "dye:" .. rcol},
|
||||
}
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
add_candle("", "")
|
||||
add_candle("black", " Black") -- candle colour textures by wRothbard
|
||||
add_candle("blue", " Blue")
|
||||
add_candle("brown", " Brown")
|
||||
add_candle("cyan", " Cyan")
|
||||
add_candle("dark_green", " Dark Green")
|
||||
add_candle("dark_grey", " Dark Grey")
|
||||
add_candle("green", " Green")
|
||||
add_candle("grey", " Grey")
|
||||
add_candle("magenta", " Magenta")
|
||||
add_candle("orange", " Orange")
|
||||
add_candle("pink", " Pink")
|
||||
add_candle("red", " Red")
|
||||
add_candle("violet", " Violet")
|
||||
add_candle("yellow", " Yellow")
|
||||
|
||||
|
||||
-- Wooden Bowl
|
||||
minetest.register_craftitem("ethereal:bowl", {
|
||||
description = S("Bowl"),
|
||||
|
BIN
textures/ethereal_candle_black.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
textures/ethereal_candle_black_static.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
textures/ethereal_candle_blue.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
textures/ethereal_candle_blue_static.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
textures/ethereal_candle_brown.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
textures/ethereal_candle_brown_static.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
textures/ethereal_candle_cyan.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
textures/ethereal_candle_cyan_static.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
textures/ethereal_candle_dark_green.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
textures/ethereal_candle_dark_green_static.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
textures/ethereal_candle_dark_grey.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
textures/ethereal_candle_dark_grey_static.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
textures/ethereal_candle_green.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
textures/ethereal_candle_green_static.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
textures/ethereal_candle_grey.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
textures/ethereal_candle_grey_static.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
textures/ethereal_candle_magenta.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
textures/ethereal_candle_magenta_static.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
textures/ethereal_candle_orange.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
textures/ethereal_candle_orange_static.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
textures/ethereal_candle_pink.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
textures/ethereal_candle_pink_static.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
textures/ethereal_candle_red.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
textures/ethereal_candle_red_static.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
textures/ethereal_candle_violet.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
textures/ethereal_candle_violet_static.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
textures/ethereal_candle_yellow.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
textures/ethereal_candle_yellow_static.png
Normal file
After Width: | Height: | Size: 186 B |