mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Converts more attackby's to interactions (#93106)
## About The Pull Request Converts the following: - Medical Kiosk - Implant case - Flamethrower - Chemical implant case - Pappercutter Also I've looked at some alt click procs and adjusted some of their returns
This commit is contained in:
@@ -77,10 +77,8 @@ GLOBAL_VAR(posibrain_notify_cooldown)
|
||||
|
||||
/obj/item/mmi/posibrain/click_alt(mob/living/user)
|
||||
var/input_seed = tgui_input_text(user, "Enter a personality seed", "Enter seed", ask_role, max_length = MAX_NAME_LEN)
|
||||
if(isnull(input_seed))
|
||||
if(isnull(input_seed) || !user.can_perform_action(src))
|
||||
return CLICK_ACTION_BLOCKING
|
||||
if(!user.can_perform_action(src))
|
||||
return
|
||||
to_chat(user, span_notice("You set the personality seed to \"[input_seed]\"."))
|
||||
ask_role = input_seed
|
||||
update_appearance()
|
||||
|
||||
Reference in New Issue
Block a user