mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
rebase & fix pipeline
This commit is contained in:
parent
fd3c377d1c
commit
19b90d078a
11
assets/common/entity/dungeon/tier-1/boss.ron
Normal file
11
assets/common/entity/dungeon/tier-1/boss.ron
Normal file
@ -0,0 +1,11 @@
|
||||
#![enable(implicit_some)]
|
||||
(
|
||||
name: Name("Yeti"),
|
||||
body: RandomWith("yeti"),
|
||||
alignment: Alignment(Enemy),
|
||||
loot: LootTable("common.loot_tables.dungeon.tier-1.boss"),
|
||||
inventory: (
|
||||
loadout: FromBody,
|
||||
),
|
||||
meta: [],
|
||||
)
|
16
assets/common/entity/dungeon/tier-1/hunter.ron
Normal file
16
assets/common/entity/dungeon/tier-1/hunter.ron
Normal file
@ -0,0 +1,16 @@
|
||||
#![enable(implicit_some)]
|
||||
(
|
||||
name: Name("Adlet Hunter"),
|
||||
body: RandomWith("adlet"),
|
||||
alignment: Alignment(Enemy),
|
||||
loot: LootTable("common.loot_tables.dungeon.tier-1.enemy"),
|
||||
inventory: (
|
||||
loadout: Inline((
|
||||
inherit: Asset("common.loadout.dungeon.adlet.hunter"),
|
||||
active_hands: InHands((Item("common.items.npc_weapons.biped_small.adlet.hunter"), None)),
|
||||
)),
|
||||
),
|
||||
meta: [
|
||||
SkillSetAsset("common.skillset.preset.rank1.fullskill"),
|
||||
],
|
||||
)
|
16
assets/common/entity/dungeon/tier-1/icepicker.ron
Normal file
16
assets/common/entity/dungeon/tier-1/icepicker.ron
Normal file
@ -0,0 +1,16 @@
|
||||
#![enable(implicit_some)]
|
||||
(
|
||||
name: Name("Adlet Icepicker"),
|
||||
body: RandomWith("adlet"),
|
||||
alignment: Alignment(Enemy),
|
||||
loot: LootTable("common.loot_tables.dungeon.tier-1.enemy"),
|
||||
inventory: (
|
||||
loadout: Inline((
|
||||
inherit: Asset("common.loadout.dungeon.adlet.icepicker"),
|
||||
active_hands: InHands((Item("common.items.npc_weapons.biped_small.adlet.icepicker"), None)),
|
||||
)),
|
||||
),
|
||||
meta: [
|
||||
SkillSetAsset("common.skillset.preset.rank1.fullskill"),
|
||||
],
|
||||
)
|
11
assets/common/entity/dungeon/tier-1/rat.ron
Normal file
11
assets/common/entity/dungeon/tier-1/rat.ron
Normal file
@ -0,0 +1,11 @@
|
||||
#![enable(implicit_some)]
|
||||
(
|
||||
name: Name("Rat"),
|
||||
body: RandomWith("rat"),
|
||||
alignment: Alignment(Enemy),
|
||||
loot: LootTable("common.loot_tables.creature.quad_small.generic"),
|
||||
inventory: (
|
||||
loadout: FromBody,
|
||||
),
|
||||
meta: [],
|
||||
)
|
16
assets/common/entity/dungeon/tier-1/tracker.ron
Normal file
16
assets/common/entity/dungeon/tier-1/tracker.ron
Normal file
@ -0,0 +1,16 @@
|
||||
#![enable(implicit_some)]
|
||||
(
|
||||
name: Name("Adlet Tracker"),
|
||||
body: RandomWith("adlet"),
|
||||
alignment: Alignment(Enemy),
|
||||
loot: LootTable("common.loot_tables.dungeon.tier-1.enemy"),
|
||||
inventory: (
|
||||
loadout: Inline((
|
||||
inherit: Asset("common.loadout.dungeon.adlet.tracker"),
|
||||
active_hands: InHands((Item("common.items.npc_weapons.biped_small.adlet.tracker"), None)),
|
||||
)),
|
||||
),
|
||||
meta: [
|
||||
SkillSetAsset("common.skillset.preset.rank1.fullskill"),
|
||||
],
|
||||
)
|
@ -1,5 +1,5 @@
|
||||
[
|
||||
(1.0, ItemQuantity("common.items.crafting_ing.animal_misc.icy_fang", 1, 2)),
|
||||
(1.0, ItemQuantity("common.items.crafting_ing.animal_misc.sharp_fang", 1, 3)),
|
||||
(1.0, MultiDrop(Item("common.items.crafting_ing.animal_misc.icy_fang"), 1, 2)),
|
||||
(1.0, MultiDrop(Item("common.items.crafting_ing.animal_misc.sharp_fang"), 1, 3)),
|
||||
(1.0, Item("common.items.crafting_ing.hide.tough_hide")),
|
||||
]
|
@ -1,5 +1,5 @@
|
||||
[
|
||||
(1.0, ItemQuantity("common.items.crafting_ing.animal_misc.icy_fang", 1, 2)),
|
||||
(1.0, ItemQuantity("common.items.food.meat.tough_raw", 1, 2)),
|
||||
(1.0, MultiDrop(Item("common.items.crafting_ing.animal_misc.icy_fang"), 1, 2)),
|
||||
(1.0, MultiDrop(Item("common.items.food.meat.tough_raw"), 1, 2)),
|
||||
(1.0, Item("common.items.crafting_ing.hide.carapace")),
|
||||
]
|
@ -6,7 +6,7 @@
|
||||
// Currency
|
||||
(3.0, MultiDrop(Item("common.items.utility.coins"), 20, 50)),
|
||||
// Materials
|
||||
(2.0, MultiDrop(Item(""common.items.mineral.ore.veloritefrag", 3, 10)),
|
||||
(2.0, MultiDrop(Item("common.items.mineral.ore.veloritefrag"), 3, 10)),
|
||||
(1.0, MultiDrop(Item("common.items.crafting_ing.cloth.wool"), 3, 10)),
|
||||
(1.0, MultiDrop(Item("common.items.crafting_ing.leather.thick_leather"), 3, 10)),
|
||||
(1.0, MultiDrop(Item("common.items.mineral.ingot.iron"), 3, 10)),
|
||||
|
@ -10,7 +10,7 @@
|
||||
(1.0, MultiDrop(Item("common.items.crafting_ing.hide.carapace"), 2, 6)),
|
||||
(1.0, MultiDrop(Item("common.items.mineral.ingot.cobalt"), 2, 6)),
|
||||
(1.0, MultiDrop(Item("common.items.log.ironwood"), 3, 7)),
|
||||
(2.0, MultiDrop(Item("common.items.mineral.ore.velorite", 3, 10)),
|
||||
(2.0, MultiDrop(Item("common.items.mineral.ore.velorite"), 3, 10)),
|
||||
// Consumables
|
||||
(2.0, LootTable("common.loot_tables.consumable.moderate")),
|
||||
]
|
||||
|
@ -2362,13 +2362,17 @@ mod tests {
|
||||
let pos = Vec3::zero();
|
||||
let mut rng = thread_rng();
|
||||
|
||||
gnarling_mugger(pos, &mut rng);
|
||||
gnarling_stalker(pos, &mut rng);
|
||||
gnarling_logger(pos, &mut rng);
|
||||
gnarling_chieftain(pos, &mut rng);
|
||||
deadwood(pos, &mut rng);
|
||||
mandragora(pos, &mut rng);
|
||||
wood_golem(pos, &mut rng);
|
||||
harvester_boss(pos, &mut rng);
|
||||
adlet_hunter(pos, &mut rng);
|
||||
adlet_icepicker(pos, &mut rng);
|
||||
adlet_tracker(pos, &mut rng);
|
||||
random_adlet(pos, &mut rng);
|
||||
adlet_elder(pos, &mut rng);
|
||||
rat(pos, &mut rng);
|
||||
wolf(pos, &mut rng);
|
||||
bear(pos, &mut rng);
|
||||
frostfang(pos, &mut rng);
|
||||
roshwalr(pos, &mut rng);
|
||||
icedrake(pos, &mut rng);
|
||||
tursus(pos, &mut rng);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user