mirror of
https://gitlab.com/Oreolek/ludumdare37.git
synced 2024-04-25 21:59:39 +03:00
Initial commit - empty game
This commit is contained in:
commit
b154d1dc84
17
emphasis.lua
Normal file
17
emphasis.lua
Normal 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
13
init.lua
Normal 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
BIN
italic.ttf
Normal file
Binary file not shown.
15
main.lua
Normal file
15
main.lua
Normal 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
BIN
regular.ttf
Normal file
Binary file not shown.
14
theme.ini
Normal file
14
theme.ini
Normal 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
|
Loading…
Reference in a new issue