mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 09:03:23 +01:00
[READY] TGUI pAIs (#14524)
* TGUI pAIs * Nukes an old template * pAI Crew Manifest * pAI Atmos Scan * pAI Medical Records * pAI Security Records + code cleanup * pAI directives + More refactoring * Sorts the toggles out * pAI messenger * WIP - Radios * pAI radio - working * pAI Signalers * Nukes some arleady gone templates * Forgot to purge this too * pAI Door Jack * pAI Bioscan * Mochi tweaks * Farie Fixes * Spacing
This commit is contained in:
@@ -97,8 +97,8 @@
|
||||
/obj/item/pda/silicon/pai/can_use()
|
||||
var/mob/living/silicon/pai/pAI = usr
|
||||
if(!istype(pAI))
|
||||
return 0
|
||||
if(!pAI.software["messenger"])
|
||||
return FALSE
|
||||
if(!pAI.installed_software["messenger"])
|
||||
to_chat(usr, "<span class='warning'>You have not purchased the digital messenger!</span>")
|
||||
return 0
|
||||
return FALSE
|
||||
return ..() && !pAI.silence_time
|
||||
|
||||
Reference in New Issue
Block a user