WePlay: Bubble Gun


A handheld bubble gun that traps biters, nests and worms in bubbles and lets the wind carry them off to become someone else's problem.

Content
a day ago
2.1
5
Combat Enemies
Owner:
afewvowels
Source:
https://github.com/afewvowels/WePlayBubbleGun
Homepage:
https://github.com/afewvowels/WePlayBubbleGun
License:
The Unlicense (Public Domain)
Created:
2 days ago
Latest Version:
0.5.1 (a day ago)
Factorio version:
2.1
Downloaded by:
5 users

Spray a fan of bubbles, trap biters, nests and worms, and send them floating off to become someone else's problem.

The Bubble Gun sprays a wide, short-range stream of soap bubbles that swell as they fly. Every bubble that lands on an enemy fills a bigger bubble around it, and once it's full, the enemy is lifted clean off the ground, squirming and kicking inside, then carried up and away. It doesn't do any damage: it just makes the problem leave.

Small biters go up almost instantly. Big biters, spitters and worms take a moment of steady spraying, and a spawner needs a few seconds point-blank. Stop spraying too soon and a half-filled bubble slowly leaks away.

Note: trapped enemies are removed, not killed, so they don't leave corpses or count as kills. Space Age's long-legged pentapods can't be trapped yet. If you'd like that, let me know in the Discussion tab!

How it works

  • Spray: hold fire for a steady stream of small, medium and large bubbles in a wide fan, with a bubbling sound that loops for as long as you hold the trigger. Bubbles grow as they fly and pop about 6–9 tiles out.
  • Fill: each bubble that hits adds to the trap bubble around that enemy. Bigger bubbles fill it faster, and biters stop moving while their bubble inflates.
  • Lift off: with a deep bloop, the enemy floats up inside its bubble. Biters and spitters squirm back and forth trying to turn around, and kick at the walls every few seconds. Some just give up and spin. Nests breathe and throb.
  • Up, up and away: after a moment of hovering, the bubble climbs faster and faster until it's off screen. Gone for good.
  • Or land somewhere else: switch the map setting and bubbles drift on the wind for 15–30 seconds instead, then pop and drop whatever's inside wherever they happen to be. Hope it's not near a friend's base.
  • Rainbow bubbles: turn on the startup setting and every bubble in the stream, and every bubble an enemy gets trapped in, comes out in a random color of the rainbow.

Unlocking and crafting

Research Bubble Gun after Military 2 and Lubricant (150 × red, green and blue science).

Recipe Ingredients Made in
Bubble Gun 10 iron gear wheels, 5 steel plate, 5 pipes, 10 electronic circuits By hand or any assembler
Bubble Solution 1 iron plate, 50 water, 10 lubricant Chemical plant

Each canister of Bubble Solution gives about 5 seconds of continuous spraying.

Settings

Setting Type Default Range
Party Mode: swaps the gun's industrial yellow for a pink and cyan paint job Startup Off
Rainbow bubbles: spray and trap bubbles in every color of the rainbow Startup Off
Where do the bubbles go? Map Up, up and away Up, up and away / Land somewhere else
Wind speed Map 3 tiles/s 0.5 – 20

Compatibility

  • Made for Factorio 2.1.
  • Space Age is optional.
  • Traps biters, spitters, spawners and worms, including enemies from other mods. Bubble sizes are measured from the vanilla sprites; modded enemies get a size based on their hitbox.
  • Pentapods and demolishers aren't trapped.

Credits

  • The gun and Bubble Solution icons were made with AI image generation (Grok).
  • The bubble, pop and shadow effects were drawn procedurally for this mod.
  • Sounds were built from an Envato Elements asset (SOUND_NAME_HERE), cut into a start, a seamless firing loop, a fade-out and single-bubble pops.

Source

Code released under the Unlicense (the sound files stay under their Envato Elements licence): https://github.com/afewvowels/WePlayBubbleGun

More WePlay mods

Like making biters someone else's problem? Try these too:

  • WePlay: Tornado Gun: fire tornadoes that suck up biters, spin them through the sky and slam them back down.
  • WePlay: Shock Lance: an armor-powered energy rifle with Unreal Tournament-style shock combos. Launch a plasma orb, shoot it with a bolt, and watch it go supernova.

See all my mods on my mod portal page.