From e3cea8ffdc205b64e4f797b0626db643fe6eee2b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 16 Feb 2017 14:49:29 +0100 Subject: [PATCH] Rename bite sounds --- mods/PLAYER/mcl_hunger/README.md | 2 +- mods/PLAYER/mcl_hunger/hunger.lua | 2 +- .../{bite_item_drop.1.ogg => mcl_hunger_bite.1.ogg} | Bin .../{bite_item_drop.2.ogg => mcl_hunger_bite.2.ogg} | Bin 4 files changed, 2 insertions(+), 2 deletions(-) rename mods/PLAYER/mcl_hunger/sounds/{bite_item_drop.1.ogg => mcl_hunger_bite.1.ogg} (100%) rename mods/PLAYER/mcl_hunger/sounds/{bite_item_drop.2.ogg => mcl_hunger_bite.2.ogg} (100%) diff --git a/mods/PLAYER/mcl_hunger/README.md b/mods/PLAYER/mcl_hunger/README.md index d015ac40..2e6b3dfd 100644 --- a/mods/PLAYER/mcl_hunger/README.md +++ b/mods/PLAYER/mcl_hunger/README.md @@ -48,6 +48,6 @@ This mod is free software. * `hbhunger_bgicon.png`—PilzAdam (WTFPL), modified by BlockMen * `hbhunger_bar.png—Wuzzy` (WTFPL) * `hbhunger_icon_health_poison.png`—celeron55 ([CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)), modified by BlockMen, modified again by Wuzzy -* `bite_item_drop.1.ogg`, `bite_item_drop.2.ogg`: WTFPL +* `mcl_hunger_bite.1.ogg`, `mcl_hungr_bite.2.ogg`: WTFPL * Everything else: WTFPL, by BlockMen and Wuzzy diff --git a/mods/PLAYER/mcl_hunger/hunger.lua b/mods/PLAYER/mcl_hunger/hunger.lua index 9dd336d8..4b7abb25 100644 --- a/mods/PLAYER/mcl_hunger/hunger.lua +++ b/mods/PLAYER/mcl_hunger/hunger.lua @@ -100,7 +100,7 @@ function mcl_hunger.item_eat(hunger_change, replace_with_item, poisen, heal, sou vertical = false, texture = texture, }) - minetest.sound_play("bite_item_drop", { + minetest.sound_play("mcl_hunger_bite", { pos = pos, max_hear_distance = 8, gain = 10.0, diff --git a/mods/PLAYER/mcl_hunger/sounds/bite_item_drop.1.ogg b/mods/PLAYER/mcl_hunger/sounds/mcl_hunger_bite.1.ogg similarity index 100% rename from mods/PLAYER/mcl_hunger/sounds/bite_item_drop.1.ogg rename to mods/PLAYER/mcl_hunger/sounds/mcl_hunger_bite.1.ogg diff --git a/mods/PLAYER/mcl_hunger/sounds/bite_item_drop.2.ogg b/mods/PLAYER/mcl_hunger/sounds/mcl_hunger_bite.2.ogg similarity index 100% rename from mods/PLAYER/mcl_hunger/sounds/bite_item_drop.2.ogg rename to mods/PLAYER/mcl_hunger/sounds/mcl_hunger_bite.2.ogg