Skip to content

Commit

Permalink
Add Chilled Jelly (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lajnux authored Nov 18, 2024
1 parent f2a51a1 commit 285daee
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/EMonster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ export enum EMonster {
TORMENTED_DEMON = 13600,
ARMOURED_ZOMBIE = 12720,
CRAB = 4819,
CHILLED_JELLY = 13799,
WEALTHY_CITIZEN = 13302,
BARROWS = 1673,
TZTOKJAD = 3127,
Expand Down
46 changes: 46 additions & 0 deletions src/simulation/monsters/low/a-f/ChilledJelly.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import LootTable from "../../../../structures/LootTable";
import SimpleMonster from "../../../../structures/SimpleMonster";
import { GemTable } from "../../../subtables/RareDropTable";

export const ChilledJellyPreTable = new LootTable()
/* Weapons and armour */
.add("Adamant battleaxe", 1, 11)
.add("Black 2h sword", 1, 5)
.add("Adamant axe", 1, 3)
.add("Adamant 2h sword", 1, 2)
.add("Mithril boots", 1, 2)
.add("Rune kiteshield", 1, 2)
.add("Rune full helm", 1, 1)

/* Runes */
.add("Chaos rune", 45, 5)
.add("Death rune", 15, 3)

/* Coins */
.add("Coins", 44, 27)
.add("Coins", 102, 27)
.add("Coins", 220, 9)
.add("Coins", 11, 6)
.add("Coins", 460, 2)

/* Other */
.add("Lobster", 2, 16)
.add("Gold bar", 1, 2)
.add("Thread", 10, 1)

/* Gem drop table */
.add(GemTable, 1, 4);

const ChilledJellyTable = new LootTable()
.every(ChilledJellyPreTable)

/* Tertiary */
.tertiary(64, "Clue scroll (hard)")
.tertiary(100, "Frozen tear", [8, 12]);

export default new SimpleMonster({
id: 13799,
name: "Chilled Jelly",
table: ChilledJellyTable,
aliases: ["chilled jelly", "chill jelly", "cold jello"],
});
4 changes: 3 additions & 1 deletion src/simulation/monsters/low/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import CaveSlime from "./a-f/CaveSlime";
import ChaosDruid from "./a-f/ChaosDruid";
import ChaosDwarf from "./a-f/ChaosDwarf";
import Chicken from "./a-f/Chicken";
import ChilledJelly from "./a-f/ChilledJelly";
import ChompyBird from "./a-f/ChompyBird";
import Cockatrice from "./a-f/Cockatrice";
import Cow from "./a-f/Cow";
Expand Down Expand Up @@ -541,5 +542,6 @@ export const allLowMonsters = {
TormentedDemon,
ArmouredZombie,
Crab,
WealthyCitizen,
ChilledJelly,
WealthyCitizen
};

0 comments on commit 285daee

Please sign in to comment.