Space platform entity build animation lib

by Quezler

Allows triggering the animation anywhere through the remote interface.

Internal
10 months ago
2.0
412
Blueprints
Owner:
Quezler
Source:
https://github.com/Quezler/glutenfree
Homepage:
https://discord.gg/ktZNgJcaVA
License:
MIT
Created:
1 year, 8 days ago
Latest Version:
1.1.0 (10 months ago)
Factorio version:
2.0
Downloaded by:
412 users

once 2.1.x drops do not expect new 2.0.x mods here, mods will be slowly ported based on my needs and/or requests from the community, thx for playing!

Space age is not a hard dependency, mod has the sprites baked in but you'll still need any feature flag to be active.

Functionality extracted from the poorly named https://mods.factorio.com/mod/platform-construction-only-no-construction-robots mod.

The initial version contains just the legacy option that plays the animation of that entity's size at that position to completion:
/c remote.call("space-platform-entity-build-animation-lib", "legacy", game.player.selected)
It returns a table containing all_scaffolding_up_at and all_scaffolding_down_at for your own mod to do extra logic in.

In the future there is more planned like configuring how long scaffolding stays up, removing it if the entity does, requests are open.

As mentioned on the mod the code was extracted from this mimics the animation near perfectly, though i'd be surprised if you notice a difference.