Make more variable modifiable through engine events.
This commit is contained in:
parent
b29fc7d929
commit
3448684363
20
main.py
20
main.py
@ -87,14 +87,24 @@ def mainLoop():
|
||||
'ground': ground
|
||||
}
|
||||
for i in aoEngineEvents:
|
||||
if i.sVariableToModify == "bCont":
|
||||
if i.sVariableToModify == "bCap":
|
||||
bCap = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "bCont":
|
||||
bCont = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "debugInfo":
|
||||
debugInfo = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "gPlayer":
|
||||
gPlayer = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "bCap":
|
||||
bCap = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "fontSize":
|
||||
fontSize = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "wall_buffer":
|
||||
wall_buffer = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "alerts":
|
||||
alerts = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "sky":
|
||||
sky = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "ground":
|
||||
ground = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "debugInfo":
|
||||
debugInfo = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify == "level":
|
||||
level = i.fLambda(list(map(lambda oX: state[oX], i.tsArguments)))
|
||||
elif i.sVariableToModify is None:
|
||||
|
Loading…
Reference in New Issue
Block a user