Loaded Turrets


Recipes to craft turrets with pre-filled ammo which are ready to fire soon after being placed.

Tweaks
2 months ago
1.1
730
Combat

g Rampant arsenal support

2 months ago
(updated 2 months ago)

Mod is cool for me. It isn't so cheaty as Fill4Me. It's more balanced and interesting.
But I play with rampant and rampant arsenal mod.
Could you introduce pre-filled rampant arsenal turrets recipes? Especially capsule turrets.
Pre-filled artillery recipes will be good as well.
Thanks a lot for mod.

2 months ago

Thanks for your comments, I'm glad you like it!

I'm currently working on making it work for all ammo turrets and compatible ammo, which should work for all mods. I hope to release in the next couple of days.

I'd like to do artillery turrets as well, but they are a separate system in the game which I'll need to do separately. Maybe fluid turrets too (something like: fluid turret + barrels of fluid = filled fluid turret + empty barrels), but then how to recover the unused fluid? Maybe leave it up to the player to solve. :)

2 months ago

Loaded Turrets 1.0 is released with (hopefully) support for ammo turrets added by all mods, though I tested specifically with Rampant Arsenal.

Let me know what you think and if you encounter any problems!

2 months ago

Thanks a lot. It was very helpful.

2 months ago

It was error on startup.
-loaded-turrets__/set.lua: 12: stack overflow
stack traceback:
-_loaded-turrets__/set.lua: 12: in function 'has'
-_loaded-turrets__/set.lua:20: in function 'add'
-_loaded-turrets__/set.lua:7: in function 'new'
-_loaded-turrets__/data-updates.lua:64: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp' loaded-turrets/data-updates.lua:66: in function "tp'
-
loaded-turrets__/data-updates.lua:66: in function 'tp'
-loaded-turrets__/data-updates.lua:66: in function 'tp' _loaded-turrets__/data-updates.lua:66: in function tp' __loaded-turrets__/data-updates.lua:66: in function "tp'
-_loaded-turrets__/data-updates.lua:66: in function 'tp'
-
loaded-turrets__/data-updates.lua:73: in main chunk
• loaded-turrets (1.0.0)

Waiting fix so much.

2 months ago
(updated 2 months ago)

Can I get a list of mod's you're using?

The contents of the plain text %appdata%\Roaming\Factorio\mods\mod-list.json file would work.

2 months ago
(updated 2 months ago)

Published 1.0.1 which I hope fixes it. If startup works now and you're willing, I'd be curious what the log message that starts with calculated prerequisites says.

2 months ago

Is it fixed for you? If not, can I get a save with your mods installed? (It can be a fresh save which might be easier to upload.)

2 months ago

On version 1.0.2 on startup is infinite game loading while loaded turret mod.

2 months ago

My installed mods:

{
"mods":
[

{
  "name": "base",
  "enabled": true
},

{
  "name": "aai-containers",
  "enabled": true
},

{
  "name": "aai-industry",
  "enabled": true
},

{
  "name": "aai-signal-transmission",
  "enabled": true
},

{
  "name": "AdditionalPasteSettings",
  "enabled": true
},

{
  "name": "alien-biomes",
  "enabled": true
},

{
  "name": "Arachnids",
  "enabled": true
},

{
  "name": "AreaPaste",
  "enabled": true
},

{
  "name": "ArmouredBiters",
  "enabled": true
},

{
  "name": "auto-fish",
  "enabled": true
},

{
  "name": "AutoDeconstruct",
  "enabled": true
},

{
  "name": "AutoTrash",
  "enabled": true
},

{
  "name": "BeltRouter",
  "enabled": true
},

{
  "name": "biter-factory",
  "enabled": true
},

{
  "name": "blueprint-align",
  "enabled": true
},

{
  "name": "blueprint-request",
  "enabled": true
},

{
  "name": "blueprint-sandboxes",
  "enabled": true
},

{
  "name": "BlueprintTools",
  "enabled": true
},

{
  "name": "Bottleneck",
  "enabled": true
},

{
  "name": "capacity-combinator",
  "enabled": true
},

{
  "name": "chemical-rocket",
  "enabled": true
},

{
  "name": "CleanFloor",
  "enabled": true
},

{
  "name": "combat-mechanics-overhaul",
  "enabled": true
},

{
  "name": "Constructron-Continued",
  "enabled": true
},

{
  "name": "DestructiveBlueprints",
  "enabled": true
},

{
  "name": "DoRobotsBuildAutomaticTrains",
  "enabled": true
},

{
  "name": "easy-roboport-placement",
  "enabled": true
},

{
  "name": "Electric-Weapons",
  "enabled": true
},

{
  "name": "Enhanced_Map_Colors",
  "enabled": true
},

{
  "name": "equipment-gantry",
  "enabled": true
},

{
  "name": "EvenDistributionLite",
  "enabled": true
},

{
  "name": "FactorySearch",
  "enabled": true
},

{
  "name": "Fill4Me-fixed",
  "enabled": true
},

{
  "name": "flib",
  "enabled": true
},

{
  "name": "fluid_permutations",
  "enabled": true
},

{
  "name": "fox-todo",
  "enabled": true
},

{
  "name": "GhostOnWater",
  "enabled": true
},

{
  "name": "Gun_Turret_Alerts",
  "enabled": true
},

{
  "name": "helmod",
  "enabled": true
},

{
  "name": "informatron",
  "enabled": true
},

{
  "name": "Inventory Sensor",
  "enabled": true
},

{
  "name": "inventory-repair",
  "enabled": true
},

{
  "name": "jetpack",
  "enabled": true
},

{
  "name": "k2-RampantArsenal-walls-resistance",
  "enabled": true
},

{
  "name": "Krastorio2",
  "enabled": true
},

{
  "name": "Krastorio2Assets",
  "enabled": true
},

{
  "name": "kry-inserters",
  "enabled": true
},

{
  "name": "Kux-BlueprintExtensions",
  "enabled": true
},

{
  "name": "Kux-CoreLib",
  "enabled": true
},

{
  "name": "Kux-Zooming",
  "enabled": true
},

{
  "name": "loaded-turrets",
  "enabled": false
},

{
  "name": "LogisticTrainNetwork",
  "enabled": true
},

{
  "name": "LootChestUPS",
  "enabled": true
},

{
  "name": "LR_Turret",
  "enabled": true
},

{
  "name": "LSlib",
  "enabled": true
},

{
  "name": "ltn-cleanup",
  "enabled": true
},

{
  "name": "LtnManager",
  "enabled": true
},

{
  "name": "LTN_Combinator_Modernized",
  "enabled": true
},

{
  "name": "LTN_Content_Reader",
  "enabled": true
},

{
  "name": "LTN_Language_Pack",
  "enabled": true
},

{
  "name": "Milestones",
  "enabled": true
},

{
  "name": "mining-patch-planner",
  "enabled": true
},

{
  "name": "MiscLib",
  "enabled": true
},

{
  "name": "ModuleInserterSimplified",
  "enabled": true
},

{
  "name": "MouseOverConstruction",
  "enabled": true
},

{
  "name": "Nanobots",
  "enabled": true
},

{
  "name": "NindyCore",
  "enabled": true
},

{
  "name": "osm-lib",
  "enabled": true
},

{
  "name": "osm-lib-postprocess",
  "enabled": true
},

{
  "name": "parameterized-blueprints-zee",
  "enabled": true
},

{
  "name": "personal-logistics-templates",
  "enabled": true
},

{
  "name": "PipeVisualizer",
  "enabled": true
},

{
  "name": "pump",
  "enabled": true
},

{
  "name": "QuickbarTemplates",
  "enabled": true
},

{
  "name": "RampantArsenal",
  "enabled": true
},

{
  "name": "RampantArsenal-poison-fixes",
  "enabled": true
},

{
  "name": "RampantFixed",
  "enabled": true
},

{
  "name": "RateCalculator",
  "enabled": true
},

{
  "name": "RecipeBook",
  "enabled": true
},

{
  "name": "redo",
  "enabled": true
},

{
  "name": "RemoteConfiguration",
  "enabled": true
},

{
  "name": "Repair_Turrets",
  "enabled": true
},

{
  "name": "resourcehighlighter-dark",
  "enabled": true
},

{
  "name": "reverse-factory",
  "enabled": true
},

{
  "name": "RichBlood",
  "enabled": true
},

{
  "name": "RichBloodCompatFix",
  "enabled": true
},

{
  "name": "robot_attrition",
  "enabled": true
},

{
  "name": "SchallCircuitGroup",
  "enabled": true
},

{
  "name": "SchallTransportGroup",
  "enabled": true
},

{
  "name": "Searchlight",
  "enabled": true
},

{
  "name": "shield-projector",
  "enabled": true
},

{
  "name": "show-max-underground-distance",
  "enabled": true
},

{
  "name": "simhelper",
  "enabled": true
},

{
  "name": "solar-calc",
  "enabled": true
},

{
  "name": "space-exploration",
  "enabled": true
},

{
  "name": "space-exploration-graphics",
  "enabled": true
},

{
  "name": "space-exploration-graphics-2",
  "enabled": true
},

{
  "name": "space-exploration-graphics-3",
  "enabled": true
},

{
  "name": "space-exploration-graphics-4",
  "enabled": true
},

{
  "name": "space-exploration-graphics-5",
  "enabled": true
},

{
  "name": "space-exploration-menu-simulations",
  "enabled": true
},

{
  "name": "space-exploration-postprocess",
  "enabled": true
},

{
  "name": "Squeak Through",
  "enabled": true
},

{
  "name": "stdlib",
  "enabled": true
},

{
  "name": "TintedGhosts",
  "enabled": true
},

{
  "name": "TrainRefuelStation",
  "enabled": true
},

{
  "name": "TrainStatusIcons",
  "enabled": true
},

{
  "name": "VehicleSnap",
  "enabled": true
},

{
  "name": "what-is-it-really-used-for",
  "enabled": true
},

{
  "name": "WideChests",
  "enabled": true
},

{
  "name": "Wood_Mulch",
  "enabled": true
}

]
}

2 months ago

Thanks, but I didn't realize when I made that comment that I actually need an uploaded save file, not just the mods list. It can be a new save file (to make it smaller) and without Loaded Turrets installed (so you can actually load the game).

2 months ago

Sorry, how can I send save file for you? I cannot attach it here

2 months ago

A user from another thread uploaded their save to https://filebin.net/

2 months ago

Thanks for the save file, it was very helpful to fix Loaded Turrets. I have released 1.0.3 which loads the provided save and seems to work after doing some quick tests.

Btw, you might consider disabling Fill4me since the mods can have annoying interactions. In particular, fill4me could put ammo in before the Loaded Turrets delay, and if the ammo doesn't match then Loaded Turrets will spill the ammo on the ground instead.

I also noticed that some turrets only allow a stack size of 1 but since their automated_ammo_count field is larger than their max stack size Loaded Turrets will try to put more than will fit in the turret and spill the remainder on the ground. IMO the correct fix for this is for those mods to tune the automated_ammo_count field for the turrets that they create.

2 months ago

It works for me.
Thanks a lot.

2 months ago

There was one problem only. I use repair turrets for support defence perimeter. I use this mod https://mods.factorio.com/mod/Repair_Turret
As well as repairing this turrets can construct turrets and walls. But when repair turret constructs loaded turrets ammo wasn't placed into turret.
Please, fix it if it's possible.
Thanks again for the great mod. It's very helpful and next step for defence and bitters nests attacking.

2 months ago

Thanks for calling out Repair Turrets. I just released 1.0.4 which makes it work with Repair Turrets and (hopefully) other mods that use the script_raised_revive event.

New response