@@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Robust.Client.UserInterface.Controls;
|
using Robust.Client.UserInterface.Controls;
|
||||||
using Robust.Client.UserInterface.CustomControls;
|
using Robust.Client.UserInterface.CustomControls;
|
||||||
using Robust.Shared.IoC;
|
using Robust.Shared.IoC;
|
||||||
@@ -38,7 +38,7 @@ namespace Content.Client.UserInterface.Cargo
|
|||||||
HorizontalExpand = true,
|
HorizontalExpand = true,
|
||||||
Value = 1
|
Value = 1
|
||||||
};
|
};
|
||||||
Amount.SetButtons(new List<int>() { -100, -10, -1 }, new List<int>() { 1, 10, 100 });
|
Amount.SetButtons(new List<int>() { -3, -2, -1 }, new List<int>() { 1, 2, 3 });
|
||||||
Amount.IsValid = (n) => {
|
Amount.IsValid = (n) => {
|
||||||
return (n > 0);
|
return (n > 0);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// How many points to give to every bank account every <see cref="Delay"/> seconds.
|
/// How many points to give to every bank account every <see cref="Delay"/> seconds.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private const int PointIncrease = 10;
|
private const int PointIncrease = 20;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Keeps track of how much time has elapsed since last balance increase.
|
/// Keeps track of how much time has elapsed since last balance increase.
|
||||||
@@ -45,7 +45,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
|||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
CreateBankAccount("Orbital Monitor IV Station", 100000);
|
CreateBankAccount("Space Station 14", 1000);
|
||||||
CreateOrderDatabase(0);
|
CreateOrderDatabase(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
33
Resources/Prototypes/Datasets/markets.yml
Normal file
33
Resources/Prototypes/Datasets/markets.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
- type: dataset
|
||||||
|
id: galacticmarket
|
||||||
|
values:
|
||||||
|
- cargo.emergencyexplosive
|
||||||
|
- cargo.emergencyfire
|
||||||
|
- cargo.emergencyinternals
|
||||||
|
- cargo.emergencyradiation
|
||||||
|
- cargo.armorysmg
|
||||||
|
- cargo.armoryshotgun
|
||||||
|
- cargo.securityarmor
|
||||||
|
- cargo.securityriot
|
||||||
|
- cargo.securitylaser
|
||||||
|
- cargo.securityhelmet
|
||||||
|
- cargo.securitysupplies
|
||||||
|
- cargo.securitynonlethal
|
||||||
|
- cargo.hydroponics
|
||||||
|
- cargo.hydroponicsseeds
|
||||||
|
- cargo.hydroponicsseedsexotic
|
||||||
|
- cargo.servicejanitorial
|
||||||
|
- cargo.servicelightsreplacement
|
||||||
|
- cargo.engineameshielding
|
||||||
|
- cargo.engineamejar
|
||||||
|
- cargo.engineamecontrol
|
||||||
|
- cargo.funplushies
|
||||||
|
- cargo.funartsupplies
|
||||||
|
- cargo.funinstruments
|
||||||
|
- cargo.materialsteel
|
||||||
|
- cargo.materialglass
|
||||||
|
- cargo.materialplastic
|
||||||
|
- cargo.enginesingularityemitter
|
||||||
|
- cargo.enginesingularitycollector
|
||||||
|
- cargo.enginesingularitygenerator
|
||||||
|
- cargo.enginesingularitycontainment
|
||||||
Reference in New Issue
Block a user