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
c378e96a
Commit
c378e96a
authored
9 years ago
by
TenPlus1
Browse files
Options
Downloads
Patches
Plain Diff
cave generation cuts through soil by default (can be disabled in init.lua)
parent
87031b60
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dirt.lua
+7
-7
7 additions, 7 deletions
dirt.lua
init.lua
+1
-0
1 addition, 0 deletions
init.lua
with
8 additions
and
7 deletions
dirt.lua
+
7
−
7
View file @
c378e96a
-- override default dirt (to stop caves cutting away dirt)
minetest
.
override_item
(
"default:dirt"
,
{
is_ground_content
=
false
})
minetest
.
override_item
(
"default:dirt"
,
{
is_ground_content
=
ethereal
.
cavedirt
})
-- green dirt
minetest
.
register_node
(
"ethereal:green_dirt"
,
{
...
...
@@ -9,7 +9,7 @@ minetest.register_node("ethereal:green_dirt", {
"default_dirt.png"
,
"default_dirt.png^default_grass_side.png"
},
is_ground_content
=
false
,
is_ground_content
=
ethereal
.
cavedirt
,
groups
=
{
crumbly
=
3
,
soil
=
1
,
ethereal_grass
=
1
},
soil
=
{
base
=
"ethereal:green_dirt"
,
...
...
@@ -24,7 +24,7 @@ minetest.register_node("ethereal:green_dirt", {
minetest
.
register_node
(
"ethereal:dry_dirt"
,
{
description
=
"Dried Dirt"
,
tiles
=
{
"ethereal_dry_dirt.png"
},
is_ground_content
=
false
,
is_ground_content
=
ethereal
.
cavedirt
,
groups
=
{
crumbly
=
3
},
sounds
=
default
.
node_sound_dirt_defaults
()
})
...
...
@@ -53,7 +53,7 @@ for n = 1, #dirts do
"default_dirt.png"
,
"default_dirt.png^ethereal_grass_"
..
name
..
"_side.png"
},
is_ground_content
=
false
,
is_ground_content
=
ethereal
.
cavedirt
,
groups
=
{
crumbly
=
3
,
soil
=
1
,
ethereal_grass
=
1
},
soil
=
{
base
=
"ethereal:"
..
name
..
"_dirt"
,
...
...
@@ -143,7 +143,7 @@ if not minetest.get_modpath("bakedclay") then
description
=
"Red Baked Clay"
,
tiles
=
{
"baked_clay_red.png"
},
groups
=
{
cracky
=
3
},
is_ground_content
=
false
,
is_ground_content
=
ethereal
.
cavedirt
,
sounds
=
default
.
node_sound_stone_defaults
(),
})
...
...
@@ -151,7 +151,7 @@ if not minetest.get_modpath("bakedclay") then
description
=
"Orange Baked Clay"
,
tiles
=
{
"baked_clay_orange.png"
},
groups
=
{
cracky
=
3
},
is_ground_content
=
false
,
is_ground_content
=
ethereal
.
cavedirt
,
sounds
=
default
.
node_sound_stone_defaults
(),
})
...
...
@@ -159,7 +159,7 @@ if not minetest.get_modpath("bakedclay") then
description
=
"Grey Baked Clay"
,
tiles
=
{
"baked_clay_grey.png"
},
groups
=
{
cracky
=
3
},
is_ground_content
=
false
,
is_ground_content
=
ethereal
.
cavedirt
,
sounds
=
default
.
node_sound_stone_defaults
(),
})
...
...
This diff is collapsed.
Click to expand it.
init.lua
+
1
−
0
View file @
c378e96a
...
...
@@ -11,6 +11,7 @@
ethereal
=
{}
ethereal
.
leaftype
=
1
-- 0 for 2D plantlike, 1 for 3D allfaces
ethereal
.
leafwalk
=
true
-- true for walkable leaves, false to fall through
ethereal
.
cavedirt
=
true
-- caves chop through dirt when true
-- Set following to 1 to enable biome or 0 to disable
ethereal
.
glacier
=
1
-- Ice glaciers with snow
...
...
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