home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce god mode to protect against destructive commands.
[plomrogue2-experiments]
/
new2
/
plomrogue
/
game.py
diff --git
a/new2/plomrogue/game.py
b/new2/plomrogue/game.py
index 74c79d1e2eadddc7502bd803455f6c691ad70eb5..406d96d2675ca00930d7999fed48fd648d62ac15 100755
(executable)
--- a/
new2/plomrogue/game.py
+++ b/
new2/plomrogue/game.py
@@
-67,7
+67,7
@@
class Game(GameBase):
for i in range(len(lines)):
line = lines[i]
print("FILE INPUT LINE %5s: %s" % (i, line), end='')
- self.io.handle_input(line)
+ self.io.handle_input(line
, god_mode=True
)
def get_string_options(self, string_option_type):
import string