chore: udkørslens holdbesked viser liter i lager og læs (1.62.359)
This commit is contained in:
@@ -104,8 +104,10 @@ local function reasonFor(product, e, input)
|
||||
return string.format("%s: %s reserveret til %s", product.name, formatLiters(e.reserve), names ~= "" and names or "gårdens eget forbrug")
|
||||
end
|
||||
if wantsSell(product.policy) and (e.priceOk or e.overflow) and product.quote ~= nil and not e.minSourceOk then
|
||||
return string.format("%s: lager %d %% (henter fra %d %% eller fuldt læs)", product.name,
|
||||
math.floor(e.storagePercent + 0.5), input.minSourcePercent)
|
||||
-- liter med (in-game 19/10: "lager 2 %" skjulte, at flowet kun hentede bøffelmælk, mens 350.000 l komælk ventede)
|
||||
return string.format("%s: lager %d %% (%s l, læsset %s l; henter fra %d %% eller fuldt læs)", product.name,
|
||||
math.floor(e.storagePercent + 0.5), formatLiters(e.available), input.capacity ~= nil and formatLiters(input.capacity) or "?",
|
||||
input.minSourcePercent)
|
||||
end
|
||||
local canStore = wantsStore(product.policy) and product.store ~= nil
|
||||
if wantsSell(product.policy) and product.quote == nil and not canStore then
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<modDesc descVersion="107">
|
||||
<author>masterdraco</author>
|
||||
<version>1.62.358.0</version>
|
||||
<version>1.62.359.0</version>
|
||||
<title>
|
||||
<en>AD Smart Pickup</en>
|
||||
</title>
|
||||
|
||||
Reference in New Issue
Block a user