selery.item.consumeable

Members

Aliases

EffectInfo
alias EffectInfo = Tuple!(sul.effects.Effect, "effect", uint, "duration", ubyte, "level", float, "probability")
Undocumented in source.
PotionItem
alias PotionItem(sul.items.Item si) = ConsumeableItem!(si, [], Residue.bottle)
Undocumented in source.
PotionItem
alias PotionItem(sul.items.Item si, EffectInfo effect) = ConsumeableItem!(si, [effect], Residue.bottle)
Undocumented in source.
SoupItem
alias SoupItem(sul.items.Item si, uint ghunger, float gsaturation) = FoodItem!(si, ghunger, gsaturation, [], Residue.bowl)
Undocumented in source.

Classes

ClearEffectsItem
class ClearEffectsItem(sul.items.Item si, item_t residue)
Undocumented in source.
ConsumeableItem
class ConsumeableItem(sul.items.Item si, EffectInfo[] effects, Residue residue = Residue.substract)
Undocumented in source.
CropFoodItem
class CropFoodItem(sul.items.Item si, uint ghunger, float gsaturation, block_t block)
Undocumented in source.
FoodItem
class FoodItem(sul.items.Item si, uint ghunger, float gsaturation, EffectInfo[] effects = [], Residue residue = Residue.substract)
Undocumented in source.
TeleportationItem
class TeleportationItem(sul.items.Item si, uint ghunger, float gsaturation)
Undocumented in source.

Enums

Potions
enum Potions
Undocumented in source.
Residue
enum Residue
Undocumented in source.

Functions

effectInfo
EffectInfo effectInfo(sul.effects.Effect effect, uint duration, string level, float prob)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

MIT

Authors

Kripth