Increased object spawn chance generally and in plain tiles specifically.

This commit is contained in:
finnchen123
2026-02-06 13:38:09 +01:00
parent b657de5ea0
commit 2562321918
7 changed files with 118 additions and 124 deletions

View File

@@ -62,7 +62,7 @@ public class Tile : MonoBehaviour
newPoint = new Vector3(rand.Next(-40, 40) + 100 * position.x, 50, rand.Next(-40, 40) + 100 * position.z);
foreach (Vector3 vector in list)
{
if (Vector3.Distance(vector, newPoint) < 12.5f)
if (Vector3.Distance(vector, newPoint) < 2.5f)
{
canSpawn = false;
break;
@@ -85,7 +85,7 @@ public class Tile : MonoBehaviour
{
int chance = rand.Next(1, 101);
if (chance >= 25)
if (chance >= 20)
{
GameObject content = contentGenerator.GetComponent<ContentGenerator>().generateContent(tiletype);
if (content != null)