Trade Menu
Implemented Trade Menu Item Filtering by size, hardpoint, behavior Buying from trade menu on double click
This commit is contained in:
parent
8036585ebc
commit
f4ee26e96c
22 changed files with 631 additions and 73 deletions
|
|
@ -94,10 +94,8 @@ public class InventoryPanel : MonoBehaviour
|
|||
else ContextMenu.AddOption(ship.Name, () => Display(ship));
|
||||
}
|
||||
|
||||
foreach (var bay in GameManager.AvailableCargoBays())
|
||||
{
|
||||
ContextMenu.AddOption(bay.Name, () => Display(bay));
|
||||
}
|
||||
if(GameManager.DockingBay!=null)
|
||||
ContextMenu.AddOption(GameManager.DockingBay.Name, () => Display(GameManager.DockingBay));
|
||||
|
||||
ContextMenu.Show();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue