Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dmobs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Illuna-Minetest
dmobs
Commits
ac024f00
Commit
ac024f00
authored
Jan 17, 2017
by
D00Med
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taikedz changes to dmobs.regulars setting
parent
488d133c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
init.lua
init.lua
+7
-2
No files found.
init.lua
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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment