NanoTrasen might send Gifts to the station via Cargo (#16556)

* Rebase Cargo Gifts

* Remove Chaos values from gifts (for now)

* Translate CargoGifts, rename fields

* Fix gift errors, detect missing products

* Fix order Id, some crate IDs

* Fix get Station. Gifts for Sec, Med, Fire, spacing

* Minimum players for various gifts

# Conflicts:
#	Resources/Prototypes/GameRules/cargo_gifts.yml
This commit is contained in:
Tom Leys
2023-05-23 09:55:27 +12:00
committed by GitHub
parent d45e48b149
commit db81e59013
10 changed files with 514 additions and 6 deletions

View File

@@ -282,7 +282,7 @@ public sealed partial class CargoSystem
var numToShip = order.OrderQuantity - order.NumDispatched;
if (numToShip > spaceRemaining)
{
// We won't be able to fit the whole oder on, so make one
// We won't be able to fit the whole order on, so make one
// which represents the space we do have left:
var reducedOrder = new CargoOrderData(order.OrderId,
order.ProductId, spaceRemaining, order.Requester, order.Reason);