ID:266970
Sep 16 2002, 3:31 pm
|
|
?
|
Sep 16 2002, 3:40 pm
|
|
Noto that I know of but Im to lazy to check :). Just have a empty beker obj or glass and have some place to fill it or somthing us your imagination.
|
This depends a bit on what you mean by "potions". What effects should they have? How should they work? Do you want something you can mix yourself, or ready-made? Do you have a special container system you want to use, or are they 1-shot drinks like in Rogue?
Lummox JR |
GECK, Is a way of making potions by adding ingredients one at a time.
BTW GECK is a name on FALLOUT2 :S |
In response to Green Lime
|
|
Here's a simple code. This code is assuming you want a potion you drink and heal. You can go over your Max health though but that's a simple fix.
obj item Potion icon = 'potions.dmi' icon_state = "potion" verb Use() usr.HP += 5 alert("You drink the potion. You have been healed by 5 HP!") del(src) Get() set src in oview(1) usr << "You get the Potion" usr.contents += src Drop() usr << "You Drop the Potion" src.loc = usr.loc |