mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Fixes #9834
This commit is contained in:
@@ -147,13 +147,13 @@ var/datum/antagonist/traitor/traitors
|
|||||||
freq += 2
|
freq += 2
|
||||||
if ((freq % 2) == 0)
|
if ((freq % 2) == 0)
|
||||||
freq += 1
|
freq += 1
|
||||||
freq = freqlist[rand(1, freqlist.len)]
|
freq = freqlist[rand(1, freqlist.len)]
|
||||||
var/obj/item/device/uplink/hidden/T = new(R)
|
var/obj/item/device/uplink/hidden/T = new(R)
|
||||||
T.uplink_owner = traitor_mob.mind
|
T.uplink_owner = traitor_mob.mind
|
||||||
target_radio.hidden_uplink = T
|
target_radio.hidden_uplink = T
|
||||||
target_radio.traitor_frequency = freq
|
target_radio.traitor_frequency = freq
|
||||||
traitor_mob << "A portable object teleportation relay has been installed in your [R.name] [loc]. Simply dial the frequency [format_frequency(freq)] to unlock its hidden features."
|
traitor_mob << "A portable object teleportation relay has been installed in your [R.name] [loc]. Simply dial the frequency [format_frequency(freq)] to unlock its hidden features."
|
||||||
traitor_mob.mind.store_memory("<B>Radio Freq:</B> [format_frequency(freq)] ([R.name] [loc]).")
|
traitor_mob.mind.store_memory("<B>Radio Freq:</B> [format_frequency(freq)] ([R.name] [loc]).")
|
||||||
|
|
||||||
else if (istype(R, /obj/item/device/pda))
|
else if (istype(R, /obj/item/device/pda))
|
||||||
// generate a passcode if the uplink is hidden in a PDA
|
// generate a passcode if the uplink is hidden in a PDA
|
||||||
|
|||||||
Reference in New Issue
Block a user