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
5bb6fb9f
Commit
5bb6fb9f
authored
8 years ago
by
Tai Kedzierski
Browse files
Options
Downloads
Patches
Plain Diff
adjust indent
parent
3f4695ee
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
arrows/fire_explosive.lua
+24
-24
24 additions, 24 deletions
arrows/fire_explosive.lua
with
24 additions
and
24 deletions
arrows/fire_explosive.lua
+
24
−
24
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
,
})
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