mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
+ 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:
parent
9a4e6b81d3
commit
c2bf1a5345
11
assets/common/entity/wild/aggressive/yeti_christmas.ron
Normal file
11
assets/common/entity/wild/aggressive/yeti_christmas.ron
Normal 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: [],
|
||||||
|
)
|
22
assets/common/items/food/blue_cheese.ron
Normal file
22
assets/common/items/food/blue_cheese.ron
Normal 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],
|
||||||
|
)
|
5
assets/common/loot_tables/event/yeti.ron
Normal file
5
assets/common/loot_tables/event/yeti.ron
Normal 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)),
|
||||||
|
]
|
@ -2437,6 +2437,10 @@
|
|||||||
Consumable("common.items.food.cheese"): Png(
|
Consumable("common.items.food.cheese"): Png(
|
||||||
"element.items.item_cheese",
|
"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(
|
Consumable("common.items.food.mushroom"): VoxTrans(
|
||||||
"voxel.sprite.mushrooms.mushroom-10",
|
"voxel.sprite.mushrooms.mushroom-10",
|
||||||
(0.0, 0.0, 0.0), (-50.0, 70.0, 40.0), 1.0,
|
(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
BIN
assets/voxygen/voxel/object/blue_cheese.vox
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -4,8 +4,9 @@ SpawnEntry (
|
|||||||
rules: [
|
rules: [
|
||||||
Pack(
|
Pack(
|
||||||
groups: [
|
groups: [
|
||||||
(1, (1, 1, "common.entity.wild.aggressive.wendigo")),
|
(9, (1, 1, "common.entity.wild.aggressive.wendigo")),
|
||||||
(1, (1, 1, "common.entity.wild.aggressive.dreadhorn")),
|
(9, (1, 1, "common.entity.wild.aggressive.dreadhorn")),
|
||||||
|
(1, (1, 1, "common.entity.wild.aggressive.yeti_christmas")),
|
||||||
],
|
],
|
||||||
is_underwater: false,
|
is_underwater: false,
|
||||||
day_period: [Night, Morning, Noon, Evening],
|
day_period: [Night, Morning, Noon, Evening],
|
||||||
|
@ -8,6 +8,7 @@ SpawnEntry (
|
|||||||
(1, (1, 1, "common.entity.wild.aggressive.wendigo")),
|
(1, (1, 1, "common.entity.wild.aggressive.wendigo")),
|
||||||
(1, (1, 1, "common.entity.wild.aggressive.mammoth")),
|
(1, (1, 1, "common.entity.wild.aggressive.mammoth")),
|
||||||
(1, (1, 1, "common.entity.wild.aggressive.mountain_troll")),
|
(1, (1, 1, "common.entity.wild.aggressive.mountain_troll")),
|
||||||
|
(1, (1, 1, "common.entity.wild.aggressive.yeti_christmas")),
|
||||||
],
|
],
|
||||||
is_underwater: false,
|
is_underwater: false,
|
||||||
day_period: [Night, Morning, Noon, Evening],
|
day_period: [Night, Morning, Noon, Evening],
|
||||||
|
@ -4,10 +4,11 @@ SpawnEntry (
|
|||||||
rules: [
|
rules: [
|
||||||
Pack(
|
Pack(
|
||||||
groups: [
|
groups: [
|
||||||
(1, (1, 1, "common.entity.wild.aggressive.frostfang")),
|
(4, (1, 1, "common.entity.wild.aggressive.frostfang")),
|
||||||
(1, (1, 1, "common.entity.wild.aggressive.snow_leopard")),
|
(4, (1, 1, "common.entity.wild.aggressive.snow_leopard")),
|
||||||
(1, (1, 1, "common.entity.wild.aggressive.yale")),
|
(4, (1, 1, "common.entity.wild.aggressive.yale")),
|
||||||
(1, (1, 1, "common.entity.wild.aggressive.grolgar")),
|
(4, (1, 1, "common.entity.wild.aggressive.grolgar")),
|
||||||
|
(1, (1, 1, "common.entity.wild.aggressive.yeti_christmas")),
|
||||||
],
|
],
|
||||||
is_underwater: false,
|
is_underwater: false,
|
||||||
day_period: [Night, Morning, Noon, Evening],
|
day_period: [Night, Morning, Noon, Evening],
|
||||||
|
@ -4,9 +4,10 @@ SpawnEntry (
|
|||||||
rules: [
|
rules: [
|
||||||
Pack(
|
Pack(
|
||||||
groups: [
|
groups: [
|
||||||
(1, (1, 3, "common.entity.wild.aggressive.frostfang")),
|
(6, (1, 3, "common.entity.wild.aggressive.frostfang")),
|
||||||
(1, (1, 3, "common.entity.wild.aggressive.snow_raptor")),
|
(6, (1, 3, "common.entity.wild.aggressive.snow_raptor")),
|
||||||
(1, (1, 3, "common.entity.wild.aggressive.roshwalr")),
|
(6, (1, 3, "common.entity.wild.aggressive.roshwalr")),
|
||||||
|
(1, (1, 1, "common.entity.wild.aggressive.yeti_christmas")),
|
||||||
],
|
],
|
||||||
is_underwater: false,
|
is_underwater: false,
|
||||||
day_period: [Night, Morning, Noon, Evening],
|
day_period: [Night, Morning, Noon, Evening],
|
||||||
|
Loading…
Reference in New Issue
Block a user