diff options
author | seeds <> | 2019-06-27 23:02:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-06 13:01:31 +0000 |
commit | 498d9423bb44e57307f5330d314a7d0750a7f30e (patch) | |
tree | 13fc11903c0b077e40b05be2e214b7cf895ab1d5 | |
parent | 15aeab5251840af0ab28da40f7cbbbdb39ad1f7a (diff) | |
download | serverdata-498d9423bb44e57307f5330d314a7d0750a7f30e.tar.gz serverdata-498d9423bb44e57307f5330d314a7d0750a7f30e.tar.bz2 serverdata-498d9423bb44e57307f5330d314a7d0750a7f30e.tar.xz serverdata-498d9423bb44e57307f5330d314a7d0750a7f30e.zip |
Maggot Slime Potion
I thought it might be fun to entertain the idea of a maggot slime potion.
Hope you all like! 😄
----
@WildX : Seems like a good vendor item for Hurnscald general goods and maybe
a rare drop from some humanoid mob, I'd like to keep manmade things like
potions as items that are dropped by humanoids since it makes little sense
for a maggot to carry a bottled potion with it.
-rw-r--r-- | db/re/item_db.conf | 20 | ||||
-rw-r--r-- | npc/008-2-2/shop.txt | 18 |
2 files changed, 26 insertions, 12 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 141196ff..0632825b 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -1300,6 +1300,26 @@ item_db: ( "> }, { + Id: 567 + AegisName: "MaggotSlimePotion" + Name: "Maggot Slime Potion" + Type: "IT_HEALING" + Buy: 75 + Sell: 15 + Weight: 15 + Refine: false + ViewSprite: 567 + Delay: 450 + UseEffect: "EFFECT_HEAL" + Script: <" + @min = 10; + @max = 130; + @delay = 2; + @type = 1; + doevent "rand_sc_heal::OnUse"; + "> +}, +{ Id: 600 AegisName: "SmallHealing" Name: "Small Healing Potion" diff --git a/npc/008-2-2/shop.txt b/npc/008-2-2/shop.txt index d0db9b67..d3699092 100644 --- a/npc/008-2-2/shop.txt +++ b/npc/008-2-2/shop.txt @@ -1,6 +1,7 @@ // Evol scripts. // Authors: // 4144 +// jesusalva // Reid // toams // Description: @@ -17,25 +18,17 @@ OnInit: sellitem Cheese, -1, 50; sellitem CherryCake, -1, 50; sellitem SmallHealing, -1, 50; + sellitem MaggotSlimePotion, -1, 50; .sex = G_OTHER; .distance = 10; end; +// FIXME Note: "20" doesn't means "restock 20 units". +// It means "restock if less than 20 units are being sold". +// Is this behavior intended? Seems like a bug. OnClock0000: - restoreshopitem Beer, 20; - restoreshopitem Bread, 20; - restoreshopitem RedPlushWine, 20; - restoreshopitem Cheese, 20; - restoreshopitem CherryCake, 20; - restoreshopitem SmallHealing, 20; OnClock0800: - restoreshopitem Beer, 20; - restoreshopitem Bread, 20; - restoreshopitem RedPlushWine, 20; - restoreshopitem Cheese, 20; - restoreshopitem CherryCake, 20; - restoreshopitem SmallHealing, 20; OnClock1600: restoreshopitem Beer, 20; restoreshopitem Bread, 20; @@ -43,4 +36,5 @@ OnClock1600: restoreshopitem Cheese, 20; restoreshopitem CherryCake, 20; restoreshopitem SmallHealing, 20; + restoreshopitem MaggotSlimePotion, 50; } |