Integration Helper [ALPHA]


[ALPHA] This is an early access release, as such errors and bugs may happen, which might cause you to lose progress in your save game. Provides some helper functionality for stream integration. Intended for Factorio streamers that seek to spice up their game by having viewers trigger actions in the game. This mod does not do anything on its own. It merely provides a remote interface which needs to be called (e.g. via RCON) for things to happen.

Utilities
1 year, 3 months ago
1.1
161

Changelog

Version: 0.4.16
Date: 2023-08-07

  Bugfixes:
    - remove_floor overwrite hidden tile for removed floor tiles.
Version: 0.4.15
Date: 2023-08-06

  Changes:
    - remove_floor now checks for valid tile choices if specified and will error out when an
      invalid name is specified.
Version: 0.4.14
Date: 2023-08-06

  Features:
    - Added remove_floor remote call. Removes player placeable tiles (Concrete, Stone path, etc)
Version: 0.4.13
Date: 2023-07-10

  Bugfixes:
    - Fixed rain_item sometimes reporting decimals due to calculation errors.
Version: 0.4.12
Date: 2023-05-27

  Bugfixes:
    - Fixed homing count default value calculation for barrage command.
Version: 0.4.11
Date: 2022-12-24

  Bugfixes:
    - Fixed unrecoverable error when player died in between vacuum starting and ending but was
      already alive when it ended.
Version: 0.4.10
Date: 2022-12-18

  Features:
    - Added ability to modify mining speed of a player
Version: 0.4.9
Date: 2022-12-08

  Bugfixes:
    - Fixed unrecoverable error when player is dead when armor removal times out and attempts
      to return the armor to the player.
    - Added a few more safety checks related to player death.
Version: 0.4.8
Date: 2022-11-29

  Features:
    - Added item_class and all_players parameters to remove_entity command. Allows centering
      entity removal around all players. item_class overrides the item name if specified and
      can be used to find any entity of a specific type rather than a specific entity type.
      Use item_class 'assembling-machine' rather than 'assembling-machine-1' as name to remove
      any assembling machine, rather than just Tier 1 Assemblers.
Version: 0.4.7
Date: 2022-11-28

  Bugfixes:
    - Fix teleport being delayed until a location could be found when the spawn location
      was modified to not be at 0,0 and there was no valid location around 0,0.

  Features:
    - Allow remove_entity to leave the contents of removed entities rather than removing it.
Version: 0.4.6
Date: 2022-11-11

  Features:
    - Allow to increase the build distance of a player.
    - Allow to increase the reach distance of a player.
Version: 0.4.5
Date: 2022-11-04

  Bugfixes:
    - Fixed unrecoverable error when player dies while affected by vacuum command.
    - Fixed ramp_duration not working for drain_* commands without also specifying
      a non-zero delay.
Version: 0.4.4
Date: 2022-11-01

  Bugfixes:
    - Fixed drain_battery and drain_shield not respecting a 0 value for absolutes

  Features:
    - Added drain_energy command that drains all equipment energy
    - Added a ramp_duration parameter to drain_* commands, to adjust the value
      over time, rather than instantly setting the desired value.
Version: 0.4.3
Date: 2022-10-15

  Bugfixes:
    - Fixed accessing an undefined variable in modify_walk_speed and modify_craft_speed
    - Fixed more unknown key errors in text messages
    - Fixed an error when calling load_turrets
Version: 0.4.2
Date: 2022-10-07

  Bugfixes:
    - Fixed an unintended side effect of 0.4.1 changes to barrage, which caused
      it to no longer fire when the player targeted died.

  Changes:
    - Barrage command can now receive an optional position and surface to target
      rather than targeting the player.
    - Barrage command now has an optional parameter that allows to specify whether
      or not to continue shooting when the player targeted is dead. For consistency
      with previous versions this is enabled by default.
Version: 0.4.1
Date: 2022-10-07

  Bugfixes:
    - Fixed an issue which caused names to not be displayed correctly
    - Fixed an issue with vacuum command causing an unrecoverable error when player dies
      during its lifetime.
    - Fixed a typo in the default message for cancel_handcraft

  Features:
    - Improved compatibility with Space Exploration Navigation Satellite mode. Calls will
      now target the actual player, instead of the current navigation satellite view.
Version: 0.4.0
Date: 2022-09-09

  Important:
    - You will need to change your calls as some parameters have changed.
    - Please read the entire changelog of this version carefully!

  Changes:
    - the order of parameters for the teleportation commands has changed. The surface the
      player is teleported to is now the last parameter and optional. Previously it was the
      second mandatory parameter.
    - Adjusted projectile speed of barrage command to be generally slower and speed up based
      on evolution and current player speed.
    - The teleport_distance command has received the delay parameter from teleport_delay_distance
    - The teleport_delay_distance command has been removed.
    - The teleport_delay command has been renamed to teleport.

  Features:
    - Added speed modifier and range modifier parameters to barrage command, allowing to adjust
      the maximum speed and range of projectiles.
    - Added target_force parameter to enemy_arty command, to allow to specify the force that
      the turret gets assigned to.
    - get_naked now restores the equipment energy to a percentage of the value it had when
      the armor got removed rather than removing any stored energy. It received two optional
      parameters battery and shields to configure the percentage of energy retained. Defaults
      to 50-75% and 0-20% respectively.
    - Added new function rain_item to spawn a specified item around a location.

  Bugfixes:
    - Fixed vacuum not picking up from belts in automatic mode.
    - Fixed player on fire not doing anything if player is dead when called. It will now
      delay until the player is alive again and then start the flames.
    - Fixed unrecoverable error when the player was dead while a speed modification (crafting,
      walking) ran out.
    - Fixed not removing all armors from player in some situations when calling get_naked.
    - Fixed armor losing stored energy when it was dumped by dump_inv
    - Fixed unrecoverable error when vacuum tried to pull items from the ground while the player
      inventory was full.

  Notes:
    - The help command has been removed. See Readme.md for information ahout available commands,
      their functionality, available parameters and their default values.
Version: 0.3.1
Date: 2022-06-10

  Bugfixes:
    - Fixed teleportation not working correctly in some cases.
    - Fixed rails not being constructed by build_ghosts before construction bots were
      researched even though remnants were supposed to be restored.
    - Fixed unrecoverable error with cancel_hand_craft
    - Fixed missing messages for hand crafting
    - Fixed start_hand_craft not selecting a valid item to craft

  Changes:
    - position is now optional for snap_wires and it is now defaulting to the entire surface

  Features:
    - Added option to have vacuum command pick up stuff automatically
Version: 0.3.0
Date: 2022-06-04

  Notes:
    - This is a BETA release. Please note that things may be broken or cause errors that throw you
      back to the main menu, losing your save game progress.

  Features:
    - Provides a remote interface to trigger several actions in the game. Documentation of said
      features will follow at a later time, for now call the help function, which will print
      the available commands in game for everyone.