diff --git a/engine.lua b/engine.lua index bb895ee..8f80d45 100644 --- a/engine.lua +++ b/engine.lua @@ -19,4 +19,7 @@ word_simple = function(word) return true end } -end \ No newline at end of file +end +newline = vobj("^^", "^^") +space = vobj(" ", " ") +signed = vobj(" ", txtr("Проверено: цензор ███████████^^")) \ No newline at end of file diff --git a/main.lua b/main.lua index 4de1ddc..df899a1 100644 --- a/main.lua +++ b/main.lua @@ -2,10 +2,21 @@ instead_version "1.5.2" game.codepage="UTF-8"; require 'para' +require 'dash' dofile 'engine.lua' main = room{ - nam = 'Тест', + nam = 'Почтовый ящик 107. Ул. Елизарова, 76 -- г. Новосибирск, Красный проспект, 23-12', dsc = "", - obj = {word_simple('Пожалуйста.')} -}; \ No newline at end of file + obj = { + word_simple('Дорогая'), space, word_simple('мамочка!'), newline, + word_simple('Пишет'), space, word_simple('тебе'), space, word_simple('твой'), space, word_simple('любимый'), space, word_simple('сын'), space, word_simple('Степан.'), newline, + word_simple('Я'), space, word_simple('живу'), space, word_simple('хорошо.'), newline, + signed, 'sign_main' + } +}; +sign_main = obj{ + nam = 'send', + dsc = txtc(txtu('{ОТПРАВИТЬ}')), + act = true +} \ No newline at end of file