init = function () map = obj { nam = "Карта", inv = function() walk('map') end } take(map) quests = obj { nam = "Квесты", inv = function() walk('quests') end } take(quests) inventory = obj { nam = "Инвентарь", inv = function() walk('inventory') end } take(inventory) char.act = nil end engineer = function() if char.charural == true then return 'инженеры' end return 'инженер' end pronoun_3 = function() if char.gender == 'she' then return 'она' end if char.gender == 'he' then return 'он' end if char.gender == 'it' then return 'оно' end return 'они' end pronoun_1 = function() if char.charural == true then return 'мы' end return 'я' end endings = function() if char.charural == true then return 'и' end if char.gender == 'she' then return 'а' end return '' end rndstr = function(strings) return strings[rnd(stead.table.maxn(strings))]; end