Skyrat-SS13 / Skyrat-tg

A Skyrat downstream of /tg/station SS13.
GNU Affero General Public License v3.0
121 stars 685 forks source link

[MIRROR] Adds a config that skews random spawners weights. #28696

Closed SkyratBot closed 2 months ago

SkyratBot commented 3 months ago

Original PR: https://github.com/tgstation/tgstation/pull/84616

About The Pull Request

Title. It's an exponent that multiplies weights of random spawners. For example, if the exponent were 0.8, and the spawner has a natural 99.9% chance to spawn a donk-pocket and a 0.01% of a vial of adminodrazine, after calculations it'd be roughly 99.6% vs 0.4%.

Why It's Good For The Game

This can give admins/keyholders more control over random spawners. However, most of the random spawners are maploaded things so an admin would've to get to edit the config quite fast before SSatoms initializes to witness the most out of it, but I'm just ranting.

Changelog

:cl: admin: Added a config that regulares random spawners weights. /:cl: