Transport Drones

by Klonan

Adds transport drones and transport depots

Content
4 months ago
0.18 - 1.1
71.8K
Logistics

g Enabling not-stackable items for transport

3 years ago
(updated 3 years ago)

I'm using the Total Automization - RTS Rebalance mod, which uses various Armors in its soldier recipes.
The code has this IF statement to exclude unstackable items from getting a generated transport recipe. I'd like to know how to sidestep this check so I can get my Light Armor one at a time if I need to.

This is what I have so far, yet armor still isn't showing up?


local make_recipe = function(item)
...
--if util.has_flag(item, "not-stackable") or util.has_flag(item, "hidden") then return end
if util.has_flag(item, "hidden") then return end

if util.has_flag(item, "not-stackable") then
recipe_amount = 1
else
recipe_amount = 65000
end
...
results =
{
{type = "item", name = item.name, amount = recipe_amount, show_details_in_recipe_tooltip = false},

New response