-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.py
More file actions
37 lines (28 loc) · 866 Bytes
/
test.py
File metadata and controls
37 lines (28 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from main_functions import *
from endpoints import *
import argparse
"""
Use this file to travel to a room
If you want to pick up treasure along the way
add the --collect_treasure flag
default for treasure is False
-- Dashing --
If you have dash you will auto dash
If you are collecting treasure, you will not dash
-------------
-- Recalling --
If you have recall and fast_travel to room 0, you will use recall
If you are collecting treasure, you will not recall
---------------
examples:
python fast_travel.py --room 80
python fast_travel.py --room 1
python fast_travel.py --room 12 --collect_treasure True
"""
parser = argparse.ArgumentParser(description='Fast travel')
parser.add_argument('--coin')
parser.add_argument('--abilities', default=None, nargs='+')
args = parser.parse_args()
print(args.coin)
print(args.abilities)
print(type(args.abilities))