mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Refactored 'IsAdvancedToolUser' into a macro plus relative trait. Tweaked 'can_hold_items'. (#54665)
The PR aims to allow advanced tool users to be defined by traits rather than a hardcoded proc. Also necessary for the CanUseTopic refactor I'm working on, which will be PRed separately for atomization purposes. This PR also fixes an inconsistency with can_hold_items (since monkeys can actually hold items).
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
|
||||
|
||||
/obj/item/hand_labeler/attack_self(mob/user)
|
||||
if(!user.IsAdvancedToolUser())
|
||||
if(!ISADVANCEDTOOLUSER(user))
|
||||
to_chat(user, "<span class='warning'>You don't have the dexterity to use [src]!</span>")
|
||||
return
|
||||
mode = !mode
|
||||
|
||||
Reference in New Issue
Block a user