Added: monster sounds, chicken sound, bee sound
parent
b59dd435d8
commit
aa237887ee
|
@ -25,7 +25,8 @@ This mod contains the following additions:
|
|||
|
||||
Changelog:
|
||||
|
||||
0.7 - mob.protected switch added to api.lua, when set to 1 mobs no longer spawn in protected areas, also bug fixes
|
||||
0.8 - Added sounds to monster mobs (thanks Cyberpangolin for the sfx) and also chicken sound
|
||||
0.7 - mobs.protected switch added to api.lua, when set to 1 mobs no longer spawn in protected areas, also bug fixes
|
||||
0.6 - Api now supports multi-textured mobs, e.g oerkki, dungeon master, rats and chickens have random skins when spawning (sheep fix TODO), also new Honey block
|
||||
0.5 - Mobs now float in water, die from falling, and some code improvements
|
||||
0.4 - Dungeon Masters and Mese Monsters have much better aim due to shoot_offset, also they can both shoot through nodes that aren't walkable (flowers, grass etc) plus new sheep sound :)
|
||||
|
|
4
bee.lua
4
bee.lua
|
@ -34,7 +34,9 @@ mobs:register_mob("mobs:bee", {
|
|||
walk_start = 35,
|
||||
walk_end = 65,
|
||||
},
|
||||
|
||||
sounds = {
|
||||
random = "mobs_bee",
|
||||
},
|
||||
on_rightclick = function(self, clicker)
|
||||
if clicker:is_player() and clicker:get_inventory() then
|
||||
clicker:get_inventory():add_item("main", "mobs:bee")
|
||||
|
|
|
@ -47,6 +47,9 @@ mobs:register_mob("mobs:chicken", {
|
|||
self.object:remove()
|
||||
end
|
||||
end,
|
||||
sounds = {
|
||||
random = "mobs_chicken",
|
||||
},
|
||||
jump = true,
|
||||
step = 1,
|
||||
blood_texture = "mobs_blood.png",
|
||||
|
|
|
@ -43,6 +43,9 @@ mobs:register_mob("mobs:dirt_monster", {
|
|||
punch_start = 40,
|
||||
punch_end = 63,
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_dirtmonster",
|
||||
},
|
||||
jump = true,
|
||||
step = 0.5,
|
||||
blood_texture = "default_dirt.png",
|
||||
|
|
|
@ -61,6 +61,9 @@ mobs:register_mob("mobs:dungeon_master", {
|
|||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_dungeonmaster",
|
||||
},
|
||||
jump = true,
|
||||
step = 0.5,
|
||||
shoot_offset = 0,
|
||||
|
|
|
@ -53,6 +53,9 @@ mobs:register_mob("mobs:lava_flan", {
|
|||
punch_start = 20,
|
||||
punch_end = 28,
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_lavaflan",
|
||||
},
|
||||
jump = true,
|
||||
step = 0.5,
|
||||
blood_texture = "fire_basic_flame.png",
|
||||
|
|
|
@ -61,6 +61,9 @@ mobs:register_mob("mobs:mese_monster", {
|
|||
punch_start = 15, -- 40
|
||||
punch_end = 38, -- 63
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_mesemonster",
|
||||
},
|
||||
jump = true,
|
||||
step = 0.5,
|
||||
shoot_offset = 2,
|
||||
|
|
|
@ -45,6 +45,9 @@ mobs:register_mob("mobs:oerkki", {
|
|||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_oerkki",
|
||||
},
|
||||
jump = true,
|
||||
step = 0.5,
|
||||
blood_texture = "mobs_blood.png",
|
||||
|
|
3
rat.lua
3
rat.lua
|
@ -25,6 +25,9 @@ mobs:register_mob("mobs:rat", {
|
|||
jump = true,
|
||||
step = 1,
|
||||
passive = true,
|
||||
sounds = {
|
||||
random = "mobs_rat",
|
||||
},
|
||||
|
||||
on_rightclick = function(self, clicker)
|
||||
if clicker:is_player() and clicker:get_inventory() then
|
||||
|
|
|
@ -44,6 +44,9 @@ mobs:register_mob("mobs:sand_monster", {
|
|||
punch_start = 74,
|
||||
punch_end = 105,
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_sandmonster",
|
||||
},
|
||||
jump = true,
|
||||
step = 0.5,
|
||||
blood_texture = "mobs_blood.png",
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -49,6 +49,9 @@ mobs:register_mob("mobs:spider", {
|
|||
punch_start = 50,
|
||||
punch_end = 90,
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_spider",
|
||||
},
|
||||
jump = true,
|
||||
sounds = {},
|
||||
step = 1,
|
||||
|
|
|
@ -52,6 +52,9 @@ mobs:register_mob("mobs:stone_monster", {
|
|||
punch_start = 40,
|
||||
punch_end = 63,
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_stonemonster",
|
||||
},
|
||||
jump = true,
|
||||
step = 0.5,
|
||||
blood_texture = "mobs_blood.png",
|
||||
|
|
|
@ -54,6 +54,9 @@ mobs:register_mob("mobs:tree_monster", {
|
|||
punch_start = 48,
|
||||
punch_end = 62,
|
||||
},
|
||||
sounds = {
|
||||
random = "mobs_treemonster",
|
||||
},
|
||||
step = 0.5,
|
||||
jump = true,
|
||||
blood_texture = "default_wood.png",
|
||||
|
|
Loading…
Reference in New Issue