Popups can now be limited to 1

This commit is contained in:
joep van der velden
2019-03-12 20:11:20 +01:00
parent 74235e0c19
commit f8a5e81ea2
6 changed files with 62 additions and 22 deletions
@@ -231,3 +231,15 @@
else
to_chat(usr, "<span class='notice'>You have enabled karma gains.")
return
/client/verb/toggle_popup_limiter()
set name = "Toggle Text Popup Limiter"
set category = "Preferences"
set desc = "Will let you limit the text input popups to one at a time."
prefs.toggles ^= TYPING_ONCE
prefs.save_preferences(src)
if(prefs.toggles & TYPING_ONCE)
to_chat(usr, "<span class='notice'>You have enabled text popup limiting.")
else
to_chat(usr, "<span class='notice'>You have disabled text popup limiting.")
return