adds the loudness booster(instruments) and Encryption key slot to pAIs. (lazy tg port 2.)

This commit is contained in:
Detective Google
2020-02-22 00:02:49 -06:00
parent 869fb5e897
commit ca29246878
7 changed files with 69 additions and 10 deletions
+2 -5
View File
@@ -301,10 +301,7 @@
/datum/action/item_action/synthswitch/Trigger()
if(istype(target, /obj/item/instrument/piano_synth))
var/obj/item/instrument/piano_synth/synth = target
var/chosen = input("Choose the type of instrument you want to use", "Instrument Selection", "piano") as null|anything in synth.insTypes
if(!synth.insTypes[chosen])
return
return synth.changeInstrument(chosen)
return synth.selectInstrument()
return ..()
/datum/action/item_action/vortex_recall
@@ -827,4 +824,4 @@
for(var/datum/action/A in M.actions)
if(istype(A, action_type))
return A
return
return