fix reset

This commit is contained in:
emmaqbrown 2021-08-24 10:28:08 +08:00
parent e4f888d7ff
commit eec0e5e6cf
1 changed files with 5 additions and 3 deletions

View File

@ -1,11 +1,13 @@
from pathlib import Path
from pathlib import Path
import shutil
from datetime import datetime
from datetime import timedelta
import subprocess
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(" feel the water begin to pull you back as the sea monster opens its")