Stasis Mine


Adds weapons and streamer effects that takes everything in to a temporary stasis, with them becoming frozen and immune from damage.

Content
2 years ago
1.0 - 1.1
29.2K
Combat

Changelog

Version: 20.0.6
Date: 2022-10-16
  Features:
  Changes:
  Bugfixes:
    - Fix crash when stasis landmine detonated. Caused by silly trivial last minute change that apparently wasn't tested afterwards.
    - Fix warning when using remote interface calls on a player with no character.
  Info:
    - Stasis graphics effect made more definite (less transparent) by doubling up the smoke graphics count. Known & documented limitation in mod design.
    - Trains always get a larger stasis graphics, whereas all other entities get a stasis effect based on their smallest selection box side length (closest to graphics size).
Version: 20.0.5
Date: 2022-10-11
  Features:
    - Added option to enable/disable trains being affected by stasis. Defaults to affecting trains.
    - Added option to enable/disable spidertrons being affected by stasis. Defaults to affecting spidertrons.
    - Added option to set the stasis blast area. Defaults to the original 6 tiles.
    - Added remote interface call to apply a custom length stasis effect to a single entity. Details in mod description/readme.
    - Added remote interface call to apply a custom stasis area effect to a position. Details in mod description/readme.
    - Per affected entity stasis graphic and light size is roughly scaled based on the entities main graphic size (selection_box). This isn't perfect, but kept generic to avoided doing any entity bespoke coding.
  Changes:
    - Trains are now entirely affected when one or more carriages are affected by stasis (mod setting depending). Now a fully affected train has stasis applied to all carriages in the train and it is fully stopped and prevented from moving for the duration of the effect. This is as a partially affected train doesn't behave nicely and would have lots of edge cases.
    - Players are not able to get in/out of vehicles in stasis. This is managed by script and not permission groups.
    - Renamed mod to Stasis Weapons.
    - If a player in a vehicle affected by stasis is teleported out of the vehicle, that player becomes directly affected by stasis as well.
  Bugfixes:
    - Trains are no longer mostly stopped. They are fully stopped.
    - Stasis weapons don't show on bonuses lists as they aren't affected by weapon upgrades.
    - Stasis effect graphic will appear more centered on things (middle of selection box, rather than entities position).
    - A teleported vehicle in stasis now has the player's view updated to the new location, rather than left at the old vehicles location. This bug was from default Factorio logic for a disabled vehicle.
  Info:
    - A lot of the additions will only apply to entities newly affected by stasis. Entities that were stasis'd in a previous mod version will be largely unchanged.
Version: 20.0.4
Date: 2022-09-16
  Features:
    - Added Stasis Rocket (temporary graphics).
    - Added Stasis Grenade (temporary graphics).
    - Added mod startup settings to disable each of the stasis weapon types. This disables the technologies, recipes and item lists for the stasis weapon. It doesn't remove the items so they can still be used via other mods in game.
  Changes:
  Bugfixes:
    - Entity affected blue light is now done within script and not on explosion. This means a new timed light won't be added to targets which are already in stasis, leading to the light lasting longer than the stasis effect. Also means the light won't appear on any excluded entity types: spider legs and other stasis land mines.
  Info:
    - Licence changed.
Version: 20.0.3
Date: 2020-12-05
  Features:
    - Update for Factorio 1.1.
  Changes:
    - Added light when detonation.
  Bugfixes:
  Info:
Version: 1.0.2
Date: 2020-11-13
  Features:
  Changes:
  Bugfixes:
    - Filter on_script_trigger_effect events correctly.
    - Handle missing or invalid entity from on_script_trigger_effect event.
    - Fix technology name localisation bug.
  Info:
Version: 1.0.1
Date: 2020-11-04
  Features:
  Changes:
    - All entities are now affected, including trees, player characters, etc
    - Trains are slowed down to near 0 movement speed. They will continue their automatic path afterwards.
    - Cars and tanks are frozen. They will continue at previous speed afterwards.
    - Prevent all interaction with stasis'd entities where possible.
  Bugfixes:
    - Add missing stasis land mine remnant localisation
  Info:
    - Spidertrons are listed as intentionally immune (mines naturally don't affect them).
Version: 1.0.0
Date: 2020-11-03
  Features:
    - Initial Release
  Changes:
  Bugfixes:
  Info: