feat: add initial People Playground mod development kit

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

View File

@@ -0,0 +1,19 @@
URL: https://wiki.studiominus.nl/snippets/changeEnvironmentSettings.html
Title: People Playground Modding - Change environment settings
==================================================
Change environment settings
This snippet shows you how to manipulate the environment settings.
//clone settings because its safer this way or whatever the hell, I don't remember
var set = MapConfig.Instance.Settings.ShallowClone();
//do whatever
//set.Floodlights = false;
//set.Rain = true;
//set.Snow = false;
//set.Fog = true;
//etc.
//apply settings
MapConfig.Instance.ApplySettings(set);