fix reset
This commit is contained in:
parent
e4f888d7ff
commit
eec0e5e6cf
|
@ -1,11 +1,13 @@
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
import shutil
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
def reset():
|
def reset():
|
||||||
with open("./bag/treasure.jpg", "w") as keyfile:
|
|
||||||
keyfile.write("lost")
|
shutil.rmtree('bag')
|
||||||
|
Path('adventure/seafloor/coral_reef/.timer').unlink()
|
||||||
|
|
||||||
print(" You are swimming as fast as you can towards the boat but you can")
|
print(" You are swimming as fast as you can towards the boat but you can")
|
||||||
print(" feel the water begin to pull you back as the sea monster opens its")
|
print(" feel the water begin to pull you back as the sea monster opens its")
|
||||||
|
|
Loading…
Reference in New Issue