feat: add initial People Playground mod development kit

This commit is contained in:
2026-01-06 06:35:51 +03:00
parent b89c805060
commit b4c22a7c63
1095 changed files with 40281 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
URL: https://wiki.studiominus.nl/snippets/activation.html
Title: People Playground Modding - Activation action
==================================================
Activation action
This code snippet shows how to execute code when the player activates the object.
//add a built-in component that invokes a delegate when the item receives an activation signal
Instance.AddComponent<UseEventTrigger>().Action = () =>
{
//everything inside this delegate will be executed
//show a notification to the player
ModAPI.Notify("I'VE BEEN USED!");
};