+ Created common.loot_tables.event directory for special item drop changes or for potential bosses.

+ Made yeti boss have a 5% chance to spawn in snow biomes.
+ New yeti entity has ~28.5% chance to drop 1 to 10 exclusive blue cheese, ~57.1% to drop 1 to 3 coal, and ~14.2% chance to drop 1 diamond.
+ Blue cheese heals 60hp over 20 seconds.
+Blue cheese has item_image_manifest and other necessities completed. (Model is current placeholder until Gemu or Hannibal have approved)
This commit is contained in:
UncomfySilence 2021-12-06 14:03:48 +01:00 committed by Joshua Barretto
parent 9a4e6b81d3
commit c2bf1a5345
9 changed files with 58 additions and 9 deletions

View File

@ -0,0 +1,11 @@
EntityConfig (
name: Name("Yeti"),
body: RandomWith("yeti"),
alignment: Alignment(Enemy),
loot: LootTable("common.loot_tables.event.yeti"),
hands: Uninit,
meta: [],
)

View File

@ -0,0 +1,22 @@
ItemDef(
name: "Blue Cheese",
description: "Pungent and filling",
kind: Consumable(
kind: Food,
effects: [
Buff((
kind: Saturation,
data: (
strength: 3.0,
duration: Some((
secs: 20,
nanos: 0,
)),
),
cat_ids: [Natural],
)),
]
),
quality: High,
tags: [Food],
)

View File

@ -0,0 +1,5 @@
[
(2.0, ItemQuantity("common.items.food.blue_cheese", 1, 10)),
(4.0, ItemQuantity("common.items.mineral.ore.coal", 1, 3)),
(1.0, ItemQuantity("common.items.mineral.gem.diamond", 1, 1)),
]

View File

@ -2437,6 +2437,10 @@
Consumable("common.items.food.cheese"): Png(
"element.items.item_cheese",
),
Consumable("common.items.food.blue_cheese"): VoxTrans(
"voxel.object.blue_cheese",
(0.0, 0.0, 0.0), (-60.0, -10.0, 0.0), 0.8,
),
Consumable("common.items.food.mushroom"): VoxTrans(
"voxel.sprite.mushrooms.mushroom-10",
(0.0, 0.0, 0.0), (-50.0, 70.0, 40.0), 1.0,

BIN
assets/voxygen/voxel/object/blue_cheese.vox (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -4,8 +4,9 @@ SpawnEntry (
rules: [
Pack(
groups: [
(1, (1, 1, "common.entity.wild.aggressive.wendigo")),
(1, (1, 1, "common.entity.wild.aggressive.dreadhorn")),
(9, (1, 1, "common.entity.wild.aggressive.wendigo")),
(9, (1, 1, "common.entity.wild.aggressive.dreadhorn")),
(1, (1, 1, "common.entity.wild.aggressive.yeti_christmas")),
],
is_underwater: false,
day_period: [Night, Morning, Noon, Evening],

View File

@ -8,6 +8,7 @@ SpawnEntry (
(1, (1, 1, "common.entity.wild.aggressive.wendigo")),
(1, (1, 1, "common.entity.wild.aggressive.mammoth")),
(1, (1, 1, "common.entity.wild.aggressive.mountain_troll")),
(1, (1, 1, "common.entity.wild.aggressive.yeti_christmas")),
],
is_underwater: false,
day_period: [Night, Morning, Noon, Evening],

View File

@ -4,10 +4,11 @@ SpawnEntry (
rules: [
Pack(
groups: [
(1, (1, 1, "common.entity.wild.aggressive.frostfang")),
(1, (1, 1, "common.entity.wild.aggressive.snow_leopard")),
(1, (1, 1, "common.entity.wild.aggressive.yale")),
(1, (1, 1, "common.entity.wild.aggressive.grolgar")),
(4, (1, 1, "common.entity.wild.aggressive.frostfang")),
(4, (1, 1, "common.entity.wild.aggressive.snow_leopard")),
(4, (1, 1, "common.entity.wild.aggressive.yale")),
(4, (1, 1, "common.entity.wild.aggressive.grolgar")),
(1, (1, 1, "common.entity.wild.aggressive.yeti_christmas")),
],
is_underwater: false,
day_period: [Night, Morning, Noon, Evening],

View File

@ -4,9 +4,10 @@ SpawnEntry (
rules: [
Pack(
groups: [
(1, (1, 3, "common.entity.wild.aggressive.frostfang")),
(1, (1, 3, "common.entity.wild.aggressive.snow_raptor")),
(1, (1, 3, "common.entity.wild.aggressive.roshwalr")),
(6, (1, 3, "common.entity.wild.aggressive.frostfang")),
(6, (1, 3, "common.entity.wild.aggressive.snow_raptor")),
(6, (1, 3, "common.entity.wild.aggressive.roshwalr")),
(1, (1, 1, "common.entity.wild.aggressive.yeti_christmas")),
],
is_underwater: false,
day_period: [Night, Morning, Noon, Evening],