Skip to content

Commit 37fb312

Browse files
4.3.0
Spider-tron and Tank
1 parent cda79c4 commit 37fb312

10 files changed

Lines changed: 573 additions & 3 deletions

File tree

changelog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Date: 2026-03-22
1111
- Added "Inserter Stack Size Bonus", "Bulk Inserter Capacity Bonus", "Belt Stack Size Bonus", "Maximum Following Robot Count", and "Beacon Distribution Bonus" sliders in the Logistic Network tab.
1212
- Added "Mining Drill Productivity Bonus" slider in the Mining tab.
1313
- Added "Train Braking Force Bonus" slider in the Trains tab.
14+
- Added "Create Full Tank" action in the Transportation tab with pre-equipped grid loadout.
15+
- Added "Create Full Spidertron" action in the Transportation tab with pre-equipped grid loadout.
1416
Changes:
1517
- Added Toolbelt-aware minimum validation for inventory slots bonus (minimum 0, or 10 after researching Toolbelt).
1618
- Removed "Convert to Legendary Quality (Quality)" action from Blueprints, keeping Legendary Upgrader as the official path.

docs/REMOTE_API.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ Use `get_capabilities().space_age` before calling Space Age specific behavior in
420420
| `facc_remove_ground_items` | yes | none | Removes dropped item entities. |
421421
| `facc_generate_planet_surfaces` | yes | none | Generates available planet surfaces. |
422422
| `facc_create_full_armor` | yes | none | Gives full armor/equipment set. |
423+
| `facc_create_full_tank` | yes | none | Gives a pre-equipped Tank loadout. |
424+
| `facc_create_full_spidertron` | yes | none | Gives a pre-equipped Spidertron loadout. |
423425
| `facc_add_robots` | yes | none | Adds logistic/construction bots. |
424426
| `facc_fill_platform_thrusters` | yes | none | Space platform thruster refuel helper. |
425427
| `facc_regenerate_resources` | yes | none | Regenerates resource patches. |

locale/en/facc.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,16 @@ indestructible-deactivated=Indestructibility OFF: structures can be destroyed ag
136136
create-full-armor=Create Full Armor
137137
create-full-armor-success=Full armor created!
138138
create-full-armor-failure=Not enough inventory space; Armor was not created.
139+
create-full-tank=Create Full Tank
140+
create-full-tank-success=Full Tank created!
141+
create-full-tank-failure=Not enough inventory space; Tank was not created.
142+
create-full-tank-grid-missing=Tank was created, but its equipment grid could not be accessed in this API context.
143+
create-full-tank-partial=Tank created with partial loadout (__1__/__2__ modules placed).
144+
create-full-spidertron=Create Full Spidertron
145+
create-full-spidertron-success=Full Spidertron created!
146+
create-full-spidertron-failure=Not enough inventory space; Spidertron was not created.
147+
create-full-spidertron-grid-missing=Spidertron was created, but its equipment grid could not be accessed in this API context.
148+
create-full-spidertron-partial=Spidertron created with partial loadout (__1__/__2__ modules placed).
139149

140150
platform-distance=Platform Distance (Space Age)
141151
platform-distance-no-station=No space station active on this surface.
@@ -370,6 +380,8 @@ stats-hud-handcraft=Handcraft Timer
370380

371381
[tooltip]
372382
create-full-armor=Inserts a fully equipped armor with several modules.\n[color=orange]Armor type, modules, and quality vary depending on installed and enabled expansions.[/color]
383+
create-full-tank=Inserts a pre-equipped Tank loadout.\n[color=orange]When Quality is active, item and modules are created as Legendary when supported.[/color]
384+
create-full-spidertron=Inserts a pre-equipped Spidertron loadout.\n[color=orange]When Quality is active, item and modules are created as Legendary when supported.[/color]
373385

374386
build-all-ghosts=Revives all ghost entities and tiles on the surface, including landfill.
375387

locale/pt-BR/facc.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,16 @@ indestructible-deactivated=Indestrutibilidade DESATIVADA: estruturas podem ser d
136136
create-full-armor=Criar Armadura Completa
137137
create-full-armor-success=Armadura completa criada!
138138
create-full-armor-failure=Sem espaço no inventário; Armadura não criada.
139+
create-full-tank=Criar Tank Completo
140+
create-full-tank-success=Tank completo criado!
141+
create-full-tank-failure=Sem espaço no inventário; Tank não criado.
142+
create-full-tank-grid-missing=O Tank foi criado, mas a grade de equipamentos não pôde ser acessada neste contexto da API.
143+
create-full-tank-partial=Tank criado com loadout parcial (__1__/__2__ módulos posicionados).
144+
create-full-spidertron=Criar Spidertron Completo
145+
create-full-spidertron-success=Spidertron completo criado!
146+
create-full-spidertron-failure=Sem espaço no inventário; Spidertron não criado.
147+
create-full-spidertron-grid-missing=O Spidertron foi criado, mas a grade de equipamentos não pôde ser acessada neste contexto da API.
148+
create-full-spidertron-partial=Spidertron criado com loadout parcial (__1__/__2__ módulos posicionados).
139149

140150
platform-distance=Distância da Plataforma (Space Age)
141151
platform-distance-no-station=Nenhuma estação espacial ativa nesta superfície.
@@ -369,6 +379,8 @@ stats-hud-handcraft=Tempo de craft manual
369379

370380
[tooltip]
371381
create-full-armor=Insere uma armadura totalmente equipada com diversos módulos.\n[color=orange]O tipo de armadura, os módulos e a qualidade variam de acordo com as expansões instaladas e ativadas.[/color]
382+
create-full-tank=Insere um Tank com loadout pré-equipado.\n[color=orange]Quando Quality está ativo, o item e os módulos são criados como Lendários quando suportado.[/color]
383+
create-full-spidertron=Insere um Spidertron com loadout pré-equipado.\n[color=orange]Quando Quality está ativo, o item e os módulos são criados como Lendários quando suportado.[/color]
372384

373385
build-all-ghosts=Reconstrói todas as entidades e pisos fantasmas na superfície, incluindo aterros.
374386

scripts/manufacturing/set_crafting_speed.lua renamed to scripts/character/set_crafting_speed.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- scripts/manufacturing/set_crafting_speed.lua
1+
-- scripts/character/set_crafting_speed.lua
22
-- Live slider: adjusts manual crafting speed modifier via slider.
33
local M = {}
44
local math_util = require("scripts/utils/flib_math")

scripts/events/gui_events.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ local solar_power_multiplier = require("scripts/environment/solar_power_multipli
4444

4545
-- live auto-run sliders
4646
local set_game_speed = require("scripts/cheats/set_game_speed")
47-
local set_crafting_speed = require("scripts/manufacturing/set_crafting_speed")
47+
local set_crafting_speed = require("scripts/character/set_crafting_speed")
4848
local set_mining_speed = require("scripts/mining/set_mining_speed")
4949
local run_faster = require("scripts/character/run_faster")
5050
local increase_robot_speed = require("scripts/logistic-network/increase_robot_speed")
@@ -154,6 +154,8 @@ local FACC_BUTTONS = {
154154
facc_remove_ground_items=true,
155155
facc_generate_planet_surfaces=true,
156156
facc_create_full_armor=true,
157+
facc_create_full_tank=true,
158+
facc_create_full_spidertron=true,
157159
facc_add_robots=true,
158160
facc_regenerate_resources=true,
159161
facc_high_infinite_research_levels = true,
@@ -275,6 +277,8 @@ local features = {
275277
facc_remove_ground_items = require("scripts/environment/remove_ground_items"),
276278
facc_generate_planet_surfaces = require("scripts/planets/generate_planet_surfaces"),
277279
facc_create_full_armor = require("scripts/armor/create_full_armor"),
280+
facc_create_full_tank = require("scripts/transportation/create_full_tank"),
281+
facc_create_full_spidertron = require("scripts/transportation/create_full_spidertron"),
278282
facc_add_robots = require("scripts/logistic-network/add_robots"),
279283
facc_fill_platform_thrusters = require("scripts/transportation/fill_platform_thrusters"),
280284
facc_regenerate_resources = require("scripts/planets/regenerate_resources"),

scripts/gui/main_gui.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,16 @@ local TABS = {
668668
transportation = {
669669
label = {"facc.tab-transportation"},
670670
elements = {
671+
{
672+
name = "facc_create_full_tank",
673+
caption = {"facc.create-full-tank"},
674+
tooltip = {"tooltip.create-full-tank"}
675+
},
676+
{
677+
name = "facc_create_full_spidertron",
678+
caption = {"facc.create-full-spidertron"},
679+
tooltip = {"tooltip.create-full-spidertron"}
680+
},
671681
{
672682
name = "facc_fill_platform_thrusters",
673683
caption = {"facc.fill-thrusters"},
@@ -811,6 +821,12 @@ local function is_feature_enabled(name, player)
811821
end
812822
if name == "facc_set_platform_distance" then return space_age_enabled end
813823
if name == "facc_fill_platform_thrusters" then return space_age_enabled end
824+
if name == "facc_create_full_tank" then
825+
return compat.prototype_exists("item_prototypes", "tank")
826+
end
827+
if name == "facc_create_full_spidertron" then
828+
return compat.prototype_exists("item_prototypes", "spidertron")
829+
end
814830
if name == "facc_generate_planet_surfaces" then return space_age_enabled end
815831
if name == "facc_convert_inventory"
816832
or name == "facc_upgrade_blueprints" then

scripts/remote/public_api.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ local artillery_range_boost = require("scripts/combat/artillery_range_boost")
3131
local laboratory_speed_bonus = require("scripts/cheats/laboratory_speed_bonus")
3232
local laboratory_productivity_bonus = require("scripts/cheats/laboratory_productivity_bonus")
3333
local set_game_speed = require("scripts/cheats/set_game_speed")
34-
local set_crafting_speed = require("scripts/manufacturing/set_crafting_speed")
34+
local set_crafting_speed = require("scripts/character/set_crafting_speed")
3535
local set_mining_speed = require("scripts/mining/set_mining_speed")
3636
local mining_drill_productivity_bonus = require("scripts/mining/mining_drill_productivity_bonus")
3737
local run_faster = require("scripts/character/run_faster")
@@ -76,6 +76,8 @@ local features = {
7676
facc_remove_ground_items = require("scripts/environment/remove_ground_items"),
7777
facc_generate_planet_surfaces = require("scripts/planets/generate_planet_surfaces"),
7878
facc_create_full_armor = require("scripts/armor/create_full_armor"),
79+
facc_create_full_tank = require("scripts/transportation/create_full_tank"),
80+
facc_create_full_spidertron = require("scripts/transportation/create_full_spidertron"),
7981
facc_add_robots = require("scripts/logistic-network/add_robots"),
8082
facc_fill_platform_thrusters = require("scripts/transportation/fill_platform_thrusters"),
8183
facc_regenerate_resources = require("scripts/planets/regenerate_resources"),
@@ -528,6 +530,8 @@ local ACTION_SPEC = {
528530
"facc_recharge_energy", "facc_ammo_turrets", "facc_increase_resources",
529531
"facc_unlock_recipes", "facc_unlock_technologies", "facc_insert_coins",
530532
"facc_remove_ground_items", "facc_generate_planet_surfaces", "facc_create_full_armor",
533+
"facc_create_full_tank",
534+
"facc_create_full_spidertron",
531535
"facc_add_robots", "facc_regenerate_resources", "facc_high_infinite_research_levels",
532536
"facc_add_infinite_research_levels", "facc_ghost_on_death",
533537
"facc_indestructible_builds_permanent", "facc_non_minable_permanent",
@@ -637,6 +641,8 @@ local ACTION_SCHEMA = {
637641
facc_auto_clean_pollution_interval = { value = "number seconds [1..300]" },
638642
facc_auto_instant_research_interval = { value = "number seconds [1..300]" },
639643
facc_set_inventory_slots_bonus = { value = "number [0..65535], min 10 if toolbelt researched", old_value = "number (optional)" },
644+
facc_create_full_tank = {},
645+
facc_create_full_spidertron = {},
640646
facc_teleport_to_planet = { planet_name = "string (or use value)" },
641647
facc_console_exec = { code = "string (Lua code)" },
642648
facc_refresh_stats_hud = {},

0 commit comments

Comments
 (0)