World: # --Copyright Melons 2022, ask permission before use.
	MapOptions:
		TechLevelDropdownLocked: true
		TechLevel: unrestricted
		TechLevelDropdownVisible: false
		# --Copyright Melons 2022, ask permission before use.
		ShortGameCheckboxEnabled: true
		ShortGameCheckboxLocked: true
		ShortGameCheckboxVisible: false
		GameSpeedDropdownVisible: true
		GameSpeedDropdownLocked: false
		GameSpeed: fast
		# other options are slower, fast, faster, fastest
	CrateSpawner: #random crates on/off
		CheckboxEnabled: false
		CheckboxLocked: false
	MapBuildRadius:
		AllyBuildRadiusCheckboxEnabled: true #can build in allies base
		AllyBuildRadiusCheckboxLocked: true
		AllyBuildRadiusCheckboxVisible: false
		BuildRadiusCheckboxEnabled: true #no build radius limitations
		BuildRadiusCheckboxLocked: true
		BuildRadiusCheckboxVisible: false
	MapStartingLocations:
		SeparateTeamSpawnsCheckboxEnabled: true
		SeparateTeamSpawnsCheckboxLocked: true
		SeparateTeamSpawnsCheckboxVisible: false
	SpawnStartingUnits:
		DropdownLocked: false
		DropdownVisible: false
	StartingUnits@mcvonly:
		Class: none
		ClassName: MCV Only
		Factions: england, france, germany, russia, ukraine, usa, china, spain, turkey, greece
		BaseActor: mcv
	StartingUnits@usa:
		Class: none
		ClassName: MCV Only
		Factions: allies
		BaseActor: mcv
	StartingUnits@china:
		Class: none
		ClassName: MCV Only
		Factions: soviet
		BaseActor: mcv
		
	ScriptLobbyDropdown@CapturePoints: #do not use the same name twice after @
		ID: Cappoints
		Label: CapturePoints
		Description: Select amount of capture points!
		Default: entry_off
		Values:
			entry_off: OFF
			entry_1: 1 #doesn't have to be called entry_1 or First.
		Locked: false
		Visible: false
		DisplayOrder: 30
	ScriptLobbyDropdown@Difficulty: #do not use the same name twice after @
		ID: difficulty
		Label: Difficulty
		Description: Difficulty
		Default: normal
		Values:
			noob: Noob
			easy: Easy
			normal: Normal #doesn't have to be called entry_1 or First.
			extreme: Extreme
			impossible: Impossible
		Locked: false
		Visible: true
		DisplayOrder: 50
	ScriptLobbyDropdown@CaptureTimer: #do not use the same name twice after @
		ID: CaptureTimer
		Label: Capture Timer
		Description: Select amount of capture points!
		Default: entry_3
		Values:
			entry_1: 3 Minutres
			entry_2: 5 minutes #doesn't have to be called entry_1 or First.
			entry_3: 8 minutes
			entry_4: 12 minutes
			entry_5: 15 minutes
		Locked: false
		Visible: false
		DisplayOrder: 31
	ScriptLobbyDropdown@NuclearStrikes: #do not use the same name twice after @
		ID: NuclearStrikes
		Label: Nuke Strikes Every
		Description: Select frequency of strikes!
		Default: entry_1
		Values:
			entry_1: OFF
			entry_2: 5 minutes #doesn't have to be called entry_1 or First.
			entry_3: 8 minutes
			entry_4: 12 minutes
			entry_5: 15 minutes
		Locked: false
		Visible: false
		DisplayOrder: 40
Player:
	-ConquestVictoryConditions:
	MissionObjectives:
	TechTree:
	ClassicProductionQueue@Building:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 40, 35
	ClassicProductionQueue@Defense:
		BuildTimeSpeedReduction: 100, 72, 57, 49, 35
	ClassicProductionQueue@Vehicle:
		BuildTimeSpeedReduction: 100, 72, 57, 49, 35
	ClassicProductionQueue@Infantry:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 40, 35
	ClassicProductionQueue@Ship:
		BuildTimeSpeedReduction: 100, 72, 64, 57, 49, 35
	ClassicProductionQueue@Aircraft:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 40, 35
	GrantConditionOnPrerequisiteManager:
	ScriptTriggers:
	StrategicVictoryConditions:
		HoldDuration: 22000
		ResetOnHoldLost: False
		RatioRequired: 100
		NotificationDelay: 3000
		Objective: Capture Com Building and Hold to win
		SuppressNotifications: False
	ProximityCaptor:
		Types: Player
	GrantConditionOnPrerequisite@TOXICMODE2:
		Condition: toxicbuild2
		Prerequisites: ~toxic_enabled
	Shroud:
		ExploredMapCheckboxEnabled: true
		ExploredMapCheckboxLocked: true
		ExploredMapCheckboxVisible: false
		FogCheckboxLocked: false
		FogCheckboxEnabled: true
		FogCheckboxVisible: true
	PlayerResources:
		SelectableCash: 2500, 5000, 7500, 10000
		#these are the defaults, make sure to add your desired value into this list!
		DefaultCash: 5000
		#only set to something listed before (other players can't join your game if you don't)
		DefaultCashDropdownLocked: false
		DefaultCashDropdownVisible: true
		
	LobbyPrerequisiteCheckbox@GLOBALBOUNTY:
		Enabled: true
		Locked: true
		Visible: true
	LobbyPrerequisiteCheckbox@REUSABLEENGINEERS:
		Enabled: true
		Locked: true
		Visible: true
	LobbyPrerequisiteCheckbox@REUSABLEMECHANICS:
		ID: reusable-mechanics
		Label: Reusable Mechanics
		Description: Mechanics remain on the battlefield after capturing a husk
		DisplayOrder: 9
		Prerequisites: global-reusable-mechanics
		Enabled: true
		Locked: false
		Visible: true
		
	LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY: #enable re-deployable MCV (only RA and CNC)
		Enabled: true
		Locked: true
		Visible: true
		
	LobbyPrerequisiteCheckbox@biolabs: #do not use the same name twice after @
		ID: biolabs
		Label: Bio Labs
		Description: Bio Lab in Middle
		Locked: false
		Visible: false
		DisplayOrder: 11
		Prerequisites: bio_enabled
		
	LobbyPrerequisiteCheckbox@toxicrules: #Toxic Checkbox
		ID: toxicrules
		Label: Toxic Rules
		Description: Toxic Rules
		Locked: false
		Visible: true
		DisplayOrder: 2
		Prerequisites: toxic_enabled
		
	LobbyPrerequisiteCheckbox@randomcastle: #Random Castle Checkbox
		ID: randomcastle
		Label: Random
		Description: Random Castle
		Enabled: false
		Locked: true
		Visible: false
		DisplayOrder: 3
		Prerequisites: randomcastle_enabled	
^Palettes:
	PaletteFromFile@cnc:
		Name: cnc
		Filename: bits/temperatcnc.pal
		ShadowIndex: 4
	PlayerColorPalette@cnc:
		BaseName: cncplayer
		BasePalette: cnc
		RemapIndex: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
	PaletteFromFile@temptd:
		Name: temptd
		Filename: bits/temperattd.pal
		ShadowIndex: 4
	PlayerColorPalette@TD:
		BasePalette: temptd
		BaseName: playertd
		RemapIndex: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
	PaletteFromFile@chromeTD:
		Name: chrometd
		Filename: bits/temperattd.pal
		ShadowIndex: 3
		AllowModifiers: false
	PaletteFromRGBA@invred:
		Name: invred
		R: 128
		G: 0
		B: 0
		A: 128
	PaletteFromRGBA@invblue:
		Name: invblue
		R: 0
		G: 0
		B: 128
		A: 128
	PaletteFromFile@playercloak:
		Name: playercloak
		Filename: bits/playercloak.pal
		ShadowIndex: 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 2, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178
	PlayerColorPalette@CLOAK:
		BaseName: player-cloak
		BasePalette: playercloak
		RemapIndex: 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95
	RotationPaletteEffect@CLOAKROTATEPLAYER:
		Palettes: newcloak
		RotationBase: 80
		RotationRange: 15
	RotationPaletteEffect@CLOAKROTATE1:
		Palettes: newcloak
		RotationBase: 1
		RotationRange: 79
	RotationPaletteEffect@CLOAKROTATE2:
		Palettes: newcloak
		RotationBase: 96
		RotationRange: 158
	PaletteFromPlayerPaletteWithAlpha@newcloak:
		BaseName: newcloak
		BasePalette: player-cloak
		Alpha: 0.55
	PaletteFromFile@cc2unittem:
		Name: cc2unittem
		Filename: cc2unittem.pal
		ShadowIndex: 1
	PlayerColorPalette@cc2unittem:
		BasePalette: cc2unittem
		BaseName: player-cc2
		RemapIndex: 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31
	PaletteFromPlayerPaletteWithAlpha@cloak:
		BaseName: cloak
		BasePalette: player
		Alpha: 0.45
^Stealthable:
	Cloak@STEALTHABLE:
		InitialDelay: 0
		CloakDelay: 30
		IsPlayerPalette: true
		RequiresCondition: stealth
		Palette: newcloak
	TimedConditionBar@STEALTH:
		Condition: stealth
		Color: FF54D1
	ExternalCondition@STEALTH:
		Condition: stealth
^AffectsPROC: #ercc
	ProximityExternalCondition@cloak:
		Condition: cloak
		ValidRelationships: enemy, neutral, ally
		Range: 1c512
		RequiresCondition: !moving
	GrantConditionOnMovement@proc:
		Condition: moving
^CommandoSkull:
	WithDecoration@COMMANDOSKULL:
		Image: pips
		Sequence: pip-skull
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
^IsHoverTank:
	Hovers:
		BobDistance: -35
	WithShadow:
		Offset: 43, 128, 0
		ZOffset: -129
		RequiresCondition: !stealth
	GrantConditionOnTerrain@ONWATER:
		TerrainTypes: Water
		Condition: onwater
	Targetable@ONWATER:
		TargetTypes: Water, Ship
		RequiresCondition: onwater
	Explodes@ONWATER:
		Weapon: UnitExplodeSubmarine
		EmptyWeapon: UnitExplodeSubmarine
		RequiresCondition: onwater
	LeavesTrails:
		Image: twake
		Palette: effect
		TerrainTypes: Water
		TrailWhileStationary: true
		StationaryInterval: 18
		MovingInterval: 6
^LightPowerArmour:
	SpeedMultiplier@LPA:
		Modifier: 110
	DamageMultiplier@LPA:
		Modifier: 90
^HeavyPowerArmour:
	InaccuracyMultiplier@HPA:
		Modifier: 90
	SpeedMultiplier@HPA:
		Modifier: 90
	DamageMultiplier@HPA:
		Modifier: 80
	GivesExperienceMultiplier@HPA:
		Modifier: 120
^ToxInf:
	ExternalCondition@TOXIN:
		Condition: poisoned
	WithDecoration@TOXIN:
		Image: pips
		Sequence: pip-toxin
		Palette: effect
		Position: TopRight
		Margin: -1, -1
		ValidRelationships: Enemy, Neutral, Ally
		RequiresCondition: poisoned
	ChangesHealth@TOXIN:
		RequiresCondition: poisoned
		Step: -350
		Delay: 15
		StartIfBelow: 100
	SpawnActorOnDeath:
		Actor: Zombie
		Probability: 50
		OwnerType: InternalName
		InternalOwner: Creeps
		RequiresCondition: poisoned
^Propaganda:
	ExternalCondition@PROPAGANDA:
		Condition: prop
	RangeMultiplier@PROP:
		RequiresCondition: prop
		Modifier: 110
	FirepowerMultiplier@PROP:
		RequiresCondition: prop
		Modifier: 130
	DamageMultiplier@PROP:
		RequiresCondition: prop
		Modifier: 75
^PropagandaVeh:
	Inherits: ^Propaganda
	WithDecoration@PROP:
		Image: pips
		Sequence: pip-prop
		Palette: effect
		Position: TopRight
		Margin: -1, -1
		ValidRelationships: Ally
		RequiresCondition: prop
		BlinkInterval: 30
		BlinkPattern: Off, On
	ChangesHealth@PROP:
		RequiresCondition: prop && damaged
		Step: 250
		Delay: 50
		StartIfBelow: 90
	WithDecoration@PROPHEAL:
		Image: pips
		Sequence: fix
		Position: BottomRight
		Margin: 17, 4
		RequiresCondition: prop && damaged
		BlinkInterval: 32
		BlinkPattern: Off, On
^PropagandaInf:
	Inherits: ^Propaganda
	WithDecoration@PROP:
		Image: pips
		Sequence: pip-prop-inf
		Palette: effect
		Position: TopRight
		Margin: -1, -1
		ValidRelationships: Ally
		RequiresCondition: prop
		BlinkInterval: 30
		BlinkPattern: Off, On
	ChangesHealth@PROP:
		RequiresCondition: prop && damaged && !hospitalheal
		Step: 200
		Delay: 50
		StartIfBelow: 90
	WithDecoration@PROPHEAL:
		Image: pips
		Sequence: medic
		Position: BottomRight
		Margin: 17, 4
		RequiresCondition: prop && damaged && !hospitalheal
		BlinkInterval: 32
		BlinkPattern: Off, On
^VoicesSelector:
	GrantConditionOnFaction@Vanilla:
		Condition: Vanilla
		Factions: england, france, germany, ukraine, russia, spain, greece
		ResetOnOwnerChange: True
	GrantConditionOnFaction@China:
		Condition: IAMCHINESE
		Factions: soviet
		ResetOnOwnerChange: True
	GrantConditionOnFaction@usa:
		Condition: IAMAMERICAN
		Factions: allies
		ResetOnOwnerChange: True
	GrantConditionOnFaction@turk:
		Condition: IAMTURK
		Factions: turkey
		ResetOnOwnerChange: True
^Building:
	Inherits@STEALTHABLE: ^Stealthable
	Capturable@2:
		RequiresCondition: !build-incomplete
		Types: building-external
^Defense:
	Inherits@STEALTHABLE: ^Stealthable
	RequiresBuildableArea:
		AreaTypes: building
		Adjacent: 4
^Vehicle:
	Inherits@STEALTHABLE: ^Stealthable
	Inherits@PROC: ^AffectsPROC
	Inherits@PROP: ^PropagandaVeh
	Carryable:
		LocalOffset: 0,0,205
	Crushable:
		CrushClasses: tank
		WarnProbability: 0
		RequiresCondition: !invulnerability
	WithParachute:
		Image: maxichute
		Sequence: idle
		OpeningSequence: open
		Offset: 0,0,304
		RequiresCondition: parachute
	ProductionCostMultiplier:
		Multiplier: 90
		Prerequisites: indp
		Queue: Vehicle
	ProductionTimeMultiplier:
		Multiplier: 85
		Prerequisites: indp
		Queue: Vehicle
^Husk:
	Targetable:
		TargetTypes: GroundActor, Husk, NoAutoTarget
		RequiresForceFire: false
^Infantry:
	Inherits@PROC: ^AffectsPROC
	Inherits@PROP: ^PropagandaInf
	Inherits@TOXIN: ^ToxInf
^Ship:
	Inherits@STEALTHABLE: ^Stealthable
