Player:
	LobbyPrerequisiteCheckbox@Blood:
		ID: bloodcheck
		Label: Blood
		Description: Unlocks Blood mode
		Enabled: false
		Locked: false
		DisplayOrder: 8
		Prerequisites: blood_on
		
^Palettes:
	PaletteFromFile@red:
		Name: special_red
		Filename: red.pal
		ShadowIndex: 1
	PaletteFromRGBA@red:
		Name: red
		R: 180
		G: 0
		B: 0
		A: 113
	PaletteFromRGBA@redmed:
		Name: redmed
		R: 200
		G: 0
		B: 0
		A: 72
	PaletteFromRGBA@redhea:
		Name: redhea
		R: 220
		G: 0
		B: 0
		A: 44

^dummy:
	Inherits@1: ^SpriteActor
	HitShape:
	WithSpriteBody:
	Building:
		Footprint: _
		Dimensions: 1,1
	Tooltip:
		Name: Blood
	Armor:
		Type: Heavy
	Targetable:
		RequiresForceFire: False
	AlwaysVisible:
	Interactable:
	ScriptTriggers:
	MapEditorData:
		Categories: Resource spawn
	KillsSelf:
		Delay: 700, 1500
	DamagedByTerrain:
		Damage: 17501
		Terrain: Water
	Health:
		HP: 17500

^Infantry:
	GrantConditionOnPrerequisite@Blood:
		Condition: blood_on
		Prerequisites: blood_on
	Explodes:
		Weapon: Blood
		EmptyWeapon: Blood
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood1:
		Probability: 11
		Actor: bloodspot1
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood2:
		Probability: 11
		Actor: bloodspot2
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood3:
		Probability: 11
		Actor: bloodspot3
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood4:
		Probability: 11
		Actor: bloodspot4
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood5:
		Probability: 11
		Actor: bloodspot5
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood6:
		Probability: 11
		Actor: bloodspot6
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood7:
		Probability: 11
		Actor: bloodspot7
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood8:
		Probability: 11
		Actor: bloodspot8
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood9:
		Probability: 11
		Actor: bloodspot9
		RequiresCondition: blood_on
	SpawnActorOnDeath@blood10:
		Probability: 11
		Actor: bloodspot10
		RequiresCondition: blood_on
bloodspot1:
	Inherits: ^dummy
	RenderSprites:
		Image: blood1
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot1med
bloodspot2:
	Inherits: ^dummy
	RenderSprites:
		Image: blood2
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot2med
bloodspot3:
	Inherits: ^dummy
	RenderSprites:
		Image: blood3
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot3med
bloodspot4:
	Inherits: ^dummy
	RenderSprites:
		Image: blood4
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot4med
bloodspot5:
	Inherits: ^dummy
	RenderSprites:
		Image: blood5
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot5med
bloodspot6:
	Inherits: ^dummy
	RenderSprites:
		Image: blood6
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot6med
bloodspot7:
	Inherits: ^dummy
	RenderSprites:
		Image: blood7
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot7med
bloodspot8:
	Inherits: ^dummy
	RenderSprites:
		Image: blood8
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot8med
bloodspot9:
	Inherits: ^dummy
	RenderSprites:
		Image: blood9
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot9med
bloodspot10:
	Inherits: ^dummy
	RenderSprites:
		Image: blood10
		Palette: red
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot10med


bloodspot1med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood1
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot1hea
bloodspot2med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood2
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot2hea
bloodspot3med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood3
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot3hea
bloodspot4med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood4
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot4hea
bloodspot5med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood5
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot5hea
bloodspot6med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood6
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot6hea
bloodspot7med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood7
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot7hea
bloodspot8med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood8
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot8hea
bloodspot9med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood9
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot9hea
bloodspot10med:
	Inherits: ^dummy
	RenderSprites:
		Image: blood10
		Palette: redmed
	SpawnActorOnDeath@blood:
		Probability: 100
		Actor: bloodspot10hea
bloodspot1hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood1
		Palette: redhea
bloodspot2hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood2
		Palette: redhea
bloodspot3hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood3
		Palette: redhea
bloodspot4hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood4
		Palette: redhea
bloodspot5hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood5
		Palette: redhea
bloodspot6hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood6
		Palette: redhea
bloodspot7hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood7
		Palette: redhea
bloodspot8hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood8
		Palette: redhea
bloodspot9hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood9
		Palette: redhea
bloodspot10hea:
	Inherits: ^dummy
	RenderSprites:
		Image: blood10
		Palette: redhea
