Porting flying robots from Bay. [IDB IGNORE] (#8885)

* Semiport of Allow_Spacemove from Bay.

* Porting flying robots from Bay.

* Converting platforms to an alt title of Robot.

* Converting existing modules to new proc flow.

* Cleaning up jetpack code for robots.

* Making flyers and platforms buildable.

* Debugging/refining robots port.

* Reverting some unneeded spacemove changes.

* Refining/debugging bots.

* Removing Bay subtypes, adding flying subtypes of existing modules.

* Icon rework for flying robots.

* Working commit for flying borgs PR.
This commit is contained in:
MistakeNot4892
2023-07-31 22:22:12 -08:00
committed by GitHub
parent 0941bbacae
commit 658e19e734
75 changed files with 2004 additions and 1621 deletions
+1 -13
View File
@@ -29,18 +29,6 @@
if(length(A.name) + length(label) > 64)
to_chat(user, SPAN_WARNING("\The [src]'s label too big."))
return
if(istype(A, /mob/living/silicon/robot/platform))
var/mob/living/silicon/robot/platform/P = A
if(!P.allowed(user))
to_chat(usr, SPAN_WARNING("Access denied."))
else if(P.client || P.key)
to_chat(user, SPAN_NOTICE("You rename \the [P] to [label]."))
to_chat(P, SPAN_NOTICE("\The [user] renames you to [label]."))
P.custom_name = label
P.SetName(P.custom_name)
else
to_chat(user, SPAN_WARNING("\The [src] is inactive and cannot be renamed."))
return
if(ishuman(A))
to_chat(user, SPAN_WARNING("The label refuses to stick to [A.name]."))
return
@@ -80,4 +68,4 @@
label = str
to_chat(user, SPAN_NOTICE("You set the text to '[str]'."))
else
to_chat(user, SPAN_NOTICE("You turn off \the [src]."))
to_chat(user, SPAN_NOTICE("You turn off \the [src]."))