Weight
Returns the current total weight of the character (in stones).
This value includes the weight of the character’s body, all equipped items, and the entire contents of the backpack (including nested containers).
Returns 0 if the character is not connected.
Возвращает текущий общий вес персонажа (в стоунах).
Это значение включает вес тела персонажа, всех экипированных предметов и всего содержимого рюкзака (включая вложенные контейнеры).
Возвращает 0, если персонаж не подключён.
function Weight: Word;
def Weight() -> int: ...
begin
AddToSystemJournal('Weight: ' + IntToStr(Weight) + '/' + IntToStr(MaxWeight));
if Weight > MaxWeight then
AddToSystemJournal('Overweight!');
end.
AddToSystemJournal(f'Weight: {Weight()}/{MaxWeight()}')
if Weight() > MaxWeight():
AddToSystemJournal('Overweight!')