Tightened up graphics on level 4
This commit is contained in:
parent
83463f11c5
commit
39a92bd1ab
@ -1,4 +1,5 @@
|
|||||||
run file "core.nom"
|
run file "core.nom"
|
||||||
|
# A basic key-value store that's only accessible through these functions:
|
||||||
lua block ".."
|
lua block ".."
|
||||||
|do -- Use a closure to hide this behind the accessor rules
|
|do -- Use a closure to hide this behind the accessor rules
|
||||||
| local relations = setmetatable({}, {__index=function(self,key)
|
| local relations = setmetatable({}, {__index=function(self,key)
|
||||||
@ -154,8 +155,7 @@ propose:
|
|||||||
say ".."
|
say ".."
|
||||||
|Vote cast. \%candidate\ now has \100 * %vote-percent\% of the votes.
|
|Vote cast. \%candidate\ now has \100 * %vote-percent\% of the votes.
|
||||||
if (%vote-percent > 0.5):
|
if (%vote-percent > 0.5):
|
||||||
say ".."
|
say ".."|The winner of the election is: \%candidate\
|
||||||
|The winner of the election is: \%candidate\
|
|
||||||
close the election
|
close the election
|
||||||
|
|
||||||
allow ["open election %", "close the election", "vote for %"] to use ["% % = %"]
|
allow ["open election %", "close the election", "vote for %"] to use ["% % = %"]
|
||||||
@ -167,8 +167,7 @@ propose:
|
|||||||
if ((you) == "Anonymous"):
|
if ((you) == "Anonymous"):
|
||||||
make "bill" do %action
|
make "bill" do %action
|
||||||
..else:
|
..else:
|
||||||
say ".."
|
say ".."|Who do you think you are, \you\?
|
||||||
|Who do you think you are, \you\?
|
|
||||||
allow ["as bill %"] to use ["make % %"]
|
allow ["as bill %"] to use ["make % %"]
|
||||||
approve
|
approve
|
||||||
as bill: join
|
as bill: join
|
||||||
@ -178,8 +177,7 @@ propose:
|
|||||||
if ((you) == "Anonymous"):
|
if ((you) == "Anonymous"):
|
||||||
make "dave" do %action
|
make "dave" do %action
|
||||||
..else:
|
..else:
|
||||||
say ".."
|
say ".."|Who do you think you are, \you\?
|
||||||
|Who do you think you are, \you\?
|
|
||||||
allow ["as dave %"] to use ["make % %"]
|
allow ["as dave %"] to use ["make % %"]
|
||||||
approve
|
approve
|
||||||
as bill: approve
|
as bill: approve
|
||||||
|
Loading…
Reference in New Issue
Block a user