Move common sounds to main shooter mod
This commit is contained in:
parent
edb19cf061
commit
a310d0338a
7 changed files with 1 additions and 3 deletions
|
@ -1,2 +1 @@
|
||||||
shooter
|
shooter
|
||||||
shooter_guns
|
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
shooter
|
shooter
|
||||||
shooter_guns
|
|
||||||
|
|
|
@ -147,7 +147,7 @@ minetest.register_entity("shooter_turret:turret_entity", {
|
||||||
minetest.sound_play("shooter_click", {object=self.object})
|
minetest.sound_play("shooter_click", {object=self.object})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
minetest.sound_play("guns_shotgun", {object=self.object})
|
minetest.sound_play("shooter_shotgun", {object=self.object})
|
||||||
if not minetest.setting_getbool("creative_mode") then
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
inv:remove_item("main", "tnt:tnt")
|
inv:remove_item("main", "tnt:tnt")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue