Numbered Steps to Reproduce Problem:
Stand on object. Press close verb
press addGhost
press openNotice that you don't have ghost in your verbs
Notice that you have ghost in your verbs.
Code Snippet (if applicable) to Reproduce Problem:
//stand on an obj
/mob/verb/close(var/obj/B)
if(src.loc == B.loc)
src.loc = B
/mob/verb/open(var/obj/B)
src.loc = B.loc
/mob/proc/ghost()
world << "You win."
/mob/verb/addGhost()
src.verbs += /mob/proc/ghost
Expected Results:
Being able to add a verb to a mob whilst the mob is in an object
Actual Results:
Not being able to add a verb to a mob whilst the mob is in an object
Does the problem occur:
Every time? Or how often? Every time
In other games? Test client and SS13
In other user accounts? Every account
On other computers? All computer
When does the problem NOT occur? Unknown
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
No idea.
Workarounds: Teleporting the mob to an alternate location, adding the verb, and then spawn(2)
src.loc = obj // to get it back to the object