Skip to content

RPED from TG

Rob Nelson requested to merge pull/4782/RPED into Bleeding-Edge

Created by: PJB3005

Ports the RPED from TG, to replace dylan's RMCE.

Differences from the RMCE:

  • No delay.
  • Operated slightly differently:
    • Using on a machine without open panel outputs a list of components in said machine.
      • This does NOT use a popup menu, it gets outputted to chat.
    • Using on a machine with open panel replaces the parts, like the RMCE.
  • Different R&D levels and costs, this is controversial, so please leave feedback.
  • Does NOT fit in backpacks.
  • 50 Component slots. Again, controversial.
  • Has a super fancy sound.
  • Can be used to speed up contruction of machines, clicking a machine frame will install components (if possible).
  • Can instantly be emptied into disposals bins.
    • On top of this, only parts of the lowest tier will be emptied, this functionality also works for emptying it via attack_self()
      • I added a new proc, mass_remove(), to handle this in an OOP fashion, I probably missed one of the spots where things also get mass removed, so it won't work on that.
      • I actually added this myself, this is not functionality on TG's RPED (atleast not before they went AGPLv3
  • Does NOT blindly assume everything is a machine that has an openable panel and can be upgraded (Bug on the RMCE).
  • Does NOT have a HUD item ghosting issue, which happens on the RMCE because @Kurfursten didn't use the correct procs for removing from the RMCE's inventory.
    • With item ghosting, I mean objects which were once on your HUD, but not properly removed, resulting in "ghosts" appearing on your HUD, a relog fixes this, however.

Notes:

  • All ported code was taken from before TG went AGPLv3.
  • Fixes #5233 (closed)

Merge request reports