forked from Mineclonia/Mineclonia
Add ghast shoot/death sound, add many sound TODOs
This commit is contained in:
parent
7d66d5f2d3
commit
900625b17b
|
@ -19,6 +19,7 @@ mobs:register_mob("mobs_mc:agent", {
|
|||
textures = {
|
||||
{"mobs_mc_agent.png"},
|
||||
},
|
||||
-- TODO: sounds
|
||||
visual_size = {x=3, y=3},
|
||||
walk_velocity = 0.6,
|
||||
run_velocity = 2,
|
||||
|
|
|
@ -19,6 +19,7 @@ mobs:register_mob("mobs_mc:bat", {
|
|||
visual_size = {x=1, y=1},
|
||||
sounds = {
|
||||
random = "mobs_rat", -- TODO: This sound is supposed to be very high-pitched and scary
|
||||
-- TODO: more sounds?
|
||||
distance = 16,
|
||||
},
|
||||
walk_velocity = 4.5,
|
||||
|
|
|
@ -47,8 +47,7 @@ mobs:register_mob("mobs_mc:chicken", {
|
|||
fall_speed = -2.25,
|
||||
sounds = {
|
||||
random = "mobs_chicken",
|
||||
death = "Chickenhurt1", -- TODO: replace
|
||||
damage = "Chickenhurt1", -- TODO: replace
|
||||
-- TODO: death, damage
|
||||
distance = 16,
|
||||
},
|
||||
animation = {
|
||||
|
|
|
@ -34,8 +34,7 @@ local cow_def = {
|
|||
runaway = true,
|
||||
sounds = {
|
||||
random = "mobs_mc_cow",
|
||||
death = "Cowhurt1", -- TODO: Replace
|
||||
damage = "Cowhurt1", -- TODO: Replace
|
||||
-- TODO: death, damage
|
||||
distance = 16,
|
||||
},
|
||||
animation = {
|
||||
|
|
|
@ -54,6 +54,7 @@ mobs:register_mob("mobs_mc:enderdragon", {
|
|||
walk_velocity = 6,
|
||||
run_velocity = 6,
|
||||
sounds = {
|
||||
-- TODO: more sounds
|
||||
shoot_attack = "mobs_mc_ender_dragon_shoot",
|
||||
attack = "mobs_mc_ender_dragon_attack",
|
||||
distance = 60,
|
||||
|
|
|
@ -180,7 +180,7 @@ mobs:register_mob("mobs_mc:enderman", {
|
|||
sounds = {
|
||||
war_cry = "mobs_sandmonster",
|
||||
death = "green_slime_death",
|
||||
damage = "Creeperdeath",
|
||||
-- TODO: damage, random
|
||||
distance = 16,
|
||||
},
|
||||
walk_velocity = 0.2,
|
||||
|
|
|
@ -23,6 +23,8 @@ mobs:register_mob("mobs_mc:endermite", {
|
|||
makes_footstep_sound = false,
|
||||
sounds = {
|
||||
random = "mobs_rat",
|
||||
distance = 16,
|
||||
-- TODO: more sounds
|
||||
},
|
||||
walk_velocity = 1,
|
||||
run_velocity = 2,
|
||||
|
|
|
@ -28,11 +28,13 @@ mobs:register_mob("mobs_mc:ghast", {
|
|||
},
|
||||
visual_size = {x=12, y=12},
|
||||
sounds = {
|
||||
shoot = "mobs_fireball",
|
||||
death = "zombiedeath",
|
||||
damage = "ghast_damage",
|
||||
shoot_attack = "mobs_fireball",
|
||||
death = "mobs_mc_zombie_death",
|
||||
attack = "mobs_fireball",
|
||||
random = "mobs_eerie",
|
||||
distance = 16,
|
||||
-- TODO: damage
|
||||
-- TODO: better death
|
||||
},
|
||||
walk_velocity = 1.6,
|
||||
run_velocity = 3.2,
|
||||
|
|
|
@ -29,6 +29,7 @@ mobs:register_mob("mobs_mc:guardian", {
|
|||
visual_size = {x=3, y=3},
|
||||
sounds = {
|
||||
damage = "mobs_mc_squid_hurt",
|
||||
-- TODO: more and better sounds
|
||||
distance = 16,
|
||||
},
|
||||
animation = {
|
||||
|
|
|
@ -29,6 +29,7 @@ mobs:register_mob("mobs_mc:guardian_elder", {
|
|||
visual_size = {x=7, y=7},
|
||||
sounds = {
|
||||
damage = "mobs_mc_squid_hurt",
|
||||
-- TODO: more and better sounds
|
||||
distance = 16,
|
||||
},
|
||||
animation = {
|
||||
|
|
|
@ -102,6 +102,7 @@ local horse = {
|
|||
run_end = 40,
|
||||
},
|
||||
textures = horse_textures,
|
||||
-- TODO: sounds
|
||||
fear_height = 4,
|
||||
fly = false,
|
||||
walk_chance = 60,
|
||||
|
|
|
@ -27,10 +27,7 @@ mobs:register_mob("mobs_mc:iron_golem", {
|
|||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = true,
|
||||
sounds = {
|
||||
-- TODO
|
||||
distance = 16,
|
||||
},
|
||||
-- TODO: sounds
|
||||
view_range = 16,
|
||||
stepheight = 1.1,
|
||||
owner = "",
|
||||
|
|
|
@ -51,6 +51,7 @@ local ocelot = {
|
|||
fear_height = 4,
|
||||
sounds = {
|
||||
random = "mobs_kitten",
|
||||
-- TODO: more sounds
|
||||
distance = 16,
|
||||
},
|
||||
animation = {
|
||||
|
|
|
@ -29,6 +29,7 @@ mobs:register_mob("mobs_mc:parrot", {
|
|||
makes_footstep_sound = true,
|
||||
walk_velocity = 3,
|
||||
run_velocity = 5,
|
||||
-- TODO: sounds
|
||||
drops = {
|
||||
{name = mobs_mc.items.feather,
|
||||
chance = 1,
|
||||
|
|
|
@ -50,10 +50,7 @@ mobs:register_mob("mobs_mc:polar_bear", {
|
|||
lava_damage = 5,
|
||||
light_damage = 0,
|
||||
fear_height = 4,
|
||||
sounds = {
|
||||
random = "Cowhurt1", -- TODO: Replace
|
||||
distance = 16,
|
||||
},
|
||||
-- TODO: sounds
|
||||
animation = {
|
||||
speed_normal = 25, speed_run = 50,
|
||||
stand_start = 0, stand_end = 0,
|
||||
|
|
|
@ -24,7 +24,7 @@ local rabbit = {
|
|||
{"mobs_mc_rabbit_black.png"},
|
||||
},
|
||||
visual_size = {x=1.5, y=1.5},
|
||||
sounds = {},
|
||||
-- TODO: sounds: random, damage, death
|
||||
makes_footstep_sound = false,
|
||||
walk_velocity = 1,
|
||||
run_velocity = 3.7,
|
||||
|
|
|
@ -29,6 +29,7 @@ mobs:register_mob("mobs_mc:shulker", {
|
|||
visual = "mesh",
|
||||
mesh = "mobs_mc_shulker.b3d",
|
||||
textures = { "mobs_mc_endergolem.png", },
|
||||
-- TODO: sounds
|
||||
-- TODO: Make shulker dye-able
|
||||
visual_size = {x=3, y=3},
|
||||
walk_chance = 0,
|
||||
|
|
|
@ -21,7 +21,7 @@ mobs:register_mob("mobs_mc:silverfish", {
|
|||
},
|
||||
pathfinding = 1,
|
||||
visual_size = {x=3, y=3},
|
||||
sounds = {},
|
||||
-- TODO: sounds
|
||||
makes_footstep_sound = false,
|
||||
walk_velocity = 0.6,
|
||||
run_velocity = 2,
|
||||
|
|
|
@ -34,6 +34,7 @@ mobs:register_mob("mobs_mc:snowman", {
|
|||
collisionbox = {-0.35, -0.01, -0.35, 0.35, 1.89, 0.35},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_snowman.b3d",
|
||||
-- TODO: sounds: damage, death
|
||||
textures = {
|
||||
"mobs_mc_snowman.png", --snowman texture
|
||||
"farming_pumpkin_side.png", --top
|
||||
|
|
|
@ -37,6 +37,7 @@ local spider = {
|
|||
sounds = {
|
||||
random = "mobs_spider",
|
||||
attack = "mobs_spider",
|
||||
-- TODO: sounds: walk, death
|
||||
distance = 16,
|
||||
},
|
||||
walk_velocity = 3.9,
|
||||
|
|
|
@ -24,6 +24,8 @@ mobs:register_mob("mobs_mc:squid", {
|
|||
},
|
||||
sounds = {
|
||||
damage = "mobs_mc_squid_hurt",
|
||||
death = "mobs_mc_squid_hurt",
|
||||
-- TODO: sounds: random, damage, death
|
||||
distance = 16,
|
||||
},
|
||||
animation = {
|
||||
|
@ -56,6 +58,8 @@ mobs:register_mob("mobs_mc:squid", {
|
|||
blood_texture = "mobs_mc_squid_blood.png",
|
||||
})
|
||||
|
||||
-- TODO: Behaviour: squirt
|
||||
|
||||
-- Spawn near the water surface
|
||||
|
||||
local water = mobs_mc.spawn_height.water
|
||||
|
|
|
@ -38,6 +38,7 @@ mobs:register_mob("mobs_mc:vex", {
|
|||
sounds = {
|
||||
random = "mobs_rat",
|
||||
death = "green_slime_death",
|
||||
-- TODO: Sounds: random (better), death (better), damage
|
||||
distance = 16,
|
||||
},
|
||||
animation = {
|
||||
|
@ -53,6 +54,7 @@ mobs:register_mob("mobs_mc:vex", {
|
|||
},
|
||||
do_custom = function(self, dtime)
|
||||
-- Glow red while attacking
|
||||
-- TODO: Charge sound
|
||||
if self.state == "attack" then
|
||||
if self.base_texture[2] ~= "mobs_mc_vex_charging.png" then
|
||||
self.base_texture[2] = "mobs_mc_vex_charging.png"
|
||||
|
|
|
@ -929,12 +929,7 @@ mobs:register_mob("mobs_mc:villager", {
|
|||
walk_velocity = 1.2,
|
||||
run_velocity = 2.4,
|
||||
drops = {},
|
||||
sounds = {
|
||||
random = "mobs_mc_villager_noise",
|
||||
death = "mobs_mc_villager_death",
|
||||
damage = "mobs_mc_villager_damage",
|
||||
distance = 16,
|
||||
},
|
||||
-- TODO: sounds
|
||||
animation = {
|
||||
stand_speed = 25,
|
||||
stand_start = 40,
|
||||
|
|
|
@ -61,13 +61,7 @@ mobs:register_mob("mobs_mc:evoker", {
|
|||
min = 1,
|
||||
max = 1,},
|
||||
},
|
||||
sounds = {
|
||||
random = "Villagerdead",
|
||||
death = "Villagerdead",
|
||||
damage = "mese_dragon",
|
||||
attack = "zombiedeath",
|
||||
distance = 16,
|
||||
},
|
||||
-- TODO: sounds
|
||||
animation = {
|
||||
stand_speed = 25,
|
||||
stand_start = 40,
|
||||
|
|
|
@ -47,11 +47,7 @@ mobs:register_mob("mobs_mc:vindicator", {
|
|||
min = 1,
|
||||
max = 1,},
|
||||
},
|
||||
sounds = {
|
||||
random = "Villager1",
|
||||
death = "Villagerdead",
|
||||
damage = "Villagerhurt1",
|
||||
},
|
||||
-- TODO: sounds
|
||||
animation = {
|
||||
stand_speed = 25,
|
||||
stand_start = 40,
|
||||
|
|
|
@ -50,12 +50,7 @@ mobs:register_mob("mobs_mc:witch", {
|
|||
{name = mobs_mc.items.sugar, chance = 8, min = 0, max = 2,},
|
||||
{name = mobs_mc.items.stick, chance = 4, min = 0, max = 2,},
|
||||
},
|
||||
sounds = {
|
||||
random = "Villager1",
|
||||
death = "Villagerdead",
|
||||
damage = "Villagerhurt1",
|
||||
distance = 16,
|
||||
},
|
||||
-- TODO: sounds
|
||||
animation = {
|
||||
speed_normal = 30,
|
||||
speed_run = 60,
|
||||
|
|
|
@ -37,6 +37,7 @@ mobs:register_mob("mobs_mc:wither", {
|
|||
sounds = {
|
||||
shoot_attack = "mobs_mc_ender_dragon_shoot",
|
||||
attack = "mobs_mc_ender_dragon_attack",
|
||||
-- TODO: sounds
|
||||
distance = 60,
|
||||
},
|
||||
jump = true,
|
||||
|
|
|
@ -35,10 +35,7 @@ local wolf = {
|
|||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = true,
|
||||
sounds = {
|
||||
war_cry = "mobs_wolf_attack",
|
||||
distance = 16,
|
||||
},
|
||||
-- TODO: sounds
|
||||
pathfinding = 1,
|
||||
floats = 1,
|
||||
view_range = 16,
|
||||
|
|
Loading…
Reference in New Issue