Skip to content

Commit

Permalink
add snorkel and drinking hat to artifact mimic drops
Browse files Browse the repository at this point in the history
  • Loading branch information
thephoenixlodge committed Oct 3, 2020
1 parent b0404d0 commit c61301e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions scripts/dungeon_loot.zs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ val poolBSVillageDawn = tableBSVillageDawn.addPool("hos_extra", 1, 3, 1, 1);
val tableAetherMimic = LootTweaker.getTable("aether_legacy:entities/chest_mimic");
val poolAetherMimic = tableAetherMimic.getPool("chest");

val tableArtifactMimic = LootTweaker.getTable("artifacts:mimic_underground");
val poolArtifactMimic = tableArtifactMimic.getPool("main");

//items
val extrasSimpleMap = {
<dynamictrees:oakseed> : 10,
Expand Down Expand Up @@ -255,7 +258,8 @@ val chests = {
<quark:custom_chest:3> : 5,
<quark:custom_chest:4> : 5
} as int[IItemStack];

val snorkel = <artifacts:snorkel>;
val drinkingHat = <artifacts:drinking_hat>;

//Add angel hearts to the pool
poolRaid.addItemEntry(angelHeart, 6);
Expand Down Expand Up @@ -405,4 +409,8 @@ poolBSSummoner.addLootTableEntry("ebwizardry:chests/shrine", 10);
poolAetherMimic.clearEntries();
for chest, weight in chests {
poolAetherMimic.addItemEntryHelper(chest, weight, 0, [Functions.lootingEnchantBonus(0, 1, 4)], []);
}
}

//add snorkel and drinking hat to mimic drops
poolArtifactMimic.addItemEntryHelper(snorkel, 2, 0, [], []);
poolArtifactMimic.addItemEntryHelper(drinkingHat, 2, 0, [], []);

0 comments on commit c61301e

Please sign in to comment.