Starbound
Оценок: 48
MinionLib
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
108.790 KB
3 июн. 2018 г. в 0:06
28 окт. 2018 г. в 11:07
Обновлений: 7 (просмотреть)

Подпишитесь, чтобы загрузить
MinionLib

В 1 коллекции, созданной [SuCr] Princess of Evil
Glitcher's Fully Working Collection
Предметов: 183
Описание
***BIG MINIONLIB BUGFIX! ALL MESSAGES ARE MINIONS NOW!***

MinionLib is a library mod! It contains no content by itself.

MinionLib works similarily to vanilla pet system, but there are key differences:

It allows for more than one minion. Maximum amount is equal to the player's "maxMinions" stat, 2 by default. Overflow is simply deactivated.
It needs the pod item to either have one minion uuid stored in "podUuid", like vanilla, or a table of {"uuid":"minionData"}. It also needs a "minionSpawner" tag for pods with more than one minion. Uuids need to be unique.
All messages use the "minions" prefix.
The controller has an additional message called "minions.slotsLeft" that returns the current empty slots.
To use multiple collars on a single spawner, set the "visibleCollar" parameter in your item. It needs to be a sum of all your collars. That's the vanilla system, don't shoot me D:

Example: https://pastebin.com/vUSJ4KB0 https://pastebin.com/hzXvx1iJ

My patreon is https://patreon.com/shrug ¯\_(ツ)_/¯

Interesting fact: Vanilla system allows for multiple pets, but there's a glitch that automatically deactivates one other pod when a new one is activated.
Комментариев: 12
Dudeknightz 31 окт. 2023 г. в 22:47 
actually this may come in handy
[SuCr] Princess of Evil  [создатель] 30 сен. 2023 г. в 0:07 
Gallavoir uses it, although i've never actually made the items accessible in-game.
VoltFoxMeadow 26 сен. 2023 г. в 14:12 
Can you make a mod that implements this, since there don't seem to be any that use this?
Super Brasilis 19 июл. 2021 г. в 8:31 
vanilla sucks, chocolate is better ;)
[SuCr] Princess of Evil  [создатель] 10 сен. 2020 г. в 2:44 
Not that i know of.
The Leaver 9 сен. 2020 г. в 19:34 
Are there any mods that use this?
Arcanilumia 21 мая. 2019 г. в 19:24 
Ok how tf do I work this mod help
Arcanilumia 21 мая. 2019 г. в 19:18 
How do you increase the maximum number of minions?
FluffyMars 9 сен. 2018 г. в 10:45 
This has officially beaten Terraria. XD
PrelawGunmir 2 сен. 2018 г. в 14:52 
¯\_(ツ)_/¯