Added Furnance and smelting

This commit is contained in:
2026-08-11 17:12:34 +03:00
parent 2a30d4d8cf
commit 67e0bcfaaf
82 changed files with 25148 additions and 7186 deletions
@@ -11,12 +11,23 @@ public sealed class FactoryLobbyCodeView : MonoBehaviour
GUILayout.BeginArea(new Rect(42, 42, 304, 76));
if (session.IsHost)
{
GUILayout.Label("LOBBY CODE");
GUILayout.Label(string.IsNullOrEmpty(session.JoinCode) ? "Generating..." : session.JoinCode);
if (session.ConnectionMode == NetworkConnectionMode.Lan)
{
GUILayout.Label("LAN HOST");
GUILayout.Label($"Same PC: 127.0.0.1:{session.LanPort}");
}
else
{
GUILayout.Label("LOBBY CODE");
GUILayout.Label(string.IsNullOrEmpty(session.JoinCode) ? "Generating..." : session.JoinCode);
}
}
else
{
GUILayout.Label("CONNECTED TO FACTORY");
string connectionName = session.ConnectionMode == NetworkConnectionMode.Lan
? "LAN"
: "RELAY";
GUILayout.Label($"CONNECTED VIA {connectionName}");
}
GUILayout.EndArea();
}