feat: add initial People Playground mod development kit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
URL: https://wiki.studiominus.nl/snippets/editingExistingItems.html
|
||||
Title: People Playground Modding - Editing pre-existing items
|
||||
==================================================
|
||||
|
||||
Editing pre-existing items
|
||||
by Talon
|
||||
A decently underutilized function of the modding API is the ability to change items that already exist.
|
||||
ModAPI.FindSpawnable("Sword").Description = "This sword SUCKS!!!";
|
||||
ModAPI.FindSpawnable("Sword").Prefab.GetComponent<SpriteRenderer>().color = Color.red;
|
||||
Reference in New Issue
Block a user