You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/games/lair/game.lua
+41-1Lines changed: 41 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,14 @@ local starting_lives = 5
12
12
localinfinite_lives=false-- set to true to not lose a life on failure.
13
13
localgod_mode=false-- if true, game plays correct moves automatically, so you never fail.
14
14
localplay_sounds=true-- if true, beeps and buzzes play when appropriate, otherwise, skipped.
15
+
localdraw_hints=true-- if true, draws hint on what button to press.
15
16
16
17
DirkSimple.cvars= {
17
18
{ name="starting_lives", desc="Number of lives player starts with", values="5|4|3|2|1", setter=function(name, value) starting_lives=DirkSimple.to_int(value) end },
18
19
{ name="infinite_lives", desc="Don't lose a life when failing", values="false|true", setter=function(name, value) infinite_lives=DirkSimple.to_bool(value) end },
19
20
{ name="god_mode", desc="Game plays itself perfectly, never failing", values="false|true", setter=function(name, value) god_mode=DirkSimple.to_bool(value) end },
0 commit comments