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,27 @@
URL: https://wiki.studiominus.nl/internalReference/ActOnShot.html
Title: People Playground Modding - ActOnShot
==================================================
public class ActOnShot
Inherits MonoBehaviour, Messages.IShot
Behaviour that invokes an event when it is shot by something
Fields
public float ShotDamageThreshold
[SkipSerialisation]
The minimum amount of damage that needs to be done in order to invoke the event
public float CartridgeDamageThreshold
[SkipSerialisation]
The minimum amount of damage the cartridge inherently does in order to invoke the event
public float Chance
[SkipSerialisation]
The chance of the event being invoked, ranging from 0.0 to 1.0
public UnityEvent Actions
[SkipSerialisation]
The event that is invoked when the object is shot
Methods
public void Shot(Shot shot)
No description provided