pAI Radio Fixes and Oversights (#10616)

This commit is contained in:
Geeves
2020-11-22 11:33:32 +01:00
committed by GitHub
parent 4e8ef3c2a4
commit b2ce742e9f
5 changed files with 20 additions and 5 deletions
+7 -3
View File
@@ -17,7 +17,7 @@
var/list/software = list()
var/userDNA // The DNA string of our assigned user
var/obj/item/device/paicard/card // The card we inhabit
var/obj/item/device/radio/radio // Our primary radio
var/obj/item/device/radio/pai/radio // Our primary radio
var/chassis = "repairbot" // A record of your chosen chassis.
@@ -165,8 +165,9 @@
sradio = new(src)
if(card)
if(!card.radio)
card.radio = new /obj/item/device/radio(src.card)
card.radio = new /obj/item/device/radio/pai(src.card)
radio = card.radio
card.recalculateChannels()
//Default languages without universal translator software
@@ -522,4 +523,7 @@
return
var/selection = input(src, "Choose an icon for you card.") in pai_emotions
card.setEmotion(pai_emotions[selection])
card.setEmotion(pai_emotions[selection])
/obj/item/device/radio/pai
canhear_range = 0 // only people on their tile