mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
d4c61ae2f3
+ change `effect` field in ItemKind::Consumable to `effects`, as it's set of effects and not single effect.
23 lines
546 B
Plaintext
23 lines
546 B
Plaintext
ItemDef(
|
|
name: "Coltsfoot",
|
|
description: "A daisy-like flower often used in herbal teas.",
|
|
kind: Consumable(
|
|
kind: Food,
|
|
effects: [
|
|
Buff((
|
|
kind: Saturation,
|
|
data: (
|
|
strength: 10.0,
|
|
duration: Some((
|
|
secs: 5,
|
|
nanos: 0,
|
|
)),
|
|
),
|
|
cat_ids: [Natural],
|
|
)),
|
|
]
|
|
),
|
|
quality: Common,
|
|
tags: [Food],
|
|
)
|