Skip to content

GenerateBasePrefabCommand 1.1.0

Latest

Choose a tag to compare

@LeeTwentyThree LeeTwentyThree released this 05 Jul 06:13
· 51 commits to main since this release

This mod adds the generatebaseprefabcode command. When this command is used while inside of a player-made base, the mod will generate source code for async prefab creation of the base that you are in, so it can be registered as a CustomPrefab and turned into a prop that is placed in the world.

All base pieces will call a StripComponents(...) method which is NOT defined, because it is very specific to your project. Here is the specific code I use to implement it: https://pastebin.com/ZAX9ay9F.

Update 1.1.0 adds support for supports!

Specifically, the base foundation supports that hold it up.