88 lines
1.6 KiB
Lua
88 lines
1.6 KiB
Lua
--$Name: Aliens$
|
||
--$Version: 0.1$
|
||
--$Author:Александр Яковлев$
|
||
|
||
require "fmt"
|
||
require 'dbg'
|
||
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 = ''
|
||
player.description = "Здесь нет зеркал. Но хотя бы ноги выглядят прекрасно.";
|
||
set_pic('wall.jpg')
|
||
pl.plural = false
|
||
pl.pronouns = 'fem'
|
||
|
||
dofile('custom_parser.lua')
|
||
dofile('rooms/pantry.lua')
|
||
|
||
dlg {
|
||
nam = 'main';
|
||
-- DEBUG STARTS
|
||
enter = function()
|
||
walk('pantry')
|
||
end;
|
||
-- DEBUG ENDS
|
||
title = 'Выберите свои местоимения';
|
||
phr = {
|
||
{
|
||
'она/её',
|
||
function()
|
||
pl.plural = false;
|
||
pl.pronouns = 'fem';
|
||
std.player.word = 'ты/жр,2л'
|
||
walk('pantry')
|
||
end
|
||
},
|
||
{
|
||
'он/его',
|
||
function()
|
||
pl.plural = false;
|
||
pl.pronouns = 'masc';
|
||
std.player.word = 'ты/мр,2л'
|
||
walk('pantry')
|
||
end
|
||
},
|
||
{
|
||
'оно/их',
|
||
function()
|
||
pl.plural = false
|
||
pl.pronouns = 'other'
|
||
std.player.word = 'вы/cр,2л'
|
||
walk('pantry')
|
||
end
|
||
},
|
||
{
|
||
'они/их',
|
||
function()
|
||
pl.plural = true;
|
||
pl.pronouns = 'other';
|
||
std.player.word = 'вы/cр,мн,2л'
|
||
walk('pantry')
|
||
end
|
||
},
|
||
}
|
||
}
|