Policy main: >> Execute up
Policy main: >> if wood > 0 and iron > 0: >> if at_workshop: >> Execute craft << else: >> Execute go_to_workshop << << elif iron == 0: >> Execute collect_iron << elif wood == 0: >> Execute collect_wood
Policy main: >> if iron > 5 and wood >= 3: >> Execute jump
Policy main: >> if head_height > water_level: >> Execute search << elif head_height == water_level: >> Execute swim << else: >> Execute dive
Policy main: >> if wood == 4 and iron > 0: >> Execute run
Policy main: >> if food > 0: >> with P(0.25): >> Execute eat << or with P(0.75): >> Execute drop
Policy main: >> if wood * 5 > 50: >> Execute sell
Policy main: >> if iron == wood: >> Execute craft
Policy main: >> if stone > 5: >> with P(0.5): >> Execute jump << or with P(0.5): >> if sticks > 0: >> Execute craft << else: >> Execute mine
Policy main: >> if sticks * 6 > 40: >> Execute sell
Policy main: >> with P(1/3): >> Execute rock << or with P(1/3): >> Execute scissors << or with P(1/3): >> Execute paper
Policy main: >> if sheep * 9 > 45: >> Execute shear
Policy main: >> if dragons * 3 < 10: >> Execute slay << else: >> Execute flee
Policy main: >> Execute bow
Policy slay_dragon: >> if heads == 1: >> Execute cut_neck << elif hearts == 1: >> Execute stab_heart << else: >> Execute flee
Policy cross_river: >> if current <= 5: >> Execute swim << else: >> Execute build_bridge
Policy get_diamond_sword: >> if sticks > 0 and diamonds > 1: >> Execute craft << else: >> if in_mine: >> Execute mine << else: >> Execute go_to_mine
Policy build_bridge: >> if wood >=4: >> Execute craft << else: >> Execute chop_trees