1
0
Fork 0
mirror of https://gitlab.com/Oreolek/duel.git synced 2024-07-04 15:54:29 +03:00
duel/tools.lua

36 lines
621 B
Lua
Raw Normal View History

2017-02-20 18:40:12 +02:00
engineer = function()
if pl.plural == true then
return 'инженеры'
end
return 'инженер'
end
pronoun_3 = function()
if pl.gender == 'she' then
return 'она'
end
if pl.gender == 'he' then
return 'он'
end
if pl.gender == 'it' then
return 'оно'
end
return 'они'
end
pronoun_1 = function()
if pl.plural == true then
return 'мы'
end
return 'я'
end
endings = function()
if pl.plural == true then
return 'и'
end
if pl.gender == 'she' then
return 'а'
end
end
rndstr = function(strings)
return strings[rnd(stead.table.maxn(strings))];
end