1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-22 17:00:26 +01:00

fix baby sheep horn issue, update licenses

This commit is contained in:
tenplus1 2024-04-22 07:56:54 +01:00
parent 808bbf82e9
commit dc43a7505c
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
Honey and Cheese block by TenPlus1 under CC0
Chicken/Cow/Panda/Pig/Sheep sounds from freesounds.org under CC0 Chicken/Cow/Panda/Pig/Sheep sounds from freesounds.org under CC0
@ -49,7 +50,6 @@ Models/Textures/Media by Krupnov Pavel (WTFPL)
Models/Textures by Krupno Pavel (MIT) Models/Textures by Krupno Pavel (MIT)
mobs_bee.b3d (converted to .b3d by sirrobzerrone) mobs_bee.b3d (converted to .b3d by sirrobzerrone)
mobs_bee.png
mobs_pumba.b3d (converted to .b3d by sirrobzerrone) mobs_pumba.b3d (converted to .b3d by sirrobzerrone)
mobs_pumba.png mobs_pumba.png
@ -67,6 +67,7 @@ Models/Textures by JK Murray (CC0)
mobs_chick.png mobs_chick.png
Models/Textures by sirrobzerrone (CC0) Models/Textures by sirrobzerrone (CC0)
mobs_bee.png
mobs_cow.b3d mobs_cow.b3d
mobs_cow.png mobs_cow.png
mobs_cow2.png mobs_cow2.png

View File

@ -217,6 +217,8 @@ for _, col in ipairs(all_colours) do
-- fix any issue with horns by re-checking -- fix any issue with horns by re-checking
on_spawn = function(self) on_spawn = function(self)
if self.child then return end -- baby sheep dont have horns
local textures = horn_texture_sel(self.attribute_horns, self.gotten) local textures = horn_texture_sel(self.attribute_horns, self.gotten)
self.object:set_properties({textures = {textures}}) self.object:set_properties({textures = {textures}})