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>
This commit is contained in:
18
Assets/Scripts/Gameplay/ShopTerminal.cs
Normal file
18
Assets/Scripts/Gameplay/ShopTerminal.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using Unity.Netcode;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GrassCutter
|
||||
{
|
||||
/// <summary>The upgrade console. Opens the crew's upgrade matrix for the local player.</summary>
|
||||
public class ShopTerminal : MonoBehaviour, IInteractable
|
||||
{
|
||||
public Renderer screen;
|
||||
public string Prompt => Loc.T("GreenHaul console — upgrade matrix");
|
||||
public bool CanInteract => TeamState.Instance;
|
||||
public void Interact()
|
||||
{
|
||||
Sfx.Play("ui_open");
|
||||
UIRoot.I?.OpenShop();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user