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
540 B
Plaintext
23 lines
540 B
Plaintext
ItemDef(
|
|
name: "Garlic",
|
|
description: "Make sure to brush your teeth after eating.",
|
|
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],
|
|
)
|