mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Allow borgs to bypass skill checks to toggle emitters (#22341)
Fixes https://github.com/Aurorastation/Aurora.3/issues/22306
This commit is contained in:
@@ -109,6 +109,10 @@
|
||||
max(astype(user.GetComponent(REACTOR_SYSTEMS_SKILL_COMPONENT), SKILL_COMPONENT)?.skill_level, \
|
||||
astype(user.GetComponent(ELECTRICAL_ENGINEERING_SKILL_COMPONENT), SKILL_COMPONENT)?.skill_level)
|
||||
|
||||
if(issilicon(user))
|
||||
activate(user)
|
||||
return TRUE
|
||||
|
||||
if(max_engineering_skill <= SKILL_LEVEL_TRAINED)
|
||||
to_chat(user, SPAN_WARNING("You try to find the switch on \the [src]... How do you even turn this thing on?"))
|
||||
if(!do_after(user, 3 SECONDS + 1.5 SECONDS * (SKILL_LEVEL_TRAINED - max_engineering_skill)))
|
||||
|
||||
Reference in New Issue
Block a user