Author Topic: Any way to Update The HullLayout on an exsiting ship?  (Read 397 times)

Bromoc

  • Sentient
  • **
  • Posts: 84
  • Karma: +2/-0
    • View Profile
Any way to Update The HullLayout on an exsiting ship?
« on: July 31, 2011, 03:04:34 PM »
In the Generated APIs I see a HullLayout& getHull() but no setHull on the HulledObj

I would like to be able to create a custom retorfit proceedure based of a tool or an inherent trait. (reduce cost of the retrofit under certian conditions)

I can get the latest layout and create a new ship and destroy the old one but issues come up.

I don't want to spend the cpu cycles looking for everyone who is "Keep supplying this" and redirecting it to the new object.

Nor do i want to interrupt build queues.

Transffering the cargo values from the old object to the new object is cheap enough.