# Configuration file

####################
# _general
#===================
# General and/or miscellaneous options.
# All absorption amounts are in half hearts.
####################

_general {
    # The amount of natural absorption a player loses with each death. Will not reduce below 'min_absorption'.
    D:death_penalty=4.0

    # The maximum natural absorption a player may obtain.
    D:max_absorption=20.0

    # A player will not drop below this much natural absorption due to death penalty.
    D:min_absorption=8.0

    # If true, players will start out and respawn with full absorption shields (instead of 0).
    B:recover_on_spawn=true

    # The amount of natural absorption a player starts with.
    D:starting_absorption=4.0
}


####################
# recovery
#===================
# Options relating to absorption shield recovery.
####################

recovery {
    # The amount of time (in ticks) a player must go without taking damage before his/her absorption shield begins to recover. If this is less than 0, players will not naturally recover lost absorption shields.
    I:recover_delay=200

    # The amount of absorption health regenerated each tick while recovering.
    D:recover_rate=0.1

    # The number of ticks between shield recovery updates.
    I:update_time=2
}


####################
# upgrades
#===================
# Options related to upgrading your absorption shield.
####################

upgrades {
    # The amount of maximum absorption gained when a book of absorption is used.
    D:absorption_gain=4.0

    # The number of levels required to use a book of absorption.
    I:level_cost=30

    # The recipe for making a book of absorption.
    #  0 - cannot be crafted
    #  1 - book + golden apple
    #  2 - book surrounded by 4 golden apples
    #  3 - book surrounded by 8 golden apples
    #  4 - book + epic golden apple
    #  5 - book surrounded by 4 epic golden apples
    #  6 - book surrounded by 8 epic golden apples
    I:recipe=3

    # If true, a book and quill will be required to craft a book of absorption instead of a regular book.
    B:recipe_alt=false
}


