tweaks consumables buffs values

This commit is contained in:
Monty Marz 2020-11-02 18:33:16 +01:00 committed by Snowram
parent a52f83e92c
commit eb79820c25
14 changed files with 66 additions and 38 deletions

View File

@ -1,6 +1,6 @@
ItemDef( ItemDef(
name: "Flask of Velorite Dust", name: "Flask of Velorite Dust",
description: "Increases Exp by 250\n\nTake with plenty of water\n\n<Right-Click to use>", description: "Increases Exp by 250\n\nTake with plenty of water",
kind: Consumable( kind: Consumable(
kind: "PotionExp", kind: "PotionExp",
effect: [ effect: [

View File

@ -1,12 +1,19 @@
ItemDef( ItemDef(
name: "Potent Potion", name: "Potent Potion",
description: "A potent healing potion.\n\nRestores 100 health on use\n\n<Right-Click to use>", description: "A potent healing potion.\n\nRestores 100 health on use",
kind: Consumable( kind: Consumable(
kind: "Potion", kind: "Potion",
effect: [ effect: [
Health(( Buff((
amount: 1000, kind: Saturation,
cause: Item, data: (
strength: 1000.0,
duration: Some((
secs: 1,
nanos: 0,
)),
),
cat_ids: [Natural],
)), )),
] ]
), ),

View File

@ -1,6 +1,6 @@
ItemDef( ItemDef(
name: "Potion of Skill", name: "Potion of Skill",
description: "Provides 250 XP to the drinker\n\n<Right-Click to use>", description: "Provides 250 XP to the drinker",
kind: Consumable( kind: Consumable(
kind: "Potion", kind: "Potion",
effect: [ effect: [

View File

@ -4,9 +4,16 @@ ItemDef(
kind: Consumable( kind: Consumable(
kind: "PotionLarge", kind: "PotionLarge",
effect: [ effect: [
Health(( Buff((
amount: 1000, kind: Saturation,
cause: Item, data: (
strength: 1000.0,
duration: Some((
secs: 1,
nanos: 0,
)),
),
cat_ids: [Natural],
)), )),
] ]
), ),

View File

@ -4,9 +4,16 @@ ItemDef(
kind: Consumable( kind: Consumable(
kind: "PotionMed", kind: "PotionMed",
effect: [ effect: [
Health(( Buff((
amount: 700, kind: Saturation,
cause: Item, data: (
strength: 700.0,
duration: Some((
secs: 1,
nanos: 0,
)),
),
cat_ids: [Natural],
)), )),
] ]
), ),

View File

@ -4,9 +4,16 @@ ItemDef(
kind: Consumable( kind: Consumable(
kind: "PotionMinor", kind: "PotionMinor",
effect: [ effect: [
Health(( Buff((
amount: 500, kind: Saturation,
cause: Item, data: (
strength: 500.0,
duration: Some((
secs: 1,
nanos: 0,
)),
),
cat_ids: [Natural],
)), )),
] ]
), ),

View File

@ -1,15 +1,15 @@
ItemDef( ItemDef(
name: "Apple", name: "Apple",
description: "Restores 10 Health over 10 seconds\n\nRed and juicy", description: "Restores 10 Health over 20 seconds\n\nRed and juicy",
kind: Consumable( kind: Consumable(
kind: "Apple", kind: "Apple",
effect: [ effect: [
Buff(( Buff((
kind: Saturation, kind: Saturation,
data: ( data: (
strength: 10.0, strength: 5.0,
duration: Some(( duration: Some((
secs: 10, secs: 20,
nanos: 0, nanos: 0,
)), )),
), ),

View File

@ -1,15 +1,15 @@
ItemDef( ItemDef(
name: "Mushroom Curry", name: "Mushroom Curry",
description: "Restores 120 Health over 5 seconds\n\nWho could say no to that?", description: "Restores 120 Health over 20 seconds\n\nWho could say no to that?",
kind: Consumable( kind: Consumable(
kind: "AppleShroomCurry", kind: "AppleShroomCurry",
effect: [ effect: [
Buff(( Buff((
kind: Saturation, kind: Saturation,
data: ( data: (
strength: 240.0, strength: 60.0,
duration: Some(( duration: Some((
secs: 5, secs: 20,
nanos: 0, nanos: 0,
)), )),
), ),

View File

@ -1,15 +1,15 @@
ItemDef( ItemDef(
name: "Apple Stick", name: "Apple Stick",
description: "Restores 25 Health over 5 seconds\n\nThe stick makes it easier to carry!", description: "Restores 25 Health over 20 seconds\n\nThe stick makes it easier to carry!",
kind: Consumable( kind: Consumable(
kind: "AppleStick", kind: "AppleStick",
effect: [ effect: [
Buff(( Buff((
kind: Saturation, kind: Saturation,
data: ( data: (
strength: 50.0, strength: 12.5,
duration: Some(( duration: Some((
secs: 5, secs: 20,
nanos: 0, nanos: 0,
)), )),
), ),

View File

@ -1,15 +1,15 @@
ItemDef( ItemDef(
name: "Dwarven Cheese", name: "Dwarven Cheese",
description: "Restores 15 Health over 10 seconds\n\nAromatic and nutritious", description: "Restores 15 Health over 20 seconds\n\nAromatic and nutritious",
kind: Consumable( kind: Consumable(
kind: "Cheese", kind: "Cheese",
effect: [ effect: [
Buff(( Buff((
kind: Saturation, kind: Saturation,
data: ( data: (
strength: 15.0, strength: 7.5,
duration: Some(( duration: Some((
secs: 10, secs: 20,
nanos: 0, nanos: 0,
)), )),
), ),

View File

@ -1,15 +1,15 @@
ItemDef( ItemDef(
name: "Coconut", name: "Coconut",
description: "Restores 20 health over 10 seconds\n\nReliable source of water and fat", description: "Restores 20 health over 20 seconds\n\nReliable source of water and fat",
kind: Consumable( kind: Consumable(
kind: "Coconut", kind: "Coconut",
effect: [ effect: [
Buff(( Buff((
kind: Saturation, kind: Saturation,
data: ( data: (
strength: 20.0, strength: 10.0,
duration: Some(( duration: Some((
secs: 10, secs: 20,
nanos: 0, nanos: 0,
)), )),
), ),

View File

@ -7,9 +7,9 @@ ItemDef(
Buff(( Buff((
kind: Saturation, kind: Saturation,
data: ( data: (
strength: 5.0, strength: 2.5,
duration: Some(( duration: Some((
secs: 10, secs: 20,
nanos: 0, nanos: 0,
)), )),
), ),

View File

@ -1,15 +1,15 @@
ItemDef( ItemDef(
name: "Mushroom Stick", name: "Mushroom Stick",
description: "Restores 20 Health over 5 seconds\n\nRoasted mushrooms on a stick for easy carrying.", description: "Restores 20 Health over 20 seconds\n\nRoasted mushrooms on a stick for easy carrying",
kind: Consumable( kind: Consumable(
kind: "MushroomStick", kind: "MushroomStick",
effect: [ effect: [
Buff(( Buff((
kind: Saturation, kind: Saturation,
data: ( data: (
strength: 40.0, strength: 10.0,
duration: Some(( duration: Some((
secs: 5, secs: 20,
nanos: 0, nanos: 0,
)), )),
), ),

View File

@ -1,15 +1,15 @@
ItemDef( ItemDef(
name: "Sunflower Ice Tea", name: "Sunflower Ice Tea",
description: "Restores 50 Health over 5 seconds\n\nBrewed from freshly shelled sunflower seeds.", description: "Restores 50 Health over 20 seconds\n\nBrewed from freshly shelled sunflower seeds",
kind: Consumable( kind: Consumable(
kind: "SunflowerTea", kind: "SunflowerTea",
effect: [ effect: [
Buff(( Buff((
kind: Saturation, kind: Saturation,
data: ( data: (
strength: 100.0, strength: 25.0,
duration: Some(( duration: Some((
secs: 5, secs: 20,
nanos: 0, nanos: 0,
)), )),
), ),