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
5bb6fb9f
Commit
5bb6fb9f
authored
Dec 14, 2016
by
Tai Kedzierski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust indent
parent
3f4695ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
arrows/fire_explosive.lua
arrows/fire_explosive.lua
+24
-24
No files found.
arrows/fire_explosive.lua
View file @
5bb6fb9f
mobs
:
register_arrow
(
"dmobs:fire"
,
{
visual
=
"sprite"
,
visual_size
=
{
x
=
0
.
5
,
y
=
0
.
5
},
textures
=
{
"dmobs_fire.png"
},
velocity
=
8
,
tail
=
1
,
-- enable tail
tail_texture
=
"fire_basic_flame.png"
,
mobs
:
register_arrow
(
"dmobs:fire"
,
{
visual
=
"sprite"
,
visual_size
=
{
x
=
0
.
5
,
y
=
0
.
5
},
textures
=
{
"dmobs_fire.png"
},
velocity
=
8
,
tail
=
1
,
-- enable tail
tail_texture
=
"fire_basic_flame.png"
,
hit_player
=
function
(
self
,
player
)
player
:
punch
(
self
.
object
,
1
.
0
,
{
full_punch_interval
=
1
.
0
,
damage_groups
=
{
fleshy
=
8
},
},
nil
)
end
,
hit_mob
=
function
(
self
,
player
)
player
:
punch
(
self
.
object
,
1
.
0
,
{
full_punch_interval
=
1
.
0
,
damage_groups
=
{
fleshy
=
8
},
},
nil
)
end
,
hit_player
=
function
(
self
,
player
)
player
:
punch
(
self
.
object
,
1
.
0
,
{
full_punch_interval
=
1
.
0
,
damage_groups
=
{
fleshy
=
8
},
},
nil
)
end
,
hit_mob
=
function
(
self
,
player
)
player
:
punch
(
self
.
object
,
1
.
0
,
{
full_punch_interval
=
1
.
0
,
damage_groups
=
{
fleshy
=
8
},
},
nil
)
end
,
hit_node
=
function
(
self
,
pos
,
node
)
mobs
:
explosion
(
pos
,
2
,
1
,
1
)
end
,
})
hit_node
=
function
(
self
,
pos
,
node
)
mobs
:
explosion
(
pos
,
2
,
1
,
1
)
end
,
})
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