
# -> If player is holding a filled map then add to scribing XP
execute if items entity @s weapon.* filled_map run \
    function overly_realistic:players/wisdom/scribing/add_to_skill_xp_c_map_new_biome

# -> Give player more intelligence
function overly_realistic:players/intelligence/add_2_intelligence

# -> On RNG, return
execute unless predicate overly_realistic:player/actions/discover_biome_extra_int_rng run \
    return fail

# -> Grant extra intelligence
function overly_realistic:players/intelligence/add_1_intelligence

# -> On RNG, return
execute unless predicate overly_realistic:player/actions/discover_biome_extra_int_rng run \
    return fail

# -> Grant extra intelligence
function overly_realistic:players/intelligence/add_2_intelligence
