Sound update
This commit is contained in:
parent
b3b83abb68
commit
768c718fe4
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -66,7 +66,7 @@ local cow_def = {
|
||||||
local inv = clicker:get_inventory()
|
local inv = clicker:get_inventory()
|
||||||
inv:remove_item("main", mobs_mc.items.bucket)
|
inv:remove_item("main", mobs_mc.items.bucket)
|
||||||
mcl_moans.moan({object = self.object})
|
mcl_moans.moan({object = self.object})
|
||||||
minetest.sound_play("mobs_mc_cow_milk", {object = player, gain = 0.6})
|
minetest.sound_play("mobs_mc_cow_milk", {object = self.object, gain = 0.6})
|
||||||
-- if room add bucket of milk to inventory, otherwise drop as item
|
-- if room add bucket of milk to inventory, otherwise drop as item
|
||||||
if inv:room_for_item("main", {name=mobs_mc.items.milk}) then
|
if inv:room_for_item("main", {name=mobs_mc.items.milk}) then
|
||||||
clicker:get_inventory():add_item("main", mobs_mc.items.milk)
|
clicker:get_inventory():add_item("main", mobs_mc.items.milk)
|
||||||
|
|
|
@ -31,6 +31,13 @@ local skeleton = {
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
visual = "sprite",
|
visual = "sprite",
|
||||||
|
|
||||||
|
sounds = {
|
||||||
|
random = "mobs_mc_skeleton_random",
|
||||||
|
death = "mobs_mc_skeleton_death",
|
||||||
|
damage = "mobs_mc_skeleton_hurt",
|
||||||
|
distance = 16,
|
||||||
|
},
|
||||||
|
|
||||||
--head code
|
--head code
|
||||||
has_head = false,
|
has_head = false,
|
||||||
head_bone = "head",
|
head_bone = "head",
|
||||||
|
|
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.
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.
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.
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.
|
@ -190,6 +190,7 @@ minetest.register_on_rightclickplayer(function(player, clicker)
|
||||||
local inv = clicker:get_inventory()
|
local inv = clicker:get_inventory()
|
||||||
inv:remove_item("main", "mcl_buckets:bucket_empty")
|
inv:remove_item("main", "mcl_buckets:bucket_empty")
|
||||||
mcl_moans.moan({object = player})
|
mcl_moans.moan({object = player})
|
||||||
|
minetest.sound_play("mcl_sounds_penis", {object = player, gain = 0.6})
|
||||||
minetest.sound_play("mobs_mc_cow_milk", {object = player, gain = 0.6})
|
minetest.sound_play("mobs_mc_cow_milk", {object = player, gain = 0.6})
|
||||||
-- if room add bucket of cum to inventory, otherwise drop as item
|
-- if room add bucket of cum to inventory, otherwise drop as item
|
||||||
if inv:room_for_item("main", {name="mcl_mobitems:cum_bucket"}) then
|
if inv:room_for_item("main", {name="mcl_mobitems:cum_bucket"}) then
|
||||||
|
|
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.
Loading…
Reference in New Issue