PetsMax
Returns the maximum number of pets/followers the character can have.
In Python, this method is named MaxPets.
Returns 0 if the character is not connected.
Возвращает максимальное количество петов/фолловеров, которых может иметь персонаж.
В Python метод называется MaxPets.
Возвращает 0, если персонаж не подключён.
function PetsMax: Byte;
def MaxPets() -> int: ...
begin
AddToSystemJournal('Pets: ' + IntToStr(PetsCurrent) + ' / ' + IntToStr(PetsMax));
if PetsCurrent >= PetsMax then
AddToSystemJournal('Cannot tame more pets');
end.
AddToSystemJournal(f'Pets: {PetsCurrent()} / {MaxPets()}')
if PetsCurrent() >= MaxPets():
AddToSystemJournal('Cannot tame more pets')