BestLanding

by PTRNULL

The Best Landing

Utilities
3 days ago
2.0
98
Cheats

Changelog

Version: 1.2.1
Date: 2026-04-20
  Changes:
    - Wrapped each pipeline stage in pcall so a single stage failure no longer aborts on_init or surface creation.
    - Disabled build effect smoke and event raising on bulk ore / tree / fluid create_entity calls; cuts visual noise and event broadcast cost during initial seeding.
    - Skipped tile correction and entity collision pass in the 448x448 default-tile repaint (set_tiles correct_tiles=false, remove_colliding_entities=false); entities are already cleaned beforehand and the interior of the landing zone is uniform.
    - Cached Gleba tree prototype lookup once per session instead of per planted tile (was ~12000 prototype hash lookups on Gleba).
    - Switched blueprints table from a linear list to a dict keyed by lowercase surface name; apply_blueprint now does O(1) lookup and supports multiple blueprints per planet.
    - Unified clean_area interval convention to half-open (matches place_resources.band_area).
    - Removed dead prototypes.item guard in spawn_spider trunk fill; preset items are guaranteed by hard dependencies.
    - Removed defensive pcall around tree.tick_grown / tree_stage_index; PlantPrototype guarantees these fields exist.
Version: 1.2.0
Date: 2026-04-20
  Changes:
    - Restructured codebase into a stage pipeline (clean_area -> place_resources -> apply_blueprint -> spawn_spider) driven by a single planets.lua config table.
    - Renamed area_cleaner.lua / generate_resources.lua / legendary_spider.lua / blueprint.lua to clean_area.lua / place_resources.lua / spawn_spider.lua / blueprints.lua.
    - Added Nauvis and Gleba enemy cleanup (256-tile expand ring) to sweep spawners, worms, and pentapod nests beyond the landing zone.
    - Plant mature, fruit-bearing yumako trees and jellystem trees on Gleba overgrowth soil bands (50% density). Trees are marked mature via LuaEntity::tick_grown so they can be harvested immediately.
    - Fixed fluid source amount overflowing uint32 (8192*1024*512 = 2^32 > uint32 max). Now clamped to 0xFFFFFFFF so crude oil, sulfuric acid geysers, lithium brine, and fluorine vents seed at max capacity.
    - Fixed blueprint module / filter / ammo requests not being delivered to revived entities on Factorio 2.0. apply_blueprint now reads LuaEntity::insert_plan (per-slot BlueprintInsertPlan) instead of the flat LuaEntity::item_requests view, and calls revive with return_item_request_proxy = true. Productivity modules inside recycler blueprints now land in the module slot, not the recycling input queue.
    - Fixed AABB in apply_blueprint to transform blueprint-local coordinates to surface coordinates via anchor + direction before use; previously worked only by accident when every blueprint anchored at (0,0) with direction 0.
    - Removed redundant manual set_tiles in apply_blueprint; forced build_blueprint already places tiles directly.
    - Removed redundant resource/cliff second-pass cleanup in the landing-area cleaner; find_entities already covers them.
    - Switched Vulcanus Demolisher scan to ring chunk generation, cutting one-time chunk-generation cost by ~70%.
    - Spider spawn now retries find_non_colliding_position at radii 128, 256, 512 before falling back to origin.
    - Replaced in-chat game.print diagnostics with log(); warnings still go to factorio-current.log.
    - Fixed locale key mismatch between info.json name and locale/zh-CN/zh-CN.cfg.
Version: 1.1.5
Date: 2026-04-19
  Changes:
    - Bumped base requirement to 2.0.76 (current Factorio stable).
Version: 1.1.4
Date: 2026-04-19
  Changes:
    - Added per-planet starter blueprints for Nauvis, Vulcanus, Fulgora, Gleba, Aquilo.
    - Added Vulcanus Demolisher purge in a 300-tile ring around the landing area.
    - Fixed force_generate_chunk_requests being called inside the chunk loop; now called once after the full request batch.
    - Removed unused added_items debug tracking in add_items_to_inventory.
    - Cleaned up dead .x-or-[1] fallback code paths in area_cleaner.
    - Replaced dead modulo in generate_resources_pattern with plain ipairs.
    - Rewrote README in English only.
    - Added CLAUDE.md with architecture notes, gotchas, and Factorio API references.
Version: 1.1.2
Date: 2026-01-01
  Changes:
    - fix bug
    - 修复错误
Version: 1.1.1
Date: 2026-01-01
  Changes:
    - remove dependency elevated-rails.
    - Add legendary spidertron with full equipment and items.
    - 移除对 elevated-rails 的依赖。
    - 添加全装备和物品的传奇蜘蛛机甲。
Version: 1.1.0
Date: 2026-01-01
  Changes:
    - Add start blackbox / 添加起始黑盒
Version: 1.0.2
Date: 2025-12-31
  Changes:
    - Remove some resource on nauvis landing area / 移除部分在Nauvis着陆区的资源
    - Add dependency on space-age mod / 添加对space-age模组的依赖
Version: 1.0.1
Date: 2025-12-30
  Changes:
    - Add check to ensure the surface has a planet before proceeding / 添加检查以确保表面具有行星属性后再继续
Version: 1.0.0
Date: 2025-12-28
  Changes:
    - Initial release / 首次发布
    - Automatically cleans the landing area on new surfaces / 在新表面自动清理着陆区域
    - Generates planet-specific resources at the landing site / 在着陆点生成该星球的特有资源