diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-03 19:19:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-03 19:19:41 -0300 |
commit | 711f197ebc7a84270df768964662165c022b6c97 (patch) | |
tree | 98acc3bb69ce888d562b6756a8d67198f907f5fe /npc/annuals | |
parent | 896c9f57d8ae813917038a31e2a293e19b94a49e (diff) | |
download | serverdata-711f197ebc7a84270df768964662165c022b6c97.tar.gz serverdata-711f197ebc7a84270df768964662165c022b6c97.tar.bz2 serverdata-711f197ebc7a84270df768964662165c022b6c97.tar.xz serverdata-711f197ebc7a84270df768964662165c022b6c97.zip |
Prepare some of the logical code for the enigma
Diffstat (limited to 'npc/annuals')
-rw-r--r-- | npc/annuals/xmas/2021.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt index 67b65ac2..97f5422f 100644 --- a/npc/annuals/xmas/2021.txt +++ b/npc/annuals/xmas/2021.txt @@ -424,6 +424,15 @@ OnInstanceInit: 'COLORCODE[4] = rand2(0, 2); 'COLORCODE[5] = rand2(0, 2); 'OBSCURECOLOR = any(0, 1); + 'TRUES=0; + 'TRUTHSTAT[0]=any(false, true); + if ('TRUTHSTAT[0]) + 'TRUES+=1; + 'TRUTHSTAT[1]=any(false, true); + if ('TRUTHSTAT[1]) + 'TRUES+=1; + 'TRUTHSTAT[2]=any(false, ('TRUES >= 2 ? false : true)); + 'TRUES=0; end; OnInit: |