AnimalHusbandry

AnimalHusbandry

Simple animal growth / taming plugin.

138.0 загрузок
Обновлён 6 дней назад

Описание

Подожди? Животные еще не выросли? - я, подождав 4 часа

Очень маленький (на данный момент) Плагин/мод, который добавляет несколько основных типов поведения к животноводству. Я где-то читал, что разработчики сказали, что мы должны чувствовать себя свободно, чтобы расширить системы, которые, как мы чувствуем, отсутствуют, так что вот попытка помочь.


Особенности

Рост

Животные теперь растут от своей юной стадии до взрослой стадии.

  • Кто делает то, что является полностью переопределяемым и настраиваемым через редактор Активов? Если вы хотите, чтобы ваши цыплята выросли в скелеты, посмотрите раздел конфигурации.
  • По умолчанию животным требуется от 10 до 20 игровых дней, чтобы вырасти, начиная с момента их появления. Я установил это достаточно высоко, так как игра о приключениях.

опекунство

  • Животных теперь можно кормить Любимые продуктыи иметь возможность смотреть ты Как их хранитель, когда вы кормите их достаточно.
  • Животные, которые рассматривают вас как хранителя, будут дружелюбны и будут подходить к вам, даже когда вы носите оружие. Однако не все можно простить, поэтому они все равно будут бегать, если вы попытаетесь спрятаться от них.
  • Стать хранителем животного позволит вам воспользоваться системой размножения, так как вы сможете кормить их, не приближаясь к ним с осторожностью.

размножение

  • Животные теперь могут размножаться. По крайней мере, млекопитающие.
  • Когда его кормит хранитель, животные, которые не спаривались в последнее время, будут искать нового партнера, а когда его найдут, появится чудесное новое животное.
  • Животные на основе яиц в настоящее время не включены по умолчанию (так как было бы весело, если бы они действительно вылупились из оплодотворенных яиц); см. раздел конфигурации, если вы хотите знать, как включить это.
  • Кролики и кролики кажутся отдельными видами в этой игре, поэтому они также не настроены для размножения.

Любимый пищевой обзор

Быстрая ссылка на по умолчанию «LovedItems», который поставляется с игрой:

Любимая еда Животные
Plant_Fruit_Apple Ram, Ram_Lamb, Mouflon, Mouflon_Lamb Goat_Kid (Козёл)
Plant_Crop_Carrot_Carrot Исполнитель: Horse_Foal, Rabbit, Bunny
Plant_Crop_Corn_Corn Chicken_Chick, Chicken_Desert, Chicken_Desert_Chick Турция, Турция_Chick
Plant_Crop_Cauliflower Корова, Cow_Calf
Plant_Crop_Lettuce Овцы / Sheep_Lamb
Plant_Crop_Wheat_Item Camel, Camel_Calf
Plant_Crop_Mushroom_Cap_Brown Свинья / Pig_Piglet
Plant_Crop_Mushroom_Cap_Red Boar_Piglet скачать
Plant_Crop_Pumpkin_Pumpkin Pig_Wild, Pig_Wild
Plant_Crop_Chilli_Item Обсуждение Skrill_Chick
Plant_Fruit_Berries_Red Скриншоты Warthog_Piglet
(нет) Бизон, Бизон Кэлф, Вартог


конфигурация

Параметр Ценность по умолчанию Описание
Взрослый "" Роль превращения в послеоказанный диапазон роста (для детских животных)
Детская роль "" Роль, которая должна возникнуть, когда NPC успешно спаривается
ChildToAdultTimeRange ["P10D", "P20D"] Диапазон времени, в течение которого роль ребенка превращается во взрослую роль (10-20 дней)
FeedTimeout ["ПТ1М", "ПТ2М"] Тайм-аут между возможными кормовыми событиями (1-2 минуты)
Домашний истинный Показания о том, что животное можно одомашнить
Время размножения ["P2D", "P3D"] Тайм-аут до рождения ребенка после спаривания (2-3 дня)
РазмножениеTargetSlot "" Слот для хранения текущей цели разведения при поиске партнера


Техническая записка

Чтобы получить подробную информацию; все эти действия могут быть настроены с помощью ссылки на роль NPC. Template_AnimalHusbandry_Enabled вместо того, чтобы Template_Animal_Neutral.

Но будьте осторожны, Template_AnimalHusbandry_Enabled является копией и расширением Template_Animal_Neutral Чтобы я не унаследовал это для враждебных или разумных существ.

Причина, по которой они не наследуют от другого, заключается в том, что мне нужно было, чтобы какое-то поведение было проигнорировано, когда цель является хранителем. Template_Animal_Neutral. (См. источник)

Показать оригинальное описание (English)

Wait? the animals don't grow up yet? - me, having waited 4hrs

A very tiny (for now) plugin/mod which adds a few main behaviours to the Livestock category of animals. I read somewhere that the devs said we should feel free to extend the systems that we feel are missing, so here's an attempt at helping out.


Features

Growth

Animals now grow up from their juvenile stage, to their adult stages over time.

  • Who does what is entirely overridable and configurable through the Asset editor. If you want your chickens to grow up into skeletons -- see the configuration section.
  • By default; animals take between 10 and 20 in-game days to grow up, starting from their spawn instant. I set this reasonably high as the game is about adventure.

Custodianship

  • Animals can now be fed their favourite foods, and have a chance to view you as their custodian when you feed them enough.
  • Animals who view you as a custodian will be friendly and approach you even when you're wielding weapons. Not everything is forgiveable however, so they'll still run if you attempt to get their light/medium/heavy hide.
  • Becoming a custodian of an animal will allow you to take advantage of the breeding system, as you'll be able to feed them without cautiously approaching them first.

Breeding

  • Animals can now breed. At least the mammals.
  • When fed by a custodian, animals who haven't mated recently will look for a new mate, and when found, a wonderful new little leather-to-be animal is spawned.
  • Egg-based animals currently aren't enabled by default (since it'd be fun if they actually hatched from fertilized eggs); see the configuration section if you'd like to know how to enable that.
  • Bunnies and rabbits seem like separate species in this game, so those too aren't configured for breeding.

Favourite food overview

A quick reference of the default "LovedItems" which shipped with the game:

Favourite Food Animals
Plant_Fruit_Apple Ram, Ram_Lamb, Mouflon, Mouflon_Lamb, Goat, Goat_Kid
Plant_Crop_Carrot_Item Horse, Horse_Foal, Rabbit, Bunny
Plant_Crop_Corn_Item Chicken, Chicken_Chick, Chicken_Desert, Chicken_Desert_Chick, Turkey, Turkey_Chick
Plant_Crop_Cauliflower_Item Cow, Cow_Calf
Plant_Crop_Lettuce_Item Sheep, Sheep_Lamb
Plant_Crop_Wheat_Item Camel, Camel_Calf
Plant_Crop_Mushroom_Cap_Brown Pig, Pig_Piglet
Plant_Crop_Mushroom_Cap_Red Boar, Boar_Piglet
Plant_Crop_Pumpkin_Item Pig_Wild, Pig_Wild_Piglet
Plant_Crop_Chilli_Item Skrill, Skrill_Chick
Plant_Fruit_Berries_Red Warthog_Piglet
(none) Bison, Bison_Calf, Warthog


Configuration

Parameter Default Value Description
AdultRole "" The role to transform into after a provided growth range (for baby animals)
ChildRole "" The role which should be spawned when the NPC has successfully mated
ChildToAdultTimeRange ["P10D", "P20D"] Time range within which a baby role transforms into its AdultRole (10-20 days)
FeedTimeout ["PT1M", "PT2M"] Timeout between possible feed events (1-2 minutes)
IsDomesticable true Indication that the animal can be domesticated
BreedingTimeout ["P2D", "P3D"] Timeout before child can be birthed after mating (2-3 days)
BreedingTargetSlot "" Slot for storing current breeding target when finding a mate


Technical note

To get into the details; all of these behaviours can be configured by an NPC Role referencing Template_AnimalHusbandry_Enabled instead of Template_Animal_Neutral.

Do beware though, the Template_AnimalHusbandry_Enabled is a copy and extension of Template_Animal_Neutral so I'd avoid inheriting this for hostile or intelligent creatures.

The reason they aren't inheriting from another is that I needed some behaviours to be ignored when the target is a custodian (from the default Template_Animal_Neutral. (See source)

Последние версии

AnimalHusbandry-1.0.1.jar

Early Access 28.01.2026 60.3 КБ

AnimalHusbandry-1.0.0.jar

Early Access 28.01.2026 60.3 КБ

AnimalHusbandry-0.0.2.jar

Early Access 25.01.2026 62.3 КБ