#Settings for world gen (data packs recommended in 1.21.1)
[worldgen]
	#Average chunk separation between companion houses
	# Default: 20
	# Range: > 11
	averageHouseSeparation = 20

[companion]
	#Whether companions can hurt each other
	friendlyFireCompanions = false
	#Whether companion can damage the owning player
	friendlyFirePlayer = true
	#Whether companions take fall damage
	fallDamage = true
	#Whether companions spawn with random armor
	spawnArmor = true
	#Whether companions spawn with a weapon
	spawnWeapon = true
	#Base health for companions; a small random variance is applied on spawn
	# Default: 20
	# Range: > 5
	baseHealth = 20
	#If true, companions ask for food when below half health
	lowHealthFood = true
	#If true, companions warn the player about nearby creepers
	creeperWarning = true

[personality]
	#Enable birth traits for companions (Primary/Secondary).
	traitsEnabled = true
	#Chance (percent) for a companion to roll a secondary trait at spawn.
	# Default: 40
	# Range: 0 ~ 100
	secondaryTraitChance = 40
	#Enable the Bond/Loyalty track.
	bondEnabled = true
	#Enable morale tracking and small performance nudges.
	moraleEnabled = true
	#Ticks between passive bond XP awards while near the owner (20 ticks = 1 second).
	# Default: 1200
	# Range: > 20
	bondTickInterval = 1200
	#Bond XP granted each interval when alive near the owner.
	# Default: 5
	# Range: 0 ~ 10000
	bondTimeXp = 5
	#Bond XP granted when the owner feeds the companion.
	# Default: 15
	# Range: 0 ~ 10000
	bondFeedXp = 15
	#Bond XP granted when resurrecting a companion.
	# Default: 80
	# Range: 0 ~ 100000
	bondResurrectXp = 80
	#Morale change applied when the companion is fed by the owner.
	# Default: 0.05
	# Range: -1.0 ~ 1.0
	moraleFeedDelta = 0.05
	#Morale change applied when the companion nearly dies.
	# Default: -0.07
	# Range: -1.0 ~ 1.0
	moraleNearDeathDelta = -0.07
	#Morale change applied when resurrected.
	# Default: -0.1
	# Range: -1.0 ~ 1.0
	moraleResurrectDelta = -0.1
	#Morale change applied on bond level up.
	# Default: 0.05
	# Range: -1.0 ~ 1.0
	moraleBondLevelDelta = 0.05
	#Chance for Lucky trait companions to duplicate one dropped item on a kill (0.0-1.0).
	# Default: 0.05
	# Range: 0.0 ~ 1.0
	luckyExtraDropChance = 0.05
