Files
grass-cutters/Assets/Scripts/Gameplay/SupplyWall.cs
NiemandKG d1c3761e58 Grass Cutters Together: the project as of moon-sweepers f3666f0
A clean start for the shared repository: the Unity project (Assets, Packages, ProjectSettings), ArtSource, Docs and
Tools as they stood at f3666f0 in the old local repository, with its generated prefabs and scene brought up to date.
Images, audio, models and binaries go through Git LFS (.gitattributes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 18:44:40 +06:00

18 lines
482 B
C#

using UnityEngine;
namespace GrassCutter
{
/// <summary>The pegboard on the deck where the crew gets its tools. Personal: everyone buys their own.</summary>
public class SupplyWall : MonoBehaviour, IInteractable
{
public string Prompt => Loc.T("Supply wall — tools & gear");
public bool CanInteract => TeamState.Instance;
public void Interact()
{
Sfx.Play("ui_open");
UIRoot.I?.OpenSupply();
}
}
}