Script HealthItemComponents

Components

consumableCurseHealth Curses some of the consumer's hearts
consumableFood Tags the item as "food", allowing its consumption to be affected by food-specific traits (gluttony)
consumableHeal Heals the consumer
itemConsumeOnFoodOverheal Consumes the item when its holder overheals with a food item
itemConsumeOnLethalHit
itemDamageOnPickup Damages the holder upon picking up the item
itemEnableFoodOverheal Grants the holder the ability to overheal from consuming food items
itemHealOnFirstPickup Heals the holder upon first pickup of the item
itemHealOnLevelChange Heals the holder upon entering a level
itemIncreaseMaxHealth Temporarily increases the holder's maximum health, until the item is unequipped.
itemIncrementRegenerationKillCounter When making a kill with this item equipped, the kill regeneration kill counter is incremented


Components

consumableCurseHealth
Curses some of the consumer's hearts
  • health constant int (default 0)
consumableFood
Tags the item as "food", allowing its consumption to be affected by food-specific traits (gluttony)
consumableHeal
Heals the consumer
  • health constant int (default 0)
  • maxHealth constant int (default 0)
  • cursedHealth constant int (default 0)
  • invincibility constant int (default 1)
  • overheal constant bool (default false)
  • silent constant bool (default false)
  • noParticles constant bool (default false)
itemConsumeOnFoodOverheal
Consumes the item when its holder overheals with a food item
itemConsumeOnLethalHit
itemDamageOnPickup
Damages the holder upon picking up the item
  • damage constant int (default 0)
  • type constant int (default damage.Type.BLOOD)
itemEnableFoodOverheal
Grants the holder the ability to overheal from consuming food items
itemHealOnFirstPickup
Heals the holder upon first pickup of the item
  • health constant int (default 0)
  • done bool (default false)
itemHealOnLevelChange
Heals the holder upon entering a level
  • health constant int (default 0)
itemIncreaseMaxHealth
Temporarily increases the holder's maximum health, until the item is unequipped.
  • maxHealth constant int (default 0)
  • healthGained int (default 0)
itemIncrementRegenerationKillCounter
When making a kill with this item equipped, the kill regeneration kill counter is incremented
  • increment constant int (default 1)
generated by LDoc 1.4.6