How would you make it where when you click someone he says "Learn blah blah" and then it says yes or no and if you click yes it gives you a verb? I know this is a dumb question but I am a newbie :-[. If you could help with this please respond. Thanks in advance!
~PyRoMaNiAc~
ID:150235
![]() Nov 23 2001, 11:25 am
|
|
Ok, I will. But I dont need a shop keeper, I need someone that gives you a verb. Like kami and king kai on most dbz games, exept it wont give the person an attack.
<~<~PyRoMaNiAc~>~> |
PyRoMaNiAc wrote:
Ok, I will. But I dont need a shop keeper, I need someone that gives you a verb. Like kami and king kai on most dbz games, exept it wont give the person an attack. Why dont you just edit that, its very simple to implement so why not do it? Its very very easy to edit it, and many of the BYOND community would agree. As I am not going to give you a straight out code for a DragonBall Z game, sorry, Lee |
Mellifluous wrote:
Its very very easy to edit it, and many of the BYOND community would agree. Did you ever think that he asked because he didn't know how to add verbs? |
Vortezz wrote:
Mellifluous wrote: Its in A Library!!! |
Vortezz wrote:
Mellifluous wrote: Yes I do know, but why are you on my back about it? |
Oh, that helps me alot, tellin me its in a libary. Hmm, you know how many libraries there are? Alot. How would I know which one to pick hmm?
~PyRoMaNiAc~ |
PyRoMaNiAc wrote:
Oh, that helps me alot, tellin me its in a libary. Hmm, you know how many libraries there are? Alot. How would I know which one to pick hmm? You don't "pick" one. You go through them all 'til you see something that you want. |
Well to do this you would have to do something of the following:
mob/ShopOwner
icon = 'shopguy.dmi'
name = "Pyro"
density = 1
Click()
var/shop = input("What would you like to buy?")in list("Bag of potatoes","Aerosol Can")
if(shop == "Bag of potatoes")
if(usr.money <= 99)
usr << "Pyro: You don't have enough money!"
else
new/obj/Bag of potatoes(usr)
usr.money -= 100
if(shop == "Aerosol Can")
if(usr.money <= 149)
usr << "Pyro: You don't have enough money!"
else
new/obj/Aerosol Can(usr)
usr.money -= 100
</DM>
Dont forget to add the money var, otherwise you will have errors.
Lee
<FONT COLOR="C0C0C0">Please try to close your HTML tags next time ok.</FONT COLOR>