added item probability

This commit is contained in:
2026-10-24 20:32:37 +02:00
parent 1996b9c83e
commit 471dc33f0e
132 changed files with 99 additions and 36 deletions
Regular → Executable
+5 -2
View File
@@ -11,7 +11,10 @@ PATH_BASE=
# Comma separated origins allowed to connect to the hub. Empty = allow any origin.
ALLOWED_ORIGINS=https://game.example.com
# Optional gameplay tuning, passed to the server as Game__<Setting> (see GameSettings.cs).
# Chance (0..1) that each block of a new piece carries an item. Every block rolls on its
# own, so one piece can carry several items. 0 = no items, 1 = every block has one.
ITEM_SPAWN_CHANCE=0.1
# Other optional gameplay tuning, passed to the server as Game__<Setting> (see GameSettings.cs).
# Add these under the server's "environment:" in docker-compose.yml to use them.
# Game__ItemSpawnChance=0.1
# Game__CountdownSeconds=3