2014-11-09 22:17:41 +03:00
|
|
|
--[[
|
|
|
|
|
2016-12-01 12:41:23 +03:00
|
|
|
Minetest Ethereal Mod (1st December 2016)
|
2014-11-09 22:17:41 +03:00
|
|
|
|
|
|
|
Created by ChinChow
|
|
|
|
|
|
|
|
Updated by TenPlus1
|
|
|
|
|
|
|
|
]]
|
|
|
|
|
|
|
|
ethereal = {}
|
2016-01-31 17:25:48 +03:00
|
|
|
ethereal.leaftype = 0 -- 0 for 2D plantlike, 1 for 3D allfaces
|
|
|
|
ethereal.leafwalk = false -- true for walkable leaves, false to fall through
|
2016-01-21 23:35:40 +03:00
|
|
|
ethereal.cavedirt = true -- caves chop through dirt when true
|
2016-12-01 12:41:23 +03:00
|
|
|
ethereal.torchdrop = true -- torches drop when touching water
|
|
|
|
ethereal.papyruswalk = true -- papyrus can be walked on
|
2014-11-09 22:17:41 +03:00
|
|
|
|
|
|
|
-- Set following to 1 to enable biome or 0 to disable
|
2015-08-31 19:40:29 +03:00
|
|
|
ethereal.glacier = 1 -- Ice glaciers with snow
|
2015-07-25 18:45:29 +03:00
|
|
|
ethereal.bamboo = 1 -- Bamboo with sprouts
|
|
|
|
ethereal.mesa = 1 -- Mesa red and orange clay with giant redwood
|
|
|
|
ethereal.alpine = 1 -- Snowy grass
|
|
|
|
ethereal.healing = 1 -- Snowy peaks with healing trees
|
|
|
|
ethereal.snowy = 1 -- Cold grass with pine trees and snow spots
|
|
|
|
ethereal.frost = 1 -- Blue dirt with blue/pink frost trees
|
|
|
|
ethereal.grassy = 1 -- Green grass with flowers and trees
|
|
|
|
ethereal.caves = 1 -- Desert stone ares with huge caverns underneath
|
|
|
|
ethereal.grayness = 1 -- Grey grass with willow trees
|
|
|
|
ethereal.grassytwo = 1 -- Sparse trees with old trees and flowers
|
|
|
|
ethereal.prairie = 1 -- Flowery grass with many plants and flowers
|
|
|
|
ethereal.jumble = 1 -- Green grass with trees and jungle grass
|
|
|
|
ethereal.junglee = 1 -- Jungle grass with tall jungle trees
|
|
|
|
ethereal.desert = 1 -- Desert sand with cactus
|
|
|
|
ethereal.grove = 1 -- Banana groves and ferns
|
|
|
|
ethereal.mushroom = 1 -- Purple grass with giant mushrooms
|
|
|
|
ethereal.sandstone = 1 -- Sandstone with smaller cactus
|
|
|
|
ethereal.quicksand = 1 -- Quicksand banks
|
|
|
|
ethereal.plains = 1 -- Dry dirt with scorched trees
|
2015-11-22 23:27:07 +03:00
|
|
|
ethereal.savannah = 1 -- Dry yellow grass with acacia tree's
|
2015-07-25 18:45:29 +03:00
|
|
|
ethereal.fiery = 1 -- Red grass with lava craters
|
|
|
|
ethereal.sandclay = 1 -- Sand areas with clay underneath
|
2016-11-24 17:54:47 +03:00
|
|
|
ethereal.swamp = 1 -- Swamp areas with vines on tree's, mushrooms, lilly's and clay sand
|
2014-11-09 22:17:41 +03:00
|
|
|
|
2016-06-09 17:08:34 +03:00
|
|
|
-- Intllib
|
|
|
|
local S
|
|
|
|
if minetest.get_modpath("intllib") then
|
|
|
|
S = intllib.Getter()
|
|
|
|
else
|
|
|
|
S = function(s) return s end
|
|
|
|
end
|
|
|
|
ethereal.intllib = S
|
|
|
|
|
2015-08-31 19:40:29 +03:00
|
|
|
local path = minetest.get_modpath("ethereal")
|
|
|
|
|
2015-12-04 01:31:10 +03:00
|
|
|
dofile(path .. "/plantlife.lua")
|
|
|
|
dofile(path .. "/mushroom.lua")
|
|
|
|
dofile(path .. "/onion.lua")
|
|
|
|
dofile(path .. "/crystal.lua")
|
|
|
|
dofile(path .. "/water.lua")
|
|
|
|
dofile(path .. "/dirt.lua")
|
|
|
|
dofile(path .. "/leaves.lua")
|
|
|
|
dofile(path .. "/wood.lua")
|
|
|
|
dofile(path .. "/sapling.lua")
|
|
|
|
dofile(path .. "/strawberry.lua")
|
|
|
|
dofile(path .. "/fishing.lua")
|
|
|
|
dofile(path .. "/extra.lua")
|
|
|
|
dofile(path .. "/sealife.lua")
|
|
|
|
dofile(path .. "/fences.lua")
|
|
|
|
dofile(path .. "/gates.lua")
|
2016-05-17 23:40:05 +03:00
|
|
|
dofile(path .. "/mapgen.lua")
|
|
|
|
dofile(path .. "/food.lua")
|
|
|
|
dofile(path .. "/bonemeal.lua")
|
|
|
|
dofile(path .. "/compatibility.lua")
|
|
|
|
dofile(path .. "/stairs.lua")
|
2016-11-12 14:06:13 +03:00
|
|
|
dofile(path .. "/lucky_block.lua")
|
2015-08-31 19:40:29 +03:00
|
|
|
|
|
|
|
if minetest.get_modpath("xanadu") then
|
2015-12-04 01:31:10 +03:00
|
|
|
dofile(path .. "/plantpack.lua")
|
2015-07-25 18:45:29 +03:00
|
|
|
end
|
2014-11-09 22:17:41 +03:00
|
|
|
|
2016-06-09 17:08:34 +03:00
|
|
|
print (S("[MOD] Ethereal loaded"))
|