feat: add initial People Playground mod development kit

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

View File

@@ -0,0 +1,21 @@
URL: https://wiki.studiominus.nl/internalReference/RandomEventBehaviour.html
Title: People Playground Modding - RandomEventBehaviour
==================================================
public class RandomEventBehaviour
Inherits MonoBehaviour
Plays the given events all at once based on a chance per second
Nested types
RandomEventBehaviour.RandomEvent
Fields
public List<RandomEvent> Events
[SkipSerialisation]
The events to invoke
public float ChancePerSecond
[SkipSerialisation]
The chance per second from 0 to 1. Note that the events can be triggered several times per second still.
public float Cooldown
[SkipSerialisation]
Cooldown time in seconds. This determines how long to wait after an invocation before a new event can be dispatched