Browse Source

Initial commit - empty game

post-comp
Alexander Yakovlev 5 years ago
commit
b154d1dc84
  1. 17
      emphasis.lua
  2. 13
      init.lua
  3. BIN
      italic.ttf
  4. 15
      main.lua
  5. BIN
      regular.ttf
  6. 14
      theme.ini

17
emphasis.lua

@ -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

@ -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

Binary file not shown.

15
main.lua

@ -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

Binary file not shown.

14
theme.ini

@ -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…
Cancel
Save