forked from mtcontrib/mobs_animal
fix baby sheep horn issue, update licenses
This commit is contained in:
parent
808bbf82e9
commit
dc43a7505c
|
@ -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
|
||||
THE SOFTWARE.
|
||||
|
||||
Honey and Cheese block by TenPlus1 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)
|
||||
mobs_bee.b3d (converted to .b3d by sirrobzerrone)
|
||||
mobs_bee.png
|
||||
mobs_pumba.b3d (converted to .b3d by sirrobzerrone)
|
||||
mobs_pumba.png
|
||||
|
||||
|
@ -67,6 +67,7 @@ Models/Textures by JK Murray (CC0)
|
|||
mobs_chick.png
|
||||
|
||||
Models/Textures by sirrobzerrone (CC0)
|
||||
mobs_bee.png
|
||||
mobs_cow.b3d
|
||||
mobs_cow.png
|
||||
mobs_cow2.png
|
||||
|
|
|
@ -217,6 +217,8 @@ for _, col in ipairs(all_colours) do
|
|||
-- fix any issue with horns by re-checking
|
||||
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)
|
||||
|
||||
self.object:set_properties({textures = {textures}})
|
||||
|
|
Loading…
Reference in New Issue
Block a user