forked from GitHub/gf-core
extended dialogue example
This commit is contained in:
19
examples/dialogue/LightsFin.gf
Normal file
19
examples/dialogue/LightsFin.gf
Normal file
@@ -0,0 +1,19 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete LightsFin of Lights =
|
||||
DialogueFin ** open LangFin, ParadigmsFin, AuxFin in {
|
||||
|
||||
lin
|
||||
Light = UseN (regN "valo") ;
|
||||
Room = UseN (regN "huone") ;
|
||||
SwitchOnIn = dirV3 (regV "sytyttää") inessive ;
|
||||
SwitchOffIn = dirV3 (regV "sammuttaa") inessive ;
|
||||
SwitchOn = dirV2 (regV "sytyttää") ;
|
||||
SwitchOff = dirV2 (regV "sammuttaa") ;
|
||||
|
||||
LivingRoom = defN (regN "olohuone") ;
|
||||
Kitchen = defN (regN "keittiö") ;
|
||||
|
||||
MorningMode = mkMove ["aamuvalaistus"] ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user