Hello everyone,
I am attempting a Jail System. I wanted the system to work like this:
*Player B jails Player A
*Player A get's sent to jail and has all verbs removed
*Later Player B Release's Player A
*Player A receives their all their verbs back
I thought this would not only be better, but easier than just having a variable that cancels out verbs if they are jailed. I have everything working up until the verbs being taken. I imagine I could simply add their verbs to a list, remove them, then add the verbs from the list. Though I do not know exactly how to remove the verbs. Would I have to actually go by types such as "src.verbs-= typesof(/mob/Magic/verb)". Thank you for your assistance!
ID:2237977
Apr 17 2017, 4:59 pm
|
|
In response to Kaiochao
|
|
Thank you very much for providing me the solution to my problem. It was exactly what I needed and for that I thank you again!
|
The "verbs" list is, to a certain extent, a list. Obviously, you can add and remove from it. You can store the verbs in a separate list, empty it, then add the old verbs back: