forked from LizzyFleckenstein03/Memeclone
update fork #1
|
@ -1,5 +1,6 @@
|
||||||
mcl_moans = {}
|
mcl_moans = {}
|
||||||
|
|
||||||
function mcl_moans.moan(spec)
|
function mcl_moans.moan(spec)
|
||||||
|
spec.gain = (spec.gain or 1.0) * 10.0
|
||||||
minetest.sound_play("mcl_moan", spec)
|
minetest.sound_play("mcl_moan", spec)
|
||||||
end
|
end
|
||||||
|
|
|
@ -166,3 +166,7 @@ minetest.register_on_dieplayer(function(player)
|
||||||
-- TODO: Add separate death sound
|
-- TODO: Add separate death sound
|
||||||
minetest.sound_play({name="player_damage", gain = 1.0}, {pos=player:get_pos(), max_hear_distance=16}, true)
|
minetest.sound_play({name="player_damage", gain = 1.0}, {pos=player:get_pos(), max_hear_distance=16}, true)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
minetest.register_on_joinplayer(function(player)
|
||||||
|
minetest.sound_play("shutdown", {to_player = player:get_player_name()})
|
||||||
|
end)
|
||||||
|
|
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.
|
@ -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)
|
||||||
|
|
|
@ -63,8 +63,15 @@ mobs:register_mob("mobs_mc:polar_bear", {
|
||||||
walk_start = 0, walk_end = 40,
|
walk_start = 0, walk_end = 40,
|
||||||
run_start = 0, run_end = 40,
|
run_start = 0, run_end = 40,
|
||||||
},
|
},
|
||||||
|
|
||||||
view_range = 16,
|
view_range = 16,
|
||||||
|
do_custom = function(self)
|
||||||
|
if not self._cum_nametag_set then
|
||||||
|
self.nametag = "The Cum Monster"
|
||||||
|
self._cum_nametag_set = true
|
||||||
|
mobs.update_tag(self)
|
||||||
|
end
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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.
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.
Loading…
Reference in New Issue