Initial commit - empty game

This commit is contained in:
Alexander Yakovlev 2016-12-10 11:10:25 +07:00
commit b154d1dc84
6 changed files with 59 additions and 0 deletions

17
emphasis.lua Normal file
View File

@ -0,0 +1,17 @@
require 'format'
format.filter = function(text)
for _, s in ipairs {"%*%*", "%_%_"} do
text = text:gsub(s .. "([^%s][^<>]-[^%s][%*%_]?)" .. s, txtb("%1"));
end;
for _, s in ipairs {"%*"} do
text = text:gsub(s .. "([^%s_][^<>_]-[^%s_])" .. s, txtem("%1"));
end;
for _, s in ipairs {"%_"} do
text = text:gsub(s .. "([^%s_][^<>_]-[^%s_])" .. s, txtu("%1"));
end;
for _, s in ipairs {"%-"} do
text = text:gsub(s .. " ([^%s_][^<>_]-[^%s_]) " .. s, txtst("%1"));
end;
return text;
end

13
init.lua Normal file
View File

@ -0,0 +1,13 @@
require 'para'
require 'dash'
require 'quotes'
require 'dbg'
require 'emphasis';
game.forcedsc = false;
game._action = nil;
game.actions = {}
rndstr = function(strings)
return strings[rnd(stead.table.maxn(strings))];
end

BIN
italic.ttf Normal file

Binary file not shown.

15
main.lua Normal file
View File

@ -0,0 +1,15 @@
-- $Name: Ludum Dare 37$
instead_version "1.9.1";
dofile("init.lua");
main = room{
nam = "Дело о ",
dsc = [[
-- Я никого не выпущу, пока мы не решим, что делать с колонией, — сказал директор, закрывая
входную дверь на ключ.
]],
obj = {},
};
-- Outside the window is The World Out There; it's buzzing with life. In a cruel twist of the fate… you guessed it - it's 100% decoration.
--

BIN
regular.ttf Normal file

Binary file not shown.

14
theme.ini Normal file
View File

@ -0,0 +1,14 @@
; $Name: Baskerville-beige$
include = garamond
win.fnt.name = {regular,,italic,}.ttf
win.fnt.size = 18
win.fnt.height = 1.4
inv.fnt.name = {regular,,italic,}.ttf
inv.fnt.size = 18
inv.fnt.height = 1.4
menu.fnt.name = {regular,,italic,}.ttf
menu.fnt.size = 15
menu.fnt.height = 1.4