Added: monster sounds, chicken sound, bee sound

master
tenplus1 2014-12-24 10:44:47 +00:00
parent b59dd435d8
commit aa237887ee
25 changed files with 38 additions and 2 deletions

View File

@ -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 :)

View File

@ -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")

View File

@ -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",

View File

@ -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",

View File

@ -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,

View File

@ -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",

View File

@ -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,

View File

@ -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",

View File

@ -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

View File

@ -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",

BIN
sounds/mobs_bee.ogg Normal file

Binary file not shown.

BIN
sounds/mobs_chicken.ogg Normal file

Binary file not shown.

BIN
sounds/mobs_dirtmonster.ogg Normal file

Binary file not shown.

Binary file not shown.

BIN
sounds/mobs_lavaflan.ogg Normal file

Binary file not shown.

BIN
sounds/mobs_mesemonster.ogg Normal file

Binary file not shown.

BIN
sounds/mobs_oerkki.ogg Normal file

Binary file not shown.

BIN
sounds/mobs_rat.ogg Normal file

Binary file not shown.

BIN
sounds/mobs_sandmonster.ogg Normal file

Binary file not shown.

BIN
sounds/mobs_spider.ogg Normal file

Binary file not shown.

Binary file not shown.

BIN
sounds/mobs_treemonster.ogg Normal file

Binary file not shown.

View File

@ -49,6 +49,9 @@ mobs:register_mob("mobs:spider", {
punch_start = 50,
punch_end = 90,
},
sounds = {
random = "mobs_spider",
},
jump = true,
sounds = {},
step = 1,

View File

@ -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",

View File

@ -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",