Stam
Returns the current stamina of the character.
This is a shorthand property equivalent to GetStam.
Returns 0 if the character is not connected.
Возвращает текущую выносливость (stamina) персонажа.
Это сокращённое свойство, эквивалентное GetStam.
Возвращает 0, если персонаж не подключён.
function Stam: Integer;
def Stam() -> int: ...
begin
AddToSystemJournal('Stamina: ' + IntToStr(Stam) + '/' + IntToStr(MaxStam));
if Stam < 10 then
AddToSystemJournal('Very low stamina!');
end.
AddToSystemJournal(f'Stamina: {Stam()}/{MaxStam()}')
if Stam() < 10:
AddToSystemJournal('Very low stamina!')