mob/Shop_Keeper
icon = 'Mobs.dmi'
icon_state="11"
density=1
verb
Buy()
set src in oview(2)
switch(input("What do you want to buy?","Buy")in list("Rioki Dagger","Goui Short Sword","Seriok Long Sword",))
if("Rioki Dagger")
if(usr.Kei >=100)
usr.Kei-=100
new/obj/Weapons/Rioki_Dagger(usr)
else
alert("I'm sorry, but you don't have enough §Kei!")
return
if("Goui Short Sword")
if(usr.Kei >=250)
usr.Kei-=250
new/obj/Weapons/Goui_Short_Sword(usr)
else
alert("I'm sorry, but you don't have enough §Kei!")
return
if("Seriok Long Sword")
if(usr.Kei >=250)
usr.Kei-=250
new/obj/Weapons/Seriok_Long_Sword(usr)
else
alert("I'm sorry, but you don't have enough §Kei!")
return
if("Seriok Long Sword")
if(usr.Kei >=250)
usr.Kei-=250
new/obj/Weapons/Seriok_Long_Sword(usr)
else
alert("I'm sorry, but you don't have enough §Kei!")
return
this might get messed up here, but the error it gives me is...
Other.dm:382:error:/obj/Weapons/Rioki_Dagger:undefined type path
Other.dm:389:error:/obj/Weapons/Goui_Short_Sword:undefined type path
Other.dm:396:error:/obj/Weapons/Seriok_Long_Sword:undefined type path
Other.dm:403:error:/obj/Weapons/Seriok_Long_Sword:undefined type path
ID:172794
Mar 26 2004, 5:05 pm
|
|
In response to Jon88
|
|
How would I simply add them in?
|
In response to Zeigue
|
|
Zeigue wrote:
How would I simply add them in? obj/Weapon/Sword --SSJ4_Gohan_Majin |
In response to Zeigue
|
|
You'd need to create them.
Ex: obj I can't help you more since I have no clue on how your weapons are set up, or what you want your new weapons to be like. Only you know that. |
Simply, in your game, there is no such thing as an /obj/Weapons/Rioki_Dagger, an /obj/Weapons/Goui_Short_Sword, or any of the others.