Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xdecor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
xdecor
Commits
01c70cd8
Commit
01c70cd8
authored
7 years ago
by
Milan
Browse files
Options
Downloads
Patches
Plain Diff
only register packed ice when ethereal is not detected
parent
79ee8d2d
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
depends.txt
+1
-0
1 addition, 0 deletions
depends.txt
src/nodes.lua
+9
-2
9 additions, 2 deletions
src/nodes.lua
with
10 additions
and
2 deletions
depends.txt
+
1
−
0
View file @
01c70cd8
...
...
@@ -6,6 +6,7 @@ homedecor
doors
stairs
xpanes
ethereal?
3d_armor?
fire?
oresplus?
This diff is collapsed.
Click to expand it.
src/nodes.lua
+
9
−
2
View file @
01c70cd8
...
...
@@ -413,11 +413,18 @@ register_hard_node("desertstone_tile", "Desert Stone Tile")
register_hard_node
(
"hard_clay"
,
"Hardened Clay"
)
register_hard_node
(
"moonbrick"
,
"Moon Brick"
)
register_hard_node
(
"stone_tile"
,
"Stone Tile"
)
register_hard_node
(
"stone_rune"
,
"Runestone"
)
register_hard_node
(
"packed_ice"
,
"Packed Ice"
,
{
register_hard_node
(
"stone_rune"
,
"Runestone"
,
{
groups
=
{
cracky
=
1
,
puts_out_fire
=
1
},
sounds
=
default
.
node_sound_glass_defaults
()
})
if
not
minetest
.
get_modpath
(
"ethereal"
)
then
register_hard_node
(
"packed_ice"
,
"Packed Ice"
,
{
groups
=
{
cracky
=
1
,
puts_out_fire
=
1
},
sounds
=
default
.
node_sound_glass_defaults
()
})
elseif
minetest
.
get_modpath
(
"ethereal"
)
then
minetest
.
register_alias
(
"xdecor:packed_ice"
,
"ethereal:icebrick"
)
end
register_hard_node
(
"wood_tile"
,
"Wooden Tile"
,
{
groups
=
{
choppy
=
1
,
wood
=
1
,
flammable
=
2
},
sounds
=
default
.
node_sound_wood_defaults
()
...
...
This diff is collapsed.
Click to expand it.
Milan
@milan
mentioned in commit
b345d958
·
7 years ago
mentioned in commit
b345d958
mentioned in commit b345d9587554ad60b10f664c3d5f6352c13fa7b8
Toggle commit list
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