Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dmobs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
dmobs
Commits
ac024f00
Commit
ac024f00
authored
8 years ago
by
D00Med
Browse files
Options
Downloads
Patches
Plain Diff
taikedz changes to dmobs.regulars setting
parent
488d133c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.lua
+7
-2
7 additions, 2 deletions
init.lua
with
7 additions
and
2 deletions
init.lua
+
7
−
2
View file @
ac024f00
...
...
@@ -8,10 +8,14 @@ dofile(minetest.get_modpath("dmobs").."/api.lua")
-- Enable dragons (disable to remove tamed dragons and dragon bosses)
dmobs
.
dragons
=
minetest
.
setting_getbool
(
"dmobs.dragons"
)
if
not
dmobs
.
dragons
=
nil
then
if
dmobs
.
dragons
=
nil
then
dmobs
.
dragons
=
true
end
dmobs
.
regulars
=
minetest
.
setting_getbool
(
"dmobs.regulars"
)
or
true
dmobs
.
regulars
=
minetest
.
setting_getbool
(
"dmobs.regulars"
)
if
dmobs
.
regulars
=
nil
then
dmobs
.
regulars
=
true
end
-- Enable fireballs/explosions
dmobs
.
destructive
=
minetest
.
setting_getbool
(
"dmobs.destructive"
)
or
false
...
...
@@ -59,6 +63,7 @@ local mobslist = {
"whale"
,
"badger"
,
"butterfly"
,
"elephant"
,
-- baddies
"pig_evil"
,
...
...
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