[MOD] Petz (petz) [mobs_redo|mobkit] (v7.6.2)

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by runs » Wed Nov 27, 2019 17:05

v5.13
- Fixed: Elephants and lions now spawn in savanna biome on default:dirt_with_dry_grass, default:dry_dirt & default:dry_dirt_with_dry_grass
 

Gundul
Member
 
Posts: 653
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by Gundul » Wed Nov 27, 2019 17:57

Bread wrote:I think it is because there are no "default:dirt_with_dry_grass" in Minetest Game 5.1.0 world.


All my servers run 5.1.0-dev and they have dirt_with_dry_grass. Maybe check which mapgen you use.
Valleys, Carpathian and V7 defenitly have it.
My servers: Jungle, Lilly in the valley, ZombieTest
 

CalebJ
Member
 
Posts: 203
Joined: Sat Dec 29, 2018 19:21
Location: Tunnelers' Abyss
GitHub: KaylebJay
IRC: KaylebJay
In-game: CalebJ

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.13)

by CalebJ » Wed Nov 27, 2019 21:29

I'd like to request a feature ... or rather fix?
Mutations are almost too simple - they take the last itemstring they find when textures is called, and make that have a 1/200 spawn/birth ratio. This means that (1 there is no way for multiple mutations to be added (as it is currently), and also, I don't think its possible to assign mutations to a certain texture, sadly.
I'd be very grateful if this could be fixed so that I could assign (1 multiple mutations to the same animal, and (2 assign mutations to non-breedable animals :)
If you want realism, you're in the wrong place. Get off your mobile.
 

Bread
Member
 
Posts: 31
Joined: Tue Mar 17, 2015 14:29

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.13)

by Bread » Thu Nov 28, 2019 00:52

runs wrote:v5.13
- Fixed: Elephants and lions now spawn in savanna biome on default:dirt_with_dry_grass, default:dry_dirt & default:dry_dirt_with_dry_grass


Thanks. I am meeting Elephants and lions now.
 

Bread
Member
 
Posts: 31
Joined: Tue Mar 17, 2015 14:29

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by Bread » Thu Nov 28, 2019 01:02

Gundul wrote:
Bread wrote:I think it is because there are no "default:dirt_with_dry_grass" in Minetest Game 5.1.0 world.


All my servers run 5.1.0-dev and they have dirt_with_dry_grass. Maybe check which mapgen you use.
Valleys, Carpathian and V7 defenitly have it.


My V7 world is new and created by 5.1.0.
I think your world is created by before 5.1.0?

I have checked this source code. There are no biome which have "default:dirt_with_dry_grass" currently.
https://github.com/minetest/minetest_game/blob/stable-5/mods/default/mapgen.lua
 

Gundul
Member
 
Posts: 653
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.12)

by Gundul » Thu Nov 28, 2019 18:38

Bread wrote:
Gundul wrote:
Bread wrote:
I have checked this source code. There are no biome which have "default:dirt_with_dry_grass" currently.
https://github.com/minetest/minetest_game/blob/stable-5/mods/default/mapgen.lua

It is dry_dirt_with_dry_grass now.

An alias would have been too easy I guess.
My servers: Jungle, Lilly in the valley, ZombieTest
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.13)

by runs » Thu Nov 28, 2019 22:35

CalebJ wrote:I'd like to request a feature ... or rather fix?
Mutations are almost too simple - they take the last itemstring they find when textures is called, and make that have a 1/200 spawn/birth ratio. This means that (1 there is no way for multiple mutations to be added (as it is currently), and also, I don't think its possible to assign mutations to a certain texture, sadly.
I'd be very grateful if this could be fixed so that I could assign (1 multiple mutations to the same animal, and (2 assign mutations to non-breedable animals :)


Yes, I will redo it and maintaining the compatibility backwards. Mutations are related to gens right now. But of course it could be possible add mutations as textures chances for the rest of non-breedable mobs.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.13)

by runs » Fri Nov 29, 2019 00:08

v5.14
- [For developers only] Now it can be defined several mutations in code. Now the mutation property is a number (it should be >=1).
I.e, for a new pink lamb mutation for the lamb, add a new skin color:
local skin_colors = {"white", "grey", "dark_grey", "brown", "vanilla", "pink"}
and set 'mutation = 2'.
So:
- "white", "grey", "dark_grey" & "brown" are the genes, from more dominant (white) to more recesive (brown)
- "vanilla" & "pink" the mutation colors.

---
Probably in the future the 'skins_color' table will be a more complex table to set also the genes probabilities for spawned mobs (now hardcoded for every mob).
 

CalebJ
Member
 
Posts: 203
Joined: Sat Dec 29, 2018 19:21
Location: Tunnelers' Abyss
GitHub: KaylebJay
IRC: KaylebJay
In-game: CalebJ

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.14)

by CalebJ » Fri Nov 29, 2019 20:30

That works great. Thank you :)
If you want realism, you're in the wrong place. Get off your mobile.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.14)

by runs » Fri Nov 29, 2019 23:16

CalebJ wrote:That works great. Thank you :)


Now I'm working on a general formula for genetics. I hope I'm lucky :-)

For lambs. The probabilities are (a table of 4x4):
- White= 7/16
- Gray = 5/16
- Dark Gray = 3/16
- Brown = 1/16
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.14)

by runs » Wed Dec 04, 2019 21:25

Image

Image

Penguin
- It lives in the Ice Sheet Biome.
- Tamable.
- Semiaquatic animal.
- Put eggs, but no nest.

Polar Bear
- It lives in the Ice Sheet Biome.
- It eats penguins.
- Aggressive. Non tamable.

Santa Killer
- It can appear in the Ice Sheet Biome. Very rare.
- Not friendly. Assassin.
- It can drop Christmas Present and always some powerful food: Gingerbread cookies and Candy Canes.

Christmas Present
- A box to introduce 4 presents.
- You can write a Christmas Card.
- Craftable.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.16)

by runs » Sat Dec 14, 2019 12:46

v5.17

- Mr Pumpkin and Santa Killer are now seasonal spawned thanks to a new "_seasonal" setting in petz.conf.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.17)

by runs » Sat Dec 14, 2019 13:20

This mod seems now quite stable so I've requested this mod to be moved to "Mod Releases".
 

User avatar
Imk
Member
 
Posts: 279
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk
 

User avatar
Imk
Member
 
Posts: 279
Joined: Mon Nov 05, 2018 19:15
Location: Crimea, Russia
In-game: Imk

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.17)

by Imk » Fri Dec 20, 2019 07:07

kindly Russian Santa Claus (grandfather frost)

he has a snow maiden, granddaughter
Image

he gives gifts.
Image
this update will upset the children.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.17)

by runs » Sat Dec 28, 2019 17:10

5.18

- More accurate genetics for non-breedable spawned mobs and ponies. Now a general formula that does not depend on a particular animal.

Image

For example, the panda has a black/white dominant gen and a brown/white recesive gen. The chance for a white panda is 3/4 and for a brown one is 1/4.

For lambs, that have white, gray, dark gray and brown skins, the corresponding chances are: 7/16, 5/16, 3/16 and 1/16.
 

CalebJ
Member
 
Posts: 203
Joined: Sat Dec 29, 2018 19:21
Location: Tunnelers' Abyss
GitHub: KaylebJay
IRC: KaylebJay
In-game: CalebJ

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.18)

by CalebJ » Sun Dec 29, 2019 01:14

There seems to be no way to make a monster-water mob. (attacks the player)
Could you look into this/make a way? :-)
If you want realism, you're in the wrong place. Get off your mobile.
 

User avatar
Nathan.S
Member
 
Posts: 962
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.18)

by Nathan.S » Sun Dec 29, 2019 01:28

The shark mob swims in water and attacks players, perhaps you can find what you are doing wrong by looking at that code.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.18)

by runs » Sun Dec 29, 2019 03:13

v5.19
- Fixed a crash regression in the 5.18 version.
- Now the API supports agressive aquatic mobs.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.18)

by runs » Sun Dec 29, 2019 03:16

CalebJ wrote:There seems to be no way to make a monster-water mob. (attacks the player)
Could you look into this/make a way? :-)


Try the last version.

Put in your mob definition or change the dolphin behaviour to aggressive:
Code: Select all
swin = true
attack_player = true,
attack = {range = 0.8, damage_groups={fleshy=3}},


and maybe add a "attack" sound.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.19)

by runs » Sun Dec 29, 2019 04:09

Vote for the next Petz.

Image
Butterflies: In 3 colors: red, yellow and blue. You could capture them and put into bottles. Build giant butterfly wings to glide.

Ants: Anthills. Plague for gardens. Queens and soldiers.

Mouse: Plague for wheat. They hide in holes. Agressive if disturbed.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.19)

by runs » Sun Dec 29, 2019 14:29

v5.20
- Now the growth time for babies is persistent between server restarts.
- You can read in the form the time of a baby to turn into adult.
- Fix: "Pregnant" label not translated.
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.20)

by runs » Mon Dec 30, 2019 02:29

I forget to say that now fences can be jumped. You have to set "enable_fence_tall = true" in minetest.conf to avoid it.

:-)
 

User avatar
runs
Member
 
Posts: 1010
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: [MOD] Petz (petz) [mobs_redo|mobkit] (v5.17)

by runs » Mon Dec 30, 2019 02:31

Imk wrote:kindly Russian Santa Claus (grandfather frost)

he has a snow maiden, granddaughter

he gives gifts.

this update will upset the children.


You can disable monsters with "disable_monsters = true" or individually.
 

PreviousNext

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 1 guest