Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ethereal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
ethereal
Commits
68d69fb9
Commit
68d69fb9
authored
8 years ago
by
TenPlus1
Browse files
Options
Downloads
Patches
Plain Diff
Added settings.conf example for permanent settings
parent
de078f3c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
init.lua
+12
-2
12 additions, 2 deletions
init.lua
mapgen.lua
+1
-1
1 addition, 1 deletion
mapgen.lua
sealife.lua
+2
-0
2 additions, 0 deletions
sealife.lua
settings.conf_example
+41
-0
41 additions, 0 deletions
settings.conf_example
with
57 additions
and
3 deletions
README.md
+
1
−
0
View file @
68d69fb9
...
...
@@ -16,6 +16,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
-
Replaced ethereal:green_dirt with default:dirt_with_grass for mortrees compatibility
-
Mesa biomes are now topped with dirt with dry grass (redwood saplings grow on dry grass)
-
Added bonemeal support for moretree's saplings
-
Added settings.conf file example so that settings remain after mod update
### 1.21
...
...
This diff is collapsed.
Click to expand it.
init.lua
+
12
−
2
View file @
68d69fb9
...
...
@@ -43,6 +43,18 @@ ethereal.savannah = 1 -- Dry yellow grass with acacia tree's
ethereal
.
fiery
=
1
-- Red grass with lava craters
ethereal
.
sandclay
=
1
-- Sand areas with clay underneath
ethereal
.
swamp
=
1
-- Swamp areas with vines on tree's, mushrooms, lilly's and clay sand
ethereal
.
sealife
=
1
-- Enable coral and seaweed
ethereal
.
reefs
=
1
-- Enable new coral reefs in default
local
path
=
minetest
.
get_modpath
(
"ethereal"
)
-- Load new settings if found
local
input
=
io.open
(
path
..
"/settings.conf"
,
"r"
)
if
input
then
dofile
(
path
..
"/settings.conf"
)
input
:
close
()
input
=
nil
end
-- Intllib
local
S
...
...
@@ -56,8 +68,6 @@ ethereal.intllib = S
-- Falling node function
ethereal
.
check_falling
=
minetest
.
check_for_falling
or
nodeupdate
local
path
=
minetest
.
get_modpath
(
"ethereal"
)
dofile
(
path
..
"/plantlife.lua"
)
dofile
(
path
..
"/mushroom.lua"
)
dofile
(
path
..
"/onion.lua"
)
...
...
This diff is collapsed.
Click to expand it.
mapgen.lua
+
1
−
1
View file @
68d69fb9
...
...
@@ -586,7 +586,7 @@ minetest.register_on_generated(function(minp, maxp)
end
)
-- coral reef (0.4.15 only)
if
minetest
.
registered_nodes
[
"default:coral_orange"
]
then
if
ethereal
.
reefs
==
1
and
minetest
.
registered_nodes
[
"default:coral_orange"
]
then
-- override corals so crystal shovel can pick them up intact
minetest
.
override_item
(
"default:coral_skeleton"
,
{
groups
=
{
crumbly
=
3
}})
...
...
This diff is collapsed.
Click to expand it.
sealife.lua
+
2
−
0
View file @
68d69fb9
...
...
@@ -136,6 +136,7 @@ minetest.register_node("ethereal:sandy", {
})
-- randomly generate coral or seaweed and have seaweed grow up to 14 high
if
ethereal
.
sealife
==
1
then
minetest
.
register_abm
({
label
=
"Grow coral/seaweed"
,
nodenames
=
{
"ethereal:sandy"
},
...
...
@@ -185,3 +186,4 @@ minetest.register_abm({
end
,
})
end
This diff is collapsed.
Click to expand it.
settings.conf_example
0 → 100644
+
41
−
0
View file @
68d69fb9
--[[
Ethereal Settings can be changed here and kept even after the mod
has been updated
--]]
ethereal.leaftype = 0 -- 0 for 2D plantlike, 1 for 3D allfaces
ethereal.leafwalk = false -- true for walkable leaves, false to fall through
ethereal.cavedirt = true -- caves chop through dirt when true
ethereal.torchdrop = true -- torches drop when touching water
ethereal.papyruswalk = true -- papyrus can be walked on
ethereal.lilywalk = true -- waterlilies can be walked on
ethereal.xcraft = true -- allow cheat crafts for cobble->gravel->dirt->sand, ice->snow, dry dirt->desert sand
-- Set following to 1 to enable biome or 0 to disable
ethereal.glacier = 1 -- Ice glaciers with snow
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
ethereal.savannah = 1 -- Dry yellow grass with acacia tree's
ethereal.fiery = 1 -- Red grass with lava craters
ethereal.sandclay = 1 -- Sand areas with clay underneath
ethereal.swamp = 1 -- Swamp areas with vines on tree's, mushrooms, lilly's and clay sand
ethereal.sealife = 1 -- Enable coral and seaweed
ethereal.reefs = 1 -- Enable new coral reefs in default
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment