Added testing and save/load mechanic to the game. Game is now entering final phase.

This commit is contained in:
2026-05-09 21:25:36 +02:00
parent e7de2433de
commit 7e70471227
18 changed files with 1073 additions and 46 deletions
+8 -8
View File
@@ -99,14 +99,14 @@ public partial class ResourceLoader
{
Dictionary<string, float[]> weights = new Dictionary<string, float[]>()
{
{ "iron_ore", [0.05f,1] },
{ "tin_ore", [0.3f,0.7f] },
{ "copper_ore", [0.3f,0.7f] },
{ "mushroom", [0.3f,0.1f] },
{ "spider_silk", [0.8f,0.4f] },
{ "coal", [1,0.3f] },
{ "water", [0.4f,0.2f] },
{ "stone", [1,0.5f] },
{ "iron_ore", new float[] { 0.05f, 1f } },
{ "tin_ore", new float[] { 0.3f, 0.7f } },
{ "copper_ore", new float[] { 0.3f, 0.7f } },
{ "mushroom", new float[] { 0.3f, 0.1f } },
{ "spider_silk", new float[] { 0.8f, 0.4f } },
{ "coal", new float[] { 1f, 0.3f } },
{ "water", new float[] { 0.4f, 0.2f } },
{ "stone", new float[] { 1f, 0.5f } },
};
return weights;
}