rebase & fix pipeline

This commit is contained in:
flo666 2023-04-23 17:56:55 +02:00 committed by Sam
parent fd3c377d1c
commit 19b90d078a
10 changed files with 88 additions and 14 deletions

View 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: [],
)

View 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"),
],
)

View 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"),
],
)

View 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: [],
)

View 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"),
],
)

View File

@ -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")),
]

View File

@ -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")),
]

View File

@ -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)),

View File

@ -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")),
]

View File

@ -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);
}
}