peterburg/main3.lua

96 lines
1.8 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: Полёт в Петербург$
--$Version: 1.3.1$
--$Author:Александр Яковлев$
require "fmt"
if instead.tiny then
function iface:tab()
return ' '
end
end
if not instead.tiny then
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
global {
score = 0,
maxscore = 3
}
game.dsc = ''
player.description = "Здесь нет зеркал. Но хотя бы ноги выглядят прекрасно.";
pl.plural = false
pl.pronouns = 'fem'
function givepoint()
score = score + 1;
pn 'Ваш счёт увеличился на 1 очко.';
end
dofile('custom_parser.lua')
dofile('rooms/end.lua')
dofile('rooms/objects.lua')
dofile('rooms/pantry.lua')
dlg {
nam = 'main';
decor = function()
pn(fmt.b('Полёт в Петербург'));
pn 'Фантастическая зарисовка^^';
pn(fmt.b('Выберите свои местоимения'));
end;
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
},
}
}