mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
Merge pull request #3906 from Citadel-Station-13/upstream-merge-32640
[MIRROR] Adds a multitool_act and a proper check on tool_check
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#define TOOL_NONE 0
|
||||
#define TOOL_CROWBAR 1
|
||||
#define TOOL_SCREWDRIVER 2
|
||||
#define TOOL_WIRECUTTER 3
|
||||
#define TOOL_WRENCH 4
|
||||
#define TOOL_MULTITOOL 2
|
||||
#define TOOL_SCREWDRIVER 3
|
||||
#define TOOL_WIRECUTTER 4
|
||||
#define TOOL_WRENCH 5
|
||||
@@ -14,6 +14,8 @@
|
||||
return FALSE
|
||||
if(TOOL_CROWBAR)
|
||||
return target.crowbar_act(user, src)
|
||||
if(TOOL_MULTITOOL)
|
||||
return target.multitool_act(user, src)
|
||||
if(TOOL_SCREWDRIVER)
|
||||
return target.screwdriver_act(user, src)
|
||||
if(TOOL_WRENCH)
|
||||
|
||||
@@ -626,6 +626,9 @@ GLOBAL_LIST_EMPTY(blood_splatter_icons)
|
||||
/atom/proc/crowbar_act(mob/user, obj/item/tool)
|
||||
return
|
||||
|
||||
/atom/proc/multitool_act(mob/user, obj/item/tool)
|
||||
return
|
||||
|
||||
/atom/proc/screwdriver_act(mob/user, obj/item/tool)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user