Jump to content

Adding a module to a part from the editor


Recommended Posts

How  could I set up a mod to allow you to add a module, specifically ModuleAblator and Ablator storage, only to a specific part in the editor and not to all instances of the part. In other words I don't want a patch that will change the part no matter what, I want a button in game to allow that for any part and possibly change the cost of the part. If someone could point me in the right direction (what functions, classes, or modules I should look into) it would be very helpful.

Link to comment
Share on other sites

7 minutes ago, afyber said:

How  could I set up a mod to allow you to add a module, specifically ModuleAblator and Ablator storage, only to a specific part in the editor and not to all instances of the part. In other words I don't want a patch that will change the part no matter what, I want a button in game to allow that for any part and possibly change the cost of the part. If someone could point me in the right direction (what functions, classes, or modules I should look into) it would be very helpful.

Maybe the easiest path would be a button that makes a copy of the part which it then adds the ablator module to?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...