85 lines
1.8 KiB
Lua
85 lines
1.8 KiB
Lua
|
--$Name: Aliens$
|
|||
|
--$Version: 0.1$
|
|||
|
--$Author:Александр Яковлев$
|
|||
|
|
|||
|
require "fmt"
|
|||
|
if instead.tiny then
|
|||
|
function iface:tab()
|
|||
|
return ' '
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
if not instead.tiny then
|
|||
|
require "autotheme"
|
|||
|
require "theme"
|
|||
|
end
|
|||
|
|
|||
|
fmt.dash = true
|
|||
|
fmt.quotes = true
|
|||
|
|
|||
|
require 'parser/mp-ru'
|
|||
|
|
|||
|
function set_pic(f)
|
|||
|
if instead.tiny then
|
|||
|
return
|
|||
|
end
|
|||
|
if theme.get('scr.gfx.bg') ~= f then
|
|||
|
theme.gfx.bg('bgr/'..f)
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
game.dsc = ''
|
|||
|
set_pic('wall.jpg')
|
|||
|
pl.plural = false
|
|||
|
pl.pronouns = 'fem'
|
|||
|
|
|||
|
dofile('custom_parser.lua')
|
|||
|
dofile('rooms/pantry.lua')
|
|||
|
|
|||
|
dlg {
|
|||
|
nam = 'main';
|
|||
|
title = 'Выберите свои местоимения';
|
|||
|
phr = {
|
|||
|
{
|
|||
|
'она/её',
|
|||
|
function()
|
|||
|
pl.plural = false;
|
|||
|
pl.pronouns = 'fem';
|
|||
|
std.player.word = 'ты/жр,2л'
|
|||
|
mp.msg.SCENE = "{#Me} {#word/находишься,#me,нст} {#if_has/#here,supporter,на,в} {#here/пр,2}.";
|
|||
|
walk('pantry')
|
|||
|
end
|
|||
|
},
|
|||
|
{
|
|||
|
'он/его',
|
|||
|
function()
|
|||
|
pl.plural = false;
|
|||
|
pl.pronouns = 'masc';
|
|||
|
std.player.word = 'ты/мр,2л'
|
|||
|
mp.msg.SCENE = "{#Me} {#word/находишься,#me,нст} {#if_has/#here,supporter,на,в} {#here/пр,2}.";
|
|||
|
walk('pantry')
|
|||
|
end
|
|||
|
},
|
|||
|
{
|
|||
|
'оно/их',
|
|||
|
function()
|
|||
|
pl.plural = false
|
|||
|
pl.pronouns = 'other'
|
|||
|
std.player.word = 'вы/cр,2л'
|
|||
|
mp.msg.SCENE = "{#Me} {#word/находитесь,#me,нст} {#if_has/#here,supporter,на,в} {#here/пр,2}.";
|
|||
|
walk('pantry')
|
|||
|
end
|
|||
|
},
|
|||
|
{
|
|||
|
'они/их',
|
|||
|
function()
|
|||
|
pl.plural = true;
|
|||
|
pl.pronouns = 'other';
|
|||
|
std.player.word = 'вы/cр,мн,2л'
|
|||
|
mp.msg.SCENE = "{#Me} {#word/находитесь,#me,нст} {#if_has/#here,supporter,на,в} {#here/пр,2}.";
|
|||
|
walk('pantry')
|
|||
|
end
|
|||
|
},
|
|||
|
}
|
|||
|
}
|