From df1763c0f529b2fda1e1c7cb94b4059e951b4f56 Mon Sep 17 00:00:00 2001 From: Lexi Date: Fri, 15 Dec 2023 13:15:38 -0500 Subject: [PATCH] Part creation --- Writerside/topics/Selection-Block-Attributes.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Writerside/topics/Selection-Block-Attributes.md b/Writerside/topics/Selection-Block-Attributes.md index edf177f..42d9a25 100644 --- a/Writerside/topics/Selection-Block-Attributes.md +++ b/Writerside/topics/Selection-Block-Attributes.md @@ -44,7 +44,7 @@ the selection block it is attached to. | Ruleset | Argument names | Description of behaviour | |--------------|-----------------------|-----------------------------------------------------------------------------------------------------| -| `:parts` | No arguments | Part creation is not possible yet in Patch Manager | +| `:parts` | `name` | Creates a new part asset of the name "name" | | `:resources` | `name`, `[is_recipe]` | Creates a new resource with "name", this resource is a recipe if `is_recipe` is passed and is true. | | `:json` | `label`, `name` | Creates a new generic json asset in Addressables with the label `label`, and name `name`. | @@ -52,6 +52,10 @@ the selection block it is attached to. > {style="note"} +> If you create a part without its prefab in Addressables, the game will crash. +> +{style="warning"} + Examples: ```