peterburg/main3.lua

89 lines
1.6 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--$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 = ''
player.description = "Здесь нет зеркал. Но хотя бы ноги выглядят прекрасно.";
set_pic('wall.jpg')
pl.plural = false
pl.pronouns = 'fem'
dofile('custom_parser.lua')
dofile('rooms/end.lua')
dofile('rooms/objects.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
},
}
}