Skip to content

Instantly share code, notes, and snippets.

View mvliberal's full-sized avatar
🎯
Focusing

MARCUS VINICIUS LIBERAL mvliberal

🎯
Focusing
View GitHub Profile
@mvliberal
mvliberal / Refactor Q00289
Created May 22, 2026 02:30
Refactor Q00289 (No More Soup For You): replace old implementation with a redesigned H5-aligned quest. Introduces FULL_BARREL / EMPTY_BARREL items, reorganizes reward tables (Moirai set and Icarus options), and implements full-barrel reward logic that grants 100 full barrels to the player when a Sel Mahum squad leader has the FULL_BARREL_REWARDI…
diff --git a/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumSquad.java b/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumSquad.java
index c64c4e9..c8fa544 100644
--- a/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumSquad.java
+++ b/dist/game/data/scripts/ai/areas/SelMahumTrainingGrounds/SelMahumSquad.java
@@ -296,7 +296,7 @@
{
if (ArrayUtil.contains(SQUAD_LEADERS, receiver.getId()))
{
- receiver.getVariables().set("FULL_BARREL_REWARDING_PLAYER", reference.getObjectId()); // TODO: Use it in 289 quest
+ receiver.getVariables().set("FULL_BARREL_REWARDING_PLAYER", reference.getObjectId());