Skill tests: discovering an existing sublocation discover_subloc vs. subloc_concealment - subloc_size_diff finding another stack in a location discover_stack vs. stack_conceal - stack_size_diff --CODE-- import whrandom # the fundemental skill test def skill_test(a,b=50): float_a = float(a) float_b = float(b) target = float_a / (float_a + float_b) if whrandom.random() <= target: return 1 return 0