diff --git a/monkestation/code/datums/wires/airalarm.dm b/monkestation/code/datums/wires/airalarm.dm new file mode 100644 index 000000000000..f0e76327fe47 --- /dev/null +++ b/monkestation/code/datums/wires/airalarm.dm @@ -0,0 +1,5 @@ +/datum/wires/airalarm/can_reveal_wires(mob/user) + if(HAS_TRAIT(user, TRAIT_KNOW_ENGI_WIRES)) + return TRUE + + return ..() diff --git a/monkestation/code/datums/wires/mod.dm b/monkestation/code/datums/wires/mod.dm new file mode 100644 index 000000000000..8834f7633342 --- /dev/null +++ b/monkestation/code/datums/wires/mod.dm @@ -0,0 +1,5 @@ +/datum/wires/mod/can_reveal_wires(mob/user) + if(HAS_TRAIT(user, TRAIT_KNOW_ROBO_WIRES)) + return TRUE + + return ..() diff --git a/monkestation/code/datums/wires/mulebot.dm b/monkestation/code/datums/wires/mulebot.dm new file mode 100644 index 000000000000..0f94e9228c15 --- /dev/null +++ b/monkestation/code/datums/wires/mulebot.dm @@ -0,0 +1,5 @@ +/datum/wires/mulebot/can_reveal_wires(mob/user) + if(HAS_TRAIT(user, TRAIT_KNOW_ROBO_WIRES)) + return TRUE + + return ..() diff --git a/monkestation/code/datums/wires/vending.dm b/monkestation/code/datums/wires/vending.dm new file mode 100644 index 000000000000..3e5d92fcce26 --- /dev/null +++ b/monkestation/code/datums/wires/vending.dm @@ -0,0 +1,5 @@ +/datum/wires/vending/can_reveal_wires(mob/user) + if(HAS_TRAIT(user, TRAIT_KNOW_ENGI_WIRES)) + return TRUE + + return ..() diff --git a/tgstation.dme b/tgstation.dme index b46e28249be6..fe807d362053 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -6001,7 +6001,11 @@ #include "monkestation\code\datums\votes\_vote_datum.dm" #include "monkestation\code\datums\votes\transfer_vote.dm" #include "monkestation\code\datums\weather\weather_types\radiation_storm.dm" +#include "monkestation\code\datums\wires\airalarm.dm" +#include "monkestation\code\datums\wires\mod.dm" +#include "monkestation\code\datums\wires\mulebot.dm" #include "monkestation\code\datums\wires\particle_accelerator.dm" +#include "monkestation\code\datums\wires\vending.dm" #include "monkestation\code\game\atom.dm" #include "monkestation\code\game\say.dm" #include "monkestation\code\game\sound.dm"