{
	"type": "origins:multiple",
	"callback":
	{
		"type": "origins:action_on_callback",
		"entity_action_added": {
			"type": "origins:and",
			"actions": [
				{
					"type": "origins:execute_command",
					"command": "scale delay set 0 @s"
				},
				{
					"type": "origins:execute_command",
					"command": "scale set pehkui:height 0.5 @s"
				},
				{
					"type": "origins:execute_command",
					"command": "scale set pehkui:width 0.5 @s"
				},
				{
					"type": "origins:execute_command",
					"command": "tag @s add construct"
				}
			]
		}
	},
	"parachute":
	{
		"type": "origins:modify_falling",
		"velocity": 0.01,
		"take_fall_damage": false
	},
	"resistance": 
	{
		"type":"origins:modify_damage_taken",
		"modifier":{
			"value": -0.5,
			"operation":"multiply_total"
		}
	},
	"immunities":
	{
		"type":"origins:modify_damage_taken",
		"modifier":{
			"value": -1,
			"operation":"multiply_total"
		},
		"damage_condition":{
			"type":"origins:or",
			"conditions":[
				{
					"type": "origins:name",
					"name": "drown"
				},
				{
					"type": "origins:name",
					"name": "fall"
				},
				{
					"type": "origins:name",
					"name": "inWall"
				}
			]
		}
	},
	"invis":
	{
		"type": "origins:invisibility",
		"render_armor": true
	},
	"no_collision": 
	{
		"type": "origins:prevent_entity_collision"
	},
	"speed":
	{
		"type": "origins:attribute",
		"modifier": {
			"attribute": "minecraft:generic.movement_speed",
			"operation": "multiply_total",
			"value": -1
		}
	},
	"visual_indicator":
	{
		"type": "origins:action_over_time",
		"interval": 10,
		"entity_action":{
			"type": "origins:and",
			"actions":[
				{
					"type": "origins:execute_command",
					"command": "execute at @s run particle minecraft:electric_spark ^ ^1 ^-0.5 0 0 0 0 1 normal @a"
				},
				{
					"type": "origins:execute_command",
					"command": "execute at @s run particle minecraft:electric_spark ^ ^1 ^0.5 0 0 0 0 1 normal @a"
				}
			]
		}
	},
	"on_being_used":
	{
		"type": "origins:action_on_being_used",
		"bientity_action":{
			"type": "origins:actor_action",
			"action": 
			{
				"type": "origins:and",
				"actions": [
					{
						"type": "origins:execute_command",
						"command": "tellraw @s [{\"selector\":\"@p[tag=upkeep,distance=..3,sort=nearest,limit=1]\",\"color\":\"light_purple\"},{\"text\":\" is letting you use their cannons! Press the Jump key to shoot! Also, you are immune to fall damage while riding these seats!\",\"color\":\"yellow\"}]"
					},
					{
						"type": "origins:execute_command",
						"command": "power grant @s ordnance:upkeep/secondary_turret upkeep"
					}
				]
			}
		}
	},
	"mechanical_healing":
	{
		"type": "origins:modify_healing",
		"modifier": {
			"operation": "multiply_total",
			"value": -0.66
		}
	}
}