Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Content.Server/_Forge/BsEnergy/BsReceiverEnergySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ private void ClosePreviousConnection(EntityUid receiverUid, EntityUid transmitte

private void OnWithdraw(EntityUid receiverUid, BsReceiverEnergyComponent receiverEnergyComponent, WithdrawMessage args)
{
if (args.Actor is not { Valid : true } player || (int)receiverEnergyComponent.Money > 0)
if (args.Actor is not { Valid : true } player || (int)receiverEnergyComponent.Money <= 0)
return;

var stackPrototype = _prototypeManager.Index<StackPrototype>("Credit");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private void OnChangePrice(EntityUid transmitterUid, BsTransmitterEnergyComponen

private void OnWithdraw(EntityUid transmitterUid, BsTransmitterEnergyComponent bsTransmitterEnergyComponent, WithdrawMessage args)
{
if (args.Actor is not { Valid : true } player || (int)bsTransmitterEnergyComponent.Money > 0)
if (args.Actor is not { Valid : true } player || (int)bsTransmitterEnergyComponent.Money <= 0)
return;

var stackPrototype = _prototypeManager.Index<StackPrototype>("Credit");
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/_Forge/bs-energy/bs-energy.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ui-bs-receiver-requested-power-label = Requested:
ui-bs-receiver-money-time-label = Time Left:
ui-bs-receiver-money-lost-label = Expenses:
ui-bs-receiver-money-label = Balance:
ui-bs-receiver-withdraw-button = Withdraw
ui-bs-receiver-withdraw-button = Withdraw Funds
ui-bs-receiver-transmitters-label = Available Energy Sellers
ui-bs-receiver-draw-rate-label = Grid Load:

Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/ru-RU/_Forge/bs-energy/bs-energy.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ui-bs-receiver-requested-power-label = Запрошено:
ui-bs-receiver-money-time-label = Осталось:
ui-bs-receiver-money-lost-label = Расход:
ui-bs-receiver-money-label = Баланс:
ui-bs-receiver-withdraw-button = Вывести
ui-bs-receiver-withdraw-button = Вывести средства
ui-bs-receiver-transmitters-label = Доступные продавцы энергии
ui-bs-receiver-draw-rate-label = Нагрузка сети:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
components:
- type: MachineBoard
prototype: BsTransmitterT1
frameSize: 1x1
componentRequirements:
AmeFuelContainer:
amount: 3
Expand Down Expand Up @@ -42,6 +41,9 @@
UraniumFissile: 3
Diamond: 2
Bluespace: 2
- type: Tag
tags:
- MachineBoard2x2

- type: entity
id: BsTransmitterCircuitboardT3
Expand All @@ -64,6 +66,9 @@
UraniumFissile: 4
Diamond: 3
Bluespace: 3
- type: Tag
tags:
- MachineBoard3x3

#BsReceiver Board
- type: entity
Expand All @@ -74,7 +79,6 @@
components:
- type: MachineBoard
prototype: BsReceiverT1
frameSize: 1x1
componentRequirements:
AmeFuelContainer:
amount: 3
Expand Down Expand Up @@ -109,6 +113,9 @@
UraniumFissile: 3
Diamond: 2
Bluespace: 2
- type: Tag
tags:
- MachineBoard2x2

- type: entity
id: BsReceiverCircuitboardT3
Expand All @@ -131,3 +138,6 @@
UraniumFissile: 4
Diamond: 3
Bluespace: 3
- type: Tag
tags:
- MachineBoard3x3
6 changes: 3 additions & 3 deletions Resources/Prototypes/_Forge/Research/BsEnergy/bs_energy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
discipline: Industrial
tier: 2
cost: 20000
position: -1, 3
position: 0, 0
technologyPrerequisites:
- PowerGeneration
- SuperParts
Expand All @@ -20,7 +20,7 @@
discipline: Industrial
tier: 3
cost: 25000
position: -2, 3
position: 0, 0
technologyPrerequisites:
- BsEnergyTechT1
recipeUnlocks:
Expand All @@ -34,7 +34,7 @@
discipline: Industrial
tier: 3
cost: 30000
position: -3, 3
position: 0, 0
technologyPrerequisites:
- BsEnergyTechT2
recipeUnlocks:
Expand Down
Loading