ID:147682
 
I need help. During run-time, I do not get the verb build_ship after using train_worker in my game. Here is the code I used in the implemintation.

verb
train_worker()
workers += 1
usr << "You now have [workers] workers!"
jobs += 1
usr << "You now have [jobs] jobs!"
usr.verbs += /mob/PC/verb/build_ship
build_ship()
set hidden = 1
if(jobs >=1)
jobs -= 1
usr << "You now have [jobs] jobs left until 50 ticks pass!"
sleep(50)
navy += 1
usr << "Your navy now has [navy] ships!"
jobs += 1
usr << "You now have [jobs] jobs left!"
You always have it, even before using train_worker().

But it's hidden.

Make build_ship() a proc instead.

Verbs are just procs that are added to the verbs list by default.