Jump to content
  • 1
Sign in to follow this  
Bubbet

API Request: LoadCraftDesignFromFile

Suggestion

Similar to LoadTurretDesignFromFile

Currently there doesn't seem to be any way to create a craft design from any reference outside of a blank one, and the one from the CraftDesignSelectionItem

Share this post


Link to post
Share on other sites

1 answer to this suggestion

Recommended Posts

  • 0
Posted (edited)

To clarify Bubbet suggestion. Yes we can do this:

local blockPlan = LoadPlanFromFile("path/to/plan")
local design = CraftDesign()
design:setMovePlan(blockPlan)

but apparently this doesn't load the turret plans that are also included in the craft plan

Edited by Rinart73

Share this post


Link to post
Share on other sites
Guest
Answer this suggestion...

×   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.

Sign in to follow this  

×
×
  • Create New...