peterburg/main3.lua

87 lines
1.6 KiB
Lua
Raw Normal View History

2020-12-21 10:55:56 +02:00
--$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
2020-12-21 12:08:22 +02:00
--if theme.get('scr.gfx.bg') ~= f then
2020-12-21 10:55:56 +02:00
theme.gfx.bg('bgr/'..f)
2020-12-21 12:08:22 +02:00
--end
2020-12-21 10:55:56 +02:00
end
game.dsc = ''
2020-12-21 12:08:22 +02:00
player.description = "Здесь нет зеркал. Но хотя бы ноги выглядят прекрасно.";
2020-12-21 10:55:56 +02:00
set_pic('wall.jpg')
pl.plural = false
pl.pronouns = 'fem'
dofile('custom_parser.lua')
dofile('rooms/pantry.lua')
dlg {
nam = 'main';
2020-12-21 12:08:22 +02:00
-- DEBUG STARTS
enter = function()
walk('pantry')
end;
-- DEBUG ENDS
2020-12-21 10:55:56 +02:00
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
},
}
}