summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNetSysFire <59517351+NetSysFire@users.noreply.github.com>2023-02-27 22:47:31 +0100
committerNetSysFire <59517351+NetSysFire@users.noreply.github.com>2023-02-27 22:47:31 +0100
commit7d77a7f30a50d2ae49e471724459278865427b3f (patch)
treee7fa56919eb190d95e2a8cc9445283c6fbe84c9a
parent0a114ce944a018cbe7bd607cb20e27b8d9f2a6ef (diff)
downloadserverdata-7d77a7f30a50d2ae49e471724459278865427b3f.tar.gz
serverdata-7d77a7f30a50d2ae49e471724459278865427b3f.tar.bz2
serverdata-7d77a7f30a50d2ae49e471724459278865427b3f.tar.xz
serverdata-7d77a7f30a50d2ae49e471724459278865427b3f.zip
maggot slime
-rw-r--r--npc/functions/treasure.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt
index 5de1c19bc..dcf47a269 100644
--- a/npc/functions/treasure.txt
+++ b/npc/functions/treasure.txt
@@ -90,7 +90,7 @@ function script TreasureBox {
.@count=rand(2, 3);
// common
} else {
- .@loot=any(FatesPotion, PiberriesInfusion, EmptyBottle, ChocolateBar, Chagashroom, Plushroom, SmallMushroom, RawLog, LeatherPatch, Coal, EmptyBox, ChamomileTea, EquipmentBlueprintA);
+ .@loot=any(FatesPotion, PiberriesInfusion, EmptyBottle, ChocolateBar, Chagashroom, Plushroom, SmallMushroom, MaggotSlime, RawLog, LeatherPatch, Coal, EmptyBox, ChamomileTea, EquipmentBlueprintA);
if (.@loot == Coal || .@loot == EmptyBottle)
.@count=rand(1, 3);
else if (.@loot == Chagashroom || .@loot == Plushroom)
@@ -99,6 +99,10 @@ function script TreasureBox {
.@count=rand(2, 4);
else if (.@loot == LeatherPatch)
.@count=rand(1, 2);
+ else if (.@loot == MaggotSlime) {
+ .@count=rand(30, 40);
+ dispbottom l("Eww! Some maggots got squashed when the chest was opened!");
+ }
}
inventoryplace .@loot, .@count;