[MIRROR] Enable research module / prevent AI shells from building more AI shells (#9167)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-10-05 16:51:38 -07:00
committed by GitHub
parent 5128871589
commit d6cb0e004d
2 changed files with 4 additions and 1 deletions

View File

@@ -164,6 +164,9 @@
if(istype(W, /obj/item/mmi))
var/obj/item/mmi/M = W
if (isshell(user) && istype(W, /obj/item/mmi/inert/ai_remote))
to_chat(user, span_warning("Your hardware prohibits you from self-replicating."))
return
if(check_completion())
if(!istype(loc,/turf))
to_chat(user, span_warning("You can't put \the [W] in, the frame has to be standing on the ground to be perfectly precise."))

View File

@@ -146,7 +146,7 @@ var/list/emergency_module_types = list(
// List of modules available to AI shells
var/list/shell_module_types = list(
"Standard", "Engineering", "Surgeon", "Crisis",
"Miner", "Janitor", "Service", "Clerical", "Security"
"Miner", "Janitor", "Service", "Clerical", "Security", "Research"
)
// List of whitelisted modules
var/list/whitelisted_module_types = list(