Sing the swarm to sleep. Stand around. For a few seconds.
Heads up: I made this mod with a lot of help from AI. Claude wrote most of the code and text, and the thumbnail and icons are AI-generated. The rays and swirls come from scripts, and the sounds were built by a script from a licensed stock clip. I direct, playtest and tweak every update myself.

Lullaby is a 2x2 armor module: a khaki backpack with a big brass gramophone horn on top. When enemies come near, it starts playing. Biters charging at you freeze right at the edge of the song, twitching in their sleep. Spitters further out are drawn in toward the music, unable to fire. Worms go quiet.
But nobody stays asleep for long. Every pulse of the song, sleepers may scuttle a little closer, and the chance builds the longer they stay put. Watch for the swirls over their heads spinning faster and the twitching getting worse: that one's about to move. Given time, everything ends up at your feet, so use the breather to line up your shots, reload, or get out.
From the operator's manual: The recording is for you. The carrier wave underneath it is for them.
How it works
- Automatic: wakes up when any biter or spitter is within 20 tiles, so it's already playing when they arrive. Pulses once a second, and winds down half a second after the last one is out of range.
- Sleep (9 tiles): biters and spitters are held in place. Charging biters are stopped right at the edge. Each pulse they may scuttle 2 tiles closer, walking a few steps before they freeze again.
- Siren song (20 tiles): spitters are entranced too and walk in toward you without firing, until they're asleep with everyone else.
- Worm hush (50 tiles): worms stop firing while the song plays.
- Waking up: an entranced enemy wakes fully when it creeps to point blank, when its trance wears off (30 seconds), when you leave it behind, or when the song stops. It then shrugs off Lullaby for 30 seconds. Entranced enemies can still be shot, by you and by your turrets.
- Power: runs on your armor's batteries and generators. Each pulse costs 15 kJ, plus 4 kJ for every enemy held. Run out mid-song and the record scratches, and everyone wakes up at once.
- One per grid: Lullaby is a one-of-a-kind piece, like belt immunity or night vision. A second one in the same grid is handed back. In a vehicle that has one while wearing one yourself, only the better one plays (the vehicle's if they're the same quality).
Look and sound
- A gold sunburst of streaky, brushed-light rays turns slowly around you, swaying back and forth. Each pulse sends a jagged wave out through it. It falls off like real light, softens behind you, and at night it lights up the ground and the bugs beneath it.
- Light blue swirls spin over every entranced enemy, faster as they get ready to move.
- A warbly brass pad played like an old record, with a soft thrum on each pulse, a turntable run-down when it stops, and a record scratch if the power gives out.
Light sensitivity:
While Lullaby is playing, its light brightens softly once a second. Set Pulse brightening to 0 for a steady glow, or turn off Lullaby visual effects in your player settings.
Sound sensitivity:
While Lullaby is playing, its music has a deep, pulsing thrum once a second, and it plays a sharp record scratch if its power runs out. Turn off Lullaby sounds in your player settings to mute it; Lullaby still works without sound.
Unlocking and crafting
Research Lullaby after Modular armor, Circuit network, Advanced circuit and Military 2 (200 × red, green and military science).
| Recipe | Ingredients | Made in |
|---|---|---|
| Lullaby | 1 programmable speaker, 10 advanced circuits, 5 steel plate | By hand or any assembler |
Settings
Map settings (can be changed mid-game):
| Setting | Default | What it does |
|---|---|---|
| Longest trance (seconds) | 30 | An entranced enemy wakes fully after this long, so backing away can't keep a crowd under forever. |
| Immunity after waking (seconds) | 30 | How long a fully woken enemy ignores the song. 0 turns it off. |
| Worms can be re-entranced | Off | Off: each worm is hushed only once. On: worms can be hushed again after their immunity. |
| Pulse brightening (%) | 50 | How much the light swells on each pulse. 0 for a steady glow. |
| Disable effect cooldown (testing) | Off | No immunity and worms can be hushed again. Handy for testing. |
Player settings (just for you):
| Setting | Default | What it does |
|---|---|---|
| Lullaby sounds | On | Hear the music, pulses and record scratch. |
| Lullaby visual effects | On | See the rays, glow and night light. Lullaby still works with this off, and the swirls over entranced enemies always show. |
Made with AI
AI was used heavily in the production of this mod. The code, documentation and this description were written with Claude (Anthropic's AI assistant). The equipment icon, technology icon and thumbnail were generated with Grok. The rays, glow and swirls are made by Python scripts rather than drawn, and the sounds were cut and processed from a licensed stock clip by another script; those scripts were also written with AI. I direct the design, and every version is played, tested and tuned in-game by me before it's released.
Compatibility
- Made for Factorio 2.1.
- Space Age is optional. With the quality mod, higher quality Lullabies win when you have two.
- Fits any equipment grid that takes armor modules, plus vehicle grids from overhaul mods that add them.
- Affects biters, spitters and worms, including enemies from other mods. Pentapods and demolishers aren't affected.
Credits
- The equipment icon, technology icon and thumbnail were made with AI image generation (Grok).
- The rays, glow and swirls were drawn procedurally for this mod.
- Sounds were built from an Envato Elements asset ("Brass Swell 5"), reworked into a swell-in, crossfading pulse loops with a sub-bass thrum, a turntable run-down and a record scratch. The sound files are used under the Envato Elements licence and are not covered by the Unlicense.
Source
Code released under the Unlicense (the sound files stay under their Envato Elements licence): https://github.com/afewvowels/WePlayLullaby
More WePlay mods
Like getting creative with biters? Try these too:
- WePlay: Bubble Gun: trap biters, spitters, nests and worms in bubbles and send them floating off to become someone else's problem.
- WePlay: Personal Tesla Defense Equipment: a 2×2 armor module that fires chain lightning at nearby enemies. Its custom arcing script makes bolts thrash, fork and follow moving targets, in your pick of six color palettes, from classic electric blue to plasma purple and solar gold.
- WePlay: Phase Disruptor: armor equipment that locks wild, wandering energy streams onto nearby enemies. Just don't cross the streams.
See all my mods on my mod portal page.