mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
pAI improvements and fixes (#8000)
rebranded and reduced #6814 Fix pAI preferences not working (fixes #2772) Ports pAI submission window to VueUi
This commit is contained in:
@@ -926,4 +926,22 @@ mob/abstract/observer/MayRespawn(var/feedback = 0, var/respawn_type = null)
|
||||
to_chat(usr, "<span class='danger'>The round hasn't started yet!</span>")
|
||||
return
|
||||
|
||||
SSghostroles.vui_interact(src)
|
||||
SSghostroles.vui_interact(src)
|
||||
|
||||
/mob/abstract/observer/verb/submitpai()
|
||||
set category = "Ghost"
|
||||
set name = "Submit pAI personality"
|
||||
set desc = "Submits you pAI personality to the pAI candidate pool."
|
||||
|
||||
if(jobban_isbanned(src, "pAI"))
|
||||
to_chat(src, "You are job banned from the pAI position.")
|
||||
return
|
||||
SSpai.recruitWindow(src)
|
||||
|
||||
/mob/abstract/observer/verb/revokepai()
|
||||
set category = "Ghost"
|
||||
set name = "Revoke pAI personality"
|
||||
set desc = "Removes you from the pAI candidite pool."
|
||||
|
||||
if(SSpai.revokeCandidancy(src))
|
||||
to_chat(src, "You have been removed from the pAI candidate pool.")
|
||||
|
||||
@@ -29,6 +29,8 @@ main ui datum.
|
||||
var/windowid
|
||||
// determines if ui state should be constantly be cheacked for updates
|
||||
var/auto_update_content = FALSE
|
||||
// list for storing ui sensitive data. this meant for object data tracking
|
||||
var/list/metadata
|
||||
|
||||
/**
|
||||
* Creates a new ui
|
||||
|
||||
Reference in New Issue
Block a user