mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 10:03:45 +00:00
Default AI shell on the map will be a flying module.
This commit is contained in:
@@ -7,12 +7,17 @@ GLOBAL_LIST_EMPTY(available_ai_shells)
|
||||
var/deployed = FALSE
|
||||
var/mob/living/silicon/ai/mainframe = null
|
||||
|
||||
// Premade AI shell, for roundstart shells.
|
||||
// Premade AI shells, for roundstart landmark spawn.
|
||||
/mob/living/silicon/robot/ai_shell/Initialize()
|
||||
mmi = new /obj/item/mmi/inert/ai_remote(src)
|
||||
post_mmi_setup()
|
||||
return ..()
|
||||
|
||||
/mob/living/silicon/robot/flying/ai_shell/Initialize()
|
||||
mmi = new /obj/item/mmi/inert/ai_remote(src)
|
||||
post_mmi_setup()
|
||||
return ..()
|
||||
|
||||
// Call after inserting or instantiating an MMI.
|
||||
/mob/living/silicon/robot/proc/post_mmi_setup()
|
||||
if(istype(mmi, /obj/item/mmi/inert/ai_remote))
|
||||
@@ -128,8 +133,12 @@ GLOBAL_LIST_EMPTY(available_ai_shells)
|
||||
icon = 'icons/mob/screen1.dmi'
|
||||
icon_state = "x3"
|
||||
delete_me = TRUE
|
||||
var/robot_type = /mob/living/silicon/robot/ai_shell
|
||||
|
||||
/obj/effect/landmark/free_ai_shell/Initialize()
|
||||
if(config.allow_ai_shells && config.give_free_ai_shell)
|
||||
new /mob/living/silicon/robot/ai_shell(get_turf(src))
|
||||
new shell_type(get_turf(src))
|
||||
return ..()
|
||||
|
||||
/obj/effect/landmark/free_ai_shell/flying
|
||||
robot_type = /mob/living/silicon/robot/flying/ai_shell
|
||||
|
||||
@@ -14284,7 +14284,7 @@
|
||||
/obj/effect/floor_decal/industrial/warning{
|
||||
dir = 1
|
||||
},
|
||||
/obj/effect/landmark/free_ai_shell,
|
||||
/obj/effect/landmark/free_ai_shell/flying,
|
||||
/turf/simulated/floor/tiled/techfloor,
|
||||
/area/surface/station/ai)
|
||||
"iUT" = (
|
||||
|
||||
Reference in New Issue
Block a user