Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
caverealms
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
caverealms
Commits
bf647b69
Commit
bf647b69
authored
10 years ago
by
Craig Robbins
Browse files
Options
Downloads
Patches
Plain Diff
Only load falling_ice.lua if configured to do so
parent
21873881
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.lua
+5
-1
5 additions, 1 deletion
init.lua
with
5 additions
and
1 deletion
init.lua
+
5
−
1
View file @
bf647b69
...
...
@@ -13,10 +13,14 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
--load companion lua files
dofile
(
modpath
..
"/config.lua"
)
--configuration file; holds various constants
dofile
(
modpath
..
"/crafting.lua"
)
--crafting recipes
dofile
(
modpath
..
"/falling_ice.lua"
)
--complicated function for falling icicles
dofile
(
modpath
..
"/nodes.lua"
)
--node definitions
dofile
(
modpath
..
"/functions.lua"
)
--function definitions
if
caverealms
.
config
.
falling_icicles
==
true
then
dofile
(
modpath
..
"/falling_ice.lua"
)
--complicated function for falling icicles
print
(
"[caverealms] falling icicles enabled."
)
end
-- Parameters
local
YMIN
=
caverealms
.
config
.
ymin
-- Approximate realm limits.
...
...
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