Actions - GoryMoon/SatisfactoryStreamIntegration GitHub Wiki

Actions

The options for the actions and the defaults can be found below, if the fields aren't provided the values below will be used.

All actions that have numbers as a string support the use of calculation from the event data.

All actions have the "target": "self" property, it can be "self", "random" or any player name.

All actions have the "delay_min" and "delay_max" property that can be used to randomize the time in seconds to delay the action.

All actions have the "silent" property that will run the action without printing the action message.

Heal Player

Heals the player with the amount specified, negative value removes health

{
	"type": "heal_player",
	"amount": "100"
}

Inventory Bomb

Dropps all the items in front of the player

{
	"type": "inventory_bomb",
	"spread": 2,
	"drop_equipment": false
}

spread Is a range in meters that it randomizes in front of the player to place the items

Move Player

{
	"type": "move_player",
	"amount": "10.0",
	"amount_vertical": "-1",
	"no_fall_damage": 5.0
}

amount The distance horizontally it tries to move the play in meters

amount_vertical Is the height it will try to move in, if -1 it's based on the normal amount

no_fall_damage The time in seconds to negate fall damage

Give Item

Gives an item to the player, if it doesn't fit in the inventory it's dropped.

{
	"type": "give_item",
	"id": "IronIngot",
	"amount": "1",
	"drop": false,
	"spread": 2
}

id The id of the item to give to the player, a list of available items can be found here

drop If the item should be dropped in front of the player of given into the inventory

spread Is a range in meters that it randomizes in front of the player to place the items

Spawn Mob

{
	"type": "spawn_mob",
	"id": "SpaceRabbit",
	"amount": "1",
	"radius": 10,
	"persistent": true,
	"scale_min": "1",
	"scale_max": "1",
	"despawn_time": 0,
	"kill_on_despawn": true
}

id The id of the mob to spawn, a list of available items can be found here

radius The area in meters around the player to spawn the mob in

persistent If the mob would be persisted on save and not despawn after a couple of seconds.

scale_min and scale_max The included range to randomize the scale, if both are the same that scale is used

despawn_time The time in seconds until the mod is despawned or killed

kill_on_despawn If True the mob will be killed and ragdoll when the despawn timer hits, if False they will just disappear

Drop Bomb

NOTE There is for some reason no explosion sound atm

{
	"type": "drop_bomb",
	"amount": "1",
	"time": "5",
	"height": "5",
	"radius": "5",
	"damage": "40",
	"damage_radius": "5"
}

time The time in seconds before the bomb explodes

height How high above the player to spawn the bomb

radius The area in meters around the player to spawn the bomb in

damage The amount of damage it should deal, the default is the vanilla amount, can be 0

damage_radius The area around the explosion that should be damaged in meters

Emote

Runs an emote

{
	"type": "emote",
	"style": "Clap"
}
Style
Clap
Naruto
Spin

Trigger Fuse

Can trigger the fuse of connected networks with a chance, if it doesn't trigger it will fake it.

Need to build the "Integration Power" pole and connect to network to make this work.

{
	"type": "trigger_fuse",
	"chance": "100"
}

chance The chance from 0-100 that it will trigger for real, else it will fake a trigger

Low Gravity

Sets the gravity scale on the player when not in a vehicle

{
	"type": "low_gravity",
	"amount": 0.1,
	"reset_time": 300
}

amount The amount to set it to, 1 is normal gravity

reset_time The time until the gravity is reset in seconds

Color Change

Changes the color of a color slot in the paint gun.

{
	"type": "color_change",
	"slot": 0,
	"primary_colors": [
		{
			"red": "-3",
			"green": "-3",
			"blue": "-3"
		}
	],
	"secondary_colors": [
		{
			"red": "-3",
			"green": "-3",
			"blue": "-3"
		}
	]
}

slot The slot from 0-15 to change

*_colors A list of colors to randomize from.

Value Result
-1 Will keep the color value from the current one.
-2 Random color value
-3 If any value has this, it will randomize a hue in a HSV color