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
0f528b12
Commit
0f528b12
authored
Aug 23, 2016
by
D00Med
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flying pigs
parent
9146dcc8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
4 deletions
+67
-4
init.lua
init.lua
+66
-4
license.txt
license.txt
+1
-0
models/flying_pig.b3d
models/flying_pig.b3d
+0
-0
sounds/mobs_pig.ogg
sounds/mobs_pig.ogg
+0
-0
textures/dmobs_flying_pig.png
textures/dmobs_flying_pig.png
+0
-0
No files found.
init.lua
View file @
0f528b12
...
...
@@ -68,12 +68,74 @@ mobs:register_spawn("dmobs:panda", {"default:dirt_with_grass","ethereal:bamboo_d
mobs
:
register_egg
(
"dmobs:panda"
,
"Panda"
,
"default_papyrus.png"
,
1
)
mobs
:
register_mob
(
"dmobs:pig"
,
{
type
=
"animal"
,
passive
=
false
,
reach
=
1
,
damage
=
2
,
attack_type
=
"dogfight"
,
hp_min
=
12
,
hp_max
=
22
,
armor
=
130
,
collisionbox
=
{
-
0
.
4
,
0
,
-
0
.
4
,
0
.
4
,
1
,
0
.
4
},
visual
=
"mesh"
,
mesh
=
"flying_pig.b3d"
,
textures
=
{
{
"dmobs_flying_pig.png"
},
},
jump
=
true
,
fly
=
true
,
fall_speed
=
0
,
stepheight
=
10
,
blood_texture
=
"mobs_blood.png"
,
visual_size
=
{
x
=
1
,
y
=
1
},
makes_footstep_sound
=
true
,
runaway
=
true
,
walk_velocity
=
3
,
run_velocity
=
6
,
run_chance
=
20
,
jump
=
true
,
drops
=
{
{
name
=
"mobs:meat_raw"
,
chance
=
1
,
min
=
1
,
max
=
1
},
},
sounds
=
{
random
=
"mobs_pig"
,
distance
=
23
,
},
water_damage
=
0
,
lava_damage
=
2
,
light_damage
=
0
,
follow
=
{
"default:apple"
},
view_range
=
14
,
animation
=
{
speed_normal
=
10
,
speed_run
=
15
,
walk_start
=
1
,
walk_end
=
20
,
stand_start
=
1
,
stand_end
=
20
,
run_start
=
22
,
run_end
=
28
,
},
on_rightclick
=
function
(
self
,
clicker
)
if
mobs
:
feed_tame
(
self
,
clicker
,
8
,
true
,
true
)
then
return
end
mobs
:
capture_mob
(
self
,
clicker
,
0
,
5
,
50
,
false
,
nil
)
end
,
})
mobs
:
register_spawn
(
"dmobs:pig"
,
{
"default:pine_needles"
,
"default:leaves"
},
20
,
10
,
15000
,
2
,
31000
)
mobs
:
register_egg
(
"dmobs:pig"
,
"flying Pig"
,
"wool_pink.png"
,
1
)
mobs
:
register_mob
(
"dmobs:gnorm"
,
{
type
=
"npc"
,
attacks_monsters
=
false
,
can_dig
=
true
,
passive
=
false
,
group_attack
=
true
,
passive
=
true
,
reach
=
1
,
damage
=
1
,
attack_type
=
"dogfight"
,
...
...
@@ -504,7 +566,7 @@ mobs:register_egg("dmobs:orc", "Orc", "default_desert_sand.png", 1)
mobs
:
register_mob
(
"dmobs:ogre"
,
{
type
=
"monster"
,
passive
=
false
,
reach
=
1
,
reach
=
2
,
damage
=
4
,
attack_type
=
"dogfight"
,
hp_min
=
22
,
...
...
license.txt
View file @
0f528b12
...
...
@@ -27,6 +27,7 @@ CC BY-SA 3.0 UNPORTED. Created by D00Med
Roar.ogg - CC BY 3.0 Mike Koenig - http://soundbible.com/1165-Dinosaur-Roar.html
Velociraptor.ogg - CC BY 3.0 snottyboi - http://soundbible.com/1373-Velociraptor-Call.html
whale_1.ogg - CC0 Public Domain - https://en.wikipedia.org/wiki/File:Humpbackwhale2.ogg
mobs_pig.ogg - from mobs_animal by TenPlus1 (MIT)
--License of lib_mount:
-- Minetest mod: lib_mount
...
...
models/flying_pig.b3d
0 → 100644
View file @
0f528b12
File added
sounds/mobs_pig.ogg
0 → 100644
View file @
0f528b12
File added
textures/dmobs_flying_pig.png
0 → 100644
View file @
0f528b12
11.2 KB
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