Added EnableTextMode Dwarf Fortress for playing CLI

This commit is contained in:
TrevtheForthDev
2019-05-08 04:07:21 +09:00
committed by Lassulus
parent 5fdb9f3ba0
commit 3fcd66cce8
2 changed files with 7 additions and 1 deletions
@@ -11,6 +11,7 @@
, enableIntro ? true
, enableTruetype ? true
, enableFPS ? false
, enableTextMode ? false
}:
let
@@ -58,6 +59,10 @@ let
'' + lib.optionalString enableTWBT ''
substituteInPlace $out/data/init/init.txt \
--replace '[PRINT_MODE:2D]' '[PRINT_MODE:TWBT]'
'' +
lib.optionalString enableTextMode ''
substituteInPlace $out/data/init/init.txt \
--replace '[PRINT_MODE:2D]' '[PRINT_MODE:TEXT]'
'' + ''
substituteInPlace $out/data/init/init.txt \
--replace '[INTRO:YES]' '[INTRO:${unBool enableIntro}]' \