Skip to content

Commit

Permalink
Expand wire knowledge
Browse files Browse the repository at this point in the history
  • Loading branch information
Gw0sty committed Dec 13, 2024
1 parent 016b8c7 commit e2a18ae
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions monkestation/code/datums/wires/airalarm.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/datum/wires/airalarm/can_reveal_wires(mob/user)
if(HAS_TRAIT(user, TRAIT_KNOW_ENGI_WIRES))
return TRUE

return ..()
5 changes: 5 additions & 0 deletions monkestation/code/datums/wires/mod.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/datum/wires/mod/can_reveal_wires(mob/user)
if(HAS_TRAIT(user, TRAIT_KNOW_ROBO_WIRES))
return TRUE

return ..()
5 changes: 5 additions & 0 deletions monkestation/code/datums/wires/mulebot.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/datum/wires/mulebot/can_reveal_wires(mob/user)
if(HAS_TRAIT(user, TRAIT_KNOW_ROBO_WIRES))
return TRUE

return ..()
5 changes: 5 additions & 0 deletions monkestation/code/datums/wires/vending.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/datum/wires/vending/can_reveal_wires(mob/user)
if(HAS_TRAIT(user, TRAIT_KNOW_ENGI_WIRES))
return TRUE

return ..()
4 changes: 4 additions & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e2a18ae

Please sign in to comment.