mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Moves yet more things from attackby() to item_interaction() (#96672)
## About The Pull Request 20 files converted, that last one's just to make the return value explicit. The syndicate bomb `attackby()`'s only half converted, because half of it was actually meant for `attackby()`. ## Why It's Good For The Game only like, 250 files to go. Slow and steady. ## Changelog 🆑 code: 20 files have been converted from attackby() to item_interaction() /🆑
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
*/
|
||||
/obj/item/access_key/proc/attempt_open_door(mob/living/user, obj/machinery/door/airlock)
|
||||
if(DOING_INTERACTION_WITH_TARGET(user, airlock))
|
||||
return
|
||||
return FALSE
|
||||
user.balloon_alert_to_viewers("fumbles with keys...", "finding key...")
|
||||
user.playsound_local(src, 'sound/items/rattling_keys.ogg', 25, TRUE)
|
||||
if(!do_after(user, 3 SECONDS, airlock))
|
||||
|
||||
Reference in New Issue
Block a user