Buff stonegolem, nerf giants, add missing sfxs

This commit is contained in:
Snowram 2020-11-05 10:18:06 +01:00
parent ca932f6c15
commit 0d92f02deb
5 changed files with 68 additions and 6 deletions

View File

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

View File

@ -383,6 +383,30 @@
],
threshold: 0.3,
),
Inventory(Consumed("PotionMed")): (
files: [
"voxygen.audio.sfx.inventory.consumable.liquid",
],
threshold: 0.3,
),
Inventory(Consumed("PotionLarge")): (
files: [
"voxygen.audio.sfx.inventory.consumable.liquid",
],
threshold: 0.3,
),
Inventory(Consumed("PotionExp")): (
files: [
"voxygen.audio.sfx.inventory.consumable.liquid",
],
threshold: 0.3,
),
Inventory(Consumed("SunflowerTea")): (
files: [
"voxygen.audio.sfx.inventory.consumable.liquid",
],
threshold: 0.3,
),
Inventory(Consumed("Apple")): (
files: [
"voxygen.audio.sfx.inventory.consumable.apple",
@ -401,6 +425,42 @@
],
threshold: 0.3,
),
Inventory(Consumed("AppleShroomCurry")): (
files: [
"voxygen.audio.sfx.inventory.consumable.food",
],
threshold: 0.3,
),
Inventory(Consumed("AppleStick")): (
files: [
"voxygen.audio.sfx.inventory.consumable.food",
],
threshold: 0.3,
),
Inventory(Consumed("Coconut")): (
files: [
"voxygen.audio.sfx.inventory.consumable.food",
],
threshold: 0.3,
),
Inventory(Consumed("MushroomStick")): (
files: [
"voxygen.audio.sfx.inventory.consumable.food",
],
threshold: 0.3,
),
Inventory(Consumed("Velorite")): (
files: [
"voxygen.audio.sfx.inventory.consumable.food",
],
threshold: 0.3,
),
Inventory(Consumed("VeloriteFrag")): (
files: [
"voxygen.audio.sfx.inventory.consumable.food",
],
threshold: 0.3,
),
Explosion: (
files: [
// in code

View File

@ -276,7 +276,7 @@ impl Body {
_ => 1000,
},
Body::Object(_) => 10000,
Body::Golem(_) => 2560,
Body::Golem(_) => 2740,
Body::Theropod(_) => 50,
Body::QuadrupedLow(quadruped_low) => match quadruped_low.species {
quadruped_low::Species::Crocodile => 600,

View File

@ -260,8 +260,10 @@ impl Default for Inventory {
slots: vec![None; 36],
amount: 0,
};
inventory.push(Item::new_from_asset_expect(
"common.items.consumable.potion_minor",
));
inventory.push(Item::new_from_asset_expect("common.items.food.cheese"));
inventory.push(Item::new_from_asset_expect("common.items.food.apple"));
inventory
}
}

View File

@ -138,7 +138,7 @@ impl<'a> System<'a> for Sys {
body,
);
}
stats.level.set_level(rand::thread_rng().gen_range(30, 35));
stats.level.set_level(rand::thread_rng().gen_range(25, 30));
scale = 2.0 + rand::random::<f32>();
}