
import json
with open('../Task_Data/vh_config.json', 'r') as f:
    config = json.load(f)

available = config["available"]
init_pos = config["init_obj"]
VH_SKILL = config["VH_SKILL"]

id2skill  = {
    0: "grab toothbrush",
    1: "grab apple",
    2: "grab pillow",
    3: "switch on microwave",
    4: "open fridge",
    5: "sit bed",
    6: "find bookshelf",
    7: "put in bananas fridge",
    8: "find bathtub",
    9: "open microwave",
    10: "find sofa",
    11: "sit sofa",
    12: "put in cellphone fridge",
    13: "put cat bathtub",
    14: "put creamybuns kitchentable",
    15: "put in cereal fridge",
    16: "find bathroomcounter",
    17: "put cat desk",
    18: "put breadslice kitchentable",
    19: "grab toothpaste",
    20: "put bananas sink",
    21: "find bed",
    22: "grab breadslice",
    23: "grab book",
    24: "find desk",
    25: "find fridge",
    26: "switch on toaster",
    27: "put clothespants bed",
    28: "close microwave",
    29: "put cereal kitchentable",
    30: "close bathroomcabinet",
    31: "find closetdrawer",
    32: "grab salmon",
    33: "find sink",
    34: "find toaster",
    35: "open bathroomcabinet",
    36: "grab creamybuns",
    37: "find microwave",
    38: "close fridge",
    39: "find kitchentable",
    40: "grab cereal",
    41: "put in apple microwave",
    42: "put clothespants bathroomcounter",
    43: "put in toothpaste bathroomcabinet",
    44: "put cat bed",
    45: "put in apple fridge",
    46: "grab bananas",
    47: "put apple breadslice",
    48: "grab cellphone",
    49: "grab clothespants",
    50: "put in creamybuns fridge",
    51: "put in salmon microwave",
    52: "find wallshelf",
    53: "find coffeetable",
    54: "put bananas breadslice",
    55: "grab cat",
    56: "put apple sink",
    57: "put in salmon fridge"
}

skill2id = {v: k for (k, v) in id2skill.items()}

n_skills = len(id2skill)

