From e2a18ae3392167380e28e41156762da0b80c9897 Mon Sep 17 00:00:00 2001 From: Gw0sty <83688318+Gw0sty@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:18:23 -0600 Subject: [PATCH] Expand wire knowledge --- monkestation/code/datums/wires/airalarm.dm | 5 +++++ monkestation/code/datums/wires/mod.dm | 5 +++++ monkestation/code/datums/wires/mulebot.dm | 5 +++++ monkestation/code/datums/wires/vending.dm | 5 +++++ tgstation.dme | 4 ++++ 5 files changed, 24 insertions(+) create mode 100644 monkestation/code/datums/wires/airalarm.dm create mode 100644 monkestation/code/datums/wires/mod.dm create mode 100644 monkestation/code/datums/wires/mulebot.dm create mode 100644 monkestation/code/datums/wires/vending.dm 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"