selery ~master (2019-01-01T00:21:55Z)
Dub
Repo
FoodItem
selery
item
consumeable
Undocumented in source.
class
FoodItem : ConsumeableItem!(si, effects, residue)(
sul
.
items
.
Item
si
uint
ghunger
float
gsaturation
EffectInfo
[]
effects
= []
Residue
residue
=
Residue
.
substract
) {
alias
sul
=
si
;
this
(E args);
static
uint
hunger
[@property getter];
static
float
saturation
[@property getter];
Item
onConsumed
(Player player);
}
Constructors
this
this
(E args)
Undocumented in source.
Members
Aliases
sul
alias
sul
=
si
Undocumented in source.
Functions
onConsumed
Item
onConsumed
(Player player)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
hunger
uint
hunger
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
saturation
float
saturation
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
selery
item
consumeable
aliases
EffectInfo
PotionItem
SoupItem
classes
ClearEffectsItem
ConsumeableItem
CropFoodItem
FoodItem
TeleportationItem
enums
Potions
Residue
functions
effectInfo