obj/verb
get()
set src in oview(0)
if(Getable==1)
set hidden = 0
set category="Social"
src.loc = usr
if(Getable==0)
set hidden = 1
else
return
Problem description:
I'm trying to make it so the verb for get() is hidden if the object is not obtainable, but if it is i want the verb to be displayed. Here the get verb isnt being shown if it is obtainable... meaning its just staying hidden to pick anything up. (i'm doing this because i made my NPC's all objects so the summons list wont be a huge list of every NPC on the map, quite convienent)
any suggestions?
P.S. I dont want somthing like below (i know how to do that) i want to know how to make my orig code work correctly, Thanxs! :D
obj
thing1
icon = ''
icon_state = ""
verb
get()
set src in oview(1)
usr.contents += src
Is that more like what you wanted?