Lua: Allow setting debug_flags

This commit is contained in:
Pasi Kallinen
2021-07-29 07:36:08 +03:00
parent bb23c4f557
commit 7bfbe0fba9
4 changed files with 24 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ local POS = { x = 10, y = 05 };
local number_pad = 0;
function initlev()
nh.monster_generation(false);
nh.debug_flags({mongen = false, hunger = false });
des.level_flags("noflip");
des.reset_level();
des.level_init({ style = "solidfill", fg = ".", lit = true });