Add trade stations (#23863)
* puters * Start on fulfillment * weh * Smol update * FTL sound fixes or smth iunno * Add consoles * More tweaks * Make it unanchorable * final wehs * weh * Fix 1 test * Shrimply bump the distance * cat
This commit is contained in:
@@ -65,10 +65,10 @@ public sealed partial class CargoSystem
|
||||
}
|
||||
|
||||
var xform = Transform(uid);
|
||||
if (FulfillOrder(orderDatabase, xform.Coordinates, comp.PrinterOutput))
|
||||
if (FulfillNextOrder(orderDatabase, xform.Coordinates, comp.PrinterOutput))
|
||||
{
|
||||
_audio.PlayPvs(_audio.GetSound(comp.TeleportSound), uid, AudioParams.Default.WithVolume(-8f));
|
||||
UpdateOrders(station!.Value, orderDatabase);
|
||||
UpdateOrders(station.Value, orderDatabase);
|
||||
|
||||
comp.CurrentState = CargoTelepadState.Teleporting;
|
||||
_appearance.SetData(uid, CargoTelepadVisuals.State, CargoTelepadState.Teleporting, appearance);
|
||||
|
||||
Reference in New Issue
Block a user