mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
[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:
@@ -164,6 +164,9 @@
|
|||||||
|
|
||||||
if(istype(W, /obj/item/mmi))
|
if(istype(W, /obj/item/mmi))
|
||||||
var/obj/item/mmi/M = W
|
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(check_completion())
|
||||||
if(!istype(loc,/turf))
|
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."))
|
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."))
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ var/list/emergency_module_types = list(
|
|||||||
// List of modules available to AI shells
|
// List of modules available to AI shells
|
||||||
var/list/shell_module_types = list(
|
var/list/shell_module_types = list(
|
||||||
"Standard", "Engineering", "Surgeon", "Crisis",
|
"Standard", "Engineering", "Surgeon", "Crisis",
|
||||||
"Miner", "Janitor", "Service", "Clerical", "Security"
|
"Miner", "Janitor", "Service", "Clerical", "Security", "Research"
|
||||||
)
|
)
|
||||||
// List of whitelisted modules
|
// List of whitelisted modules
|
||||||
var/list/whitelisted_module_types = list(
|
var/list/whitelisted_module_types = list(
|
||||||
|
|||||||
Reference in New Issue
Block a user