Terra Palus

by Lukah

Adds a new hybrid planet combining features of Nauvis and Gleba. Brave the dangerous swamp moon of Terra Palus; mine Palusium ore and use UV light to freeze those that would see you destroyed.

Content
a day ago
2.0
15.2K
Planets Combat Environment Mining Fluids

a [Release] Terra Palus 0.2.2

a day ago
(updated a day ago)

Version: 0.2.2 - performance focused update

Performance:

  • Batch processing: Frozen entities (20/tick), spotlights (5/tick), lamps (10/tick)
  • Throttled spotlight targeting to run every 30 ticks (2x/sec) instead of every tick
  • Spatial partitioning: Lamps cached by surface for faster range checks
  • Entity caching: Spotlights tracked via build/destroy events, eliminates find_entities_filtered calls
  • O(1) list operations: Swap-and-pop removal instead of table.remove for lamps/spotlights
  • Event handler optimization: Pre-defined lookup tables for UV turrets and enemy types, early exits
  • Loop optimization: Single-pass for finding closest unfrozen enemy (combined filtering + distance calc)
  • Local variable caching for positions and frequently accessed globals

Bugfixes:

  • Fixed inhibitor lamps not firing freeze events after game load
  • Fixed Factorio 2.0 compatibility (global -> storage migration)
  • Added sticker reapplication on load for frozen/thawing entities

New response