^BaseWorld:
	Faction@Atreides:
		Name: subfaction-atreides.name
		InternalName: atreides
		Description: subfaction-atreides.description
	Faction@Harkonnen:
		Name: subfaction-harkonnen.name
		InternalName: harkonnen
		Description: subfaction-harkonnen.description
	Faction@Ordos:
		Name: subfaction-ordos.name
		InternalName: ordos
		Description: subfaction-ordos.description
	Faction@Fremen:
		Name: subfaction-fremen.name
		InternalName: fremen
		Description: subfaction-fremen.description
		Selectable: true
	Faction@Corrino:
		Name: subfaction-corrino.name
		InternalName: corrino
		Description: subfaction-corrino.description
		Selectable: true
	Faction@Smugglers:
		Name: subfaction-smugglers.name
		InternalName: smuggler
		Description: subfaction-smugglers.description
		Selectable: true
	Faction@Mercenaries:
		Name: subfaction-mercenaries.name
		InternalName: mercenary
		Description: subfaction-mercenaries.description
		Selectable: true
	Locomotor@TANK_corrino:
		Name: tank_corrino
		Crushes: crate, infantry, spicebloom, husk
		TerrainSpeeds:
			Sand: 100
			Rock: 100
			Transition: 100
			Concrete: 125
			SpiceSand: 100
			Spice: 100
			SpiceBlobs: 100
			Dune: 75
	Locomotor@TANK:
		Name: tank
		Crushes: crate, infantry, spicebloom, husk
		TerrainSpeeds:
			Sand: 100
			Rock: 100
			Transition: 100
			Concrete: 125
			SpiceSand: 100
			Spice: 100
			SpiceBlobs: 100
			Dune: 50
	Locomotor@DEVASTATOR:
		Name: devastator
		Crushes: crate, infantry, spicebloom, wall, husk
		TerrainSpeeds:
			Sand: 100
			Rock: 100
			Transition: 100
			Concrete: 125
			SpiceSand: 100
			Spice: 100
			SpiceBlobs: 100
			Dune: 75
	Locomotor@LIGHTVEHICLE:
		Name: light_vehicle
		Crushes: crate, spicebloom
		WaitAverage: 20
		TerrainSpeeds:
			Sand: 100
			Rock: 100
			Transition: 100
			Concrete: 125
			SpiceSand: 100
			Spice: 100
			SpiceBlobs: 100
			Dune: 50
	Locomotor@WORMMP:
		Name: worm_mp
		Crushes: crate, worm_dinner, spicebloom, vehicle, husk
		TerrainSpeeds:
			Sand: 100
			Dune: 100
			SpiceSand: 100
			Spice: 100
	Locomotor@SPIRES:
		Name: spires
		Crushes: crate, spicebloom
		WaitAverage: 20
		TerrainSpeeds:
			Sand: 100
			Rock: 100
			Transition: 100
			Concrete: 125
			SpiceSand: 100
			Spice: 100
			SpiceBlobs: 100
			Dune: 75
			Rough: 50
	Locomotor@resistinf:
		Name: resistinf
		Crushes: crate, spicebloom
		SharesCell: true
		TerrainSpeeds:
			Sand: 100
			Rock: 100
			Transition: 100
			Concrete: 125
			SpiceSand: 100
			Spice: 100
			SpiceBlobs: 100
			Dune: 95
			Rough: 95
	Locomotor@FOOT:
		Name: foot
		Crushes: crate, spicebloom
		SharesCell: true
		TerrainSpeeds:
			Sand: 100
			Rock: 100
			Transition: 100
			Concrete: 125
			SpiceSand: 100
			Spice: 100
			SpiceBlobs: 100
			Dune: 75
			Rough: 75
	Locomotor@THUMPER:
		Name: thumper
		Crushes: crate, spicebloom
		SharesCell: true
		TerrainSpeeds:
			Sand: 100
			SpiceSand: 100
			Spice: 100
			SpiceBlobs: 100
			Dune: 100

World:
	LuaScript:
		Scripts: scripts_new.lua
	MapOptions:
		TechLevelDropdownVisible: false
		TechLevel: unrestricted
		ShortGameCheckboxVisible: true
		GameSpeed: fastest
	CrateSpawner:
		Minimum: 0
		Maximum: 2
		SpawnInterval: 1500
		WaterChance: 0
		ValidGround: Sand, Rock, Transition, Spice, SpiceSand, Dune, Concrete
		InitialSpawnDelay: 1500
		CheckboxDisplayOrder: 1
		CheckboxEnabled: False
	MapCreeps:
		CheckboxEnabled: true
		CheckboxLocked: true
		CheckboxVisible: false
	SpawnStartingUnits:
		DropdownDisplayOrder: 70
	TimeLimitManager:
		TimeLimitDisplayOrder: 3
	ScriptLobbyDropdown@WormsSpawnDelay:
		ID: WormsSpawnDelay
		Label: Spawn Worms
		Description: Spawn worms time options
		Default: 0
		Values:
			0: Never
			5: After 5 min
			10: After 10 min
			15: After 15 min
		Locked: false
		Visible: true
		DisplayOrder: 30
	ScriptLobbyDropdown@factionoptions:
		ID: fation_mode
		Label: Available Factions
		Description: Choose between the number of playable factions
		Default: 1
		Values:
			0: Main factions
			1: All factions
			2: Merged factions
		Visible: true
		DisplayOrder: 3
	SmudgeLayer@RockSmoke:
		Type: RockCrater_with_smoke
		Sequence: rockcraters
		SmokeChance: 100
		SmokeImage: smoke_m
		SmokeSequences: smokeFromRA01loop
	SmudgeLayer@SandSmoke:
		Type: SandCrater_with_smoke
		Sequence: sandcraters
		SmokeChance: 100
		SmokeImage: smoke_m
		SmokeSequences: smokeFromRA01loop
	StartingUnits@mcv:
		Class: none
		ClassName: MCV Only
		Factions: atreides, ordos, harkonnen, corrino, mercenary, smuggler, fremen
		BaseActor: choosefaction
		SupportActors:
		InnerSupportRadius: 4
		OuterSupportRadius: 5
	StartingUnits@lightatreides:
		Class: one
		ClassName: 1 Carryall
		Factions: atreides, ordos, harkonnen, corrino, mercenary, smuggler, fremen
		BaseActor: choosefaction
		SupportActors: Carryall
		InnerSupportRadius: 4
		OuterSupportRadius: 5
	StartingUnits@lightharkonnen:
		Class: one
		ClassName: 1 Carryall
		Factions: atreides, ordos, harkonnen, corrino, mercenary, smuggler, fremen
		BaseActor: choosefaction
		SupportActors: Carryall
		InnerSupportRadius: 4
		OuterSupportRadius: 5
	StartingUnits@lightordos:
		Class: two
		ClassName: 2 Harvesters
		Factions: atreides, ordos, harkonnen, corrino, mercenary, smuggler, fremen
		BaseActor: choosefaction
		SupportActors: Harvester, Harvester
		InnerSupportRadius: 4
		OuterSupportRadius: 5
	StartingUnits@heavyatreides:
		Class: three
		ClassName: 3 Carryalls, 2 Harvesters
		Factions: atreides, ordos, harkonnen, corrino, mercenary, smuggler, fremen
		BaseActor: choosefaction
		SupportActors: Carryall, Carryall, Carryall, Harvester, Harvester
		InnerSupportRadius: 4
		OuterSupportRadius: 5
	StartingUnits@heavyharkonnen:
		Class: four
		ClassName: 4 Carryalls
		Factions: atreides, ordos, harkonnen, corrino, mercenary, smuggler, fremen
		BaseActor: choosefaction
		SupportActors: Carryall, Carryall, Carryall, Carryall
		InnerSupportRadius: 4
		OuterSupportRadius: 5
	StartingUnits@heavyordos:
		Class: four
		ClassName: 4 Carryalls
		Factions: atreides, ordos, harkonnen, corrino, mercenary, smuggler, fremen
		BaseActor: choosefaction
		SupportActors: Carryall, Carryall, Carryall, Carryall
		InnerSupportRadius: 4
		OuterSupportRadius: 5
	TerrainLighting:
	MapStartingLocations:
		SeparateTeamSpawnsCheckboxDisplayOrder: 60

Player:
	DeveloperMode:
	Shroud:
		ExploredMapCheckboxEnabled: true
		FogCheckboxEnabled: true
		FogCheckboxLocked: false
	LobbyPrerequisiteCheckbox@AUTOCONCRETE:
		Enabled: True
	LobbyPrerequisiteCheckbox@EnhancedAirCombat:
		ID: EnhancedAirCombat
		Label: Scout Units
		Description: Adds Scout Infantry, Rover and Scout Ornithopter to production
		Enabled: false
		Visible: true
		DisplayOrder: 4
		Prerequisites: enhancedAirCombat
	ExternalCondition@vanilla_factions_Only:
		Condition: vanilla_factions_Only
	ExternalCondition@subfactions:
		Condition: subfactions
	ExternalCondition@merged:
		Condition: mergedsubfactions
	ProvidesPrerequisite@merged:
		Prerequisite: factions.merged
		RequiresCondition: mergedsubfactions
	ProvidesPrerequisite@subfactions:
		Prerequisite: factions.subfaction_allowed
		RequiresCondition: subfactions
	ProvidesPrerequisite@vanila_factions:
		Prerequisite: factions.standard
		RequiresCondition: vanilla_factions_Only
	ProvidesPrerequisite@NoMerg:
		Prerequisite: merg_first
		RequiresCondition: subfactions
	ExternalCondition@frigateCheck:
		Condition: frigate_not_empty
	ProvidesPrerequisite@frigatenotempty:
		Prerequisite: frigate.not_empty
		RequiresCondition: frigate_not_empty
	ExternalCondition@frigatefull:
		Condition: frigate_full
	ClassicProductionQueue@Infantry:
		BuildTimeSpeedReduction: 100, 75, 50
	ClassicProductionQueue@Building:
		BuildTimeSpeedReduction: 100, 75, 50
	ClassicProductionQueue@Vehicle:
		BuildTimeSpeedReduction: 100, 75, 50
	ClassicProductionQueue@Armor:
		BuildTimeSpeedReduction: 100, 75, 50
	ClassicProductionQueue@Aircraft:
		BuildTimeSpeedReduction: 100, 75, 50
	ClassicProductionQueue@Starport:
		Type: Starport
		DisplayOrder: 4
		BuildDurationModifier: 125
		BlockedAudio: NoRoom
		BlockedTextNotification: No room for new unit.
		QueuedAudio: OrderPlaced
		OnHoldAudio: OnHold
		CancelledAudio: Cancelled
	PlaceBuilding:
		ToggleVariantKey: ToggleVariant
	ProductionIconOverlayManager:
		Image: iconchevrons
		Sequence: veteran
		Type: veteran
	ProvidesPrerequisite@FrigateFULL:
		RequiresCondition: frigate_full
		Prerequisite: frigate.full
	ProductionIconOverlayManager@StarportsOverlay1:
		Image: choam_unit_number
		Sequence: 1
		Type: 1
	ProductionIconOverlayManager@StarportsOverlay2:
		Image: choam_unit_number
		Sequence: 2
		Type: 2
	ProductionIconOverlayManager@StarportsOverlay3:
		Image: choam_unit_number
		Sequence: 3
		Type: 3
	ProductionIconOverlayManager@StarportsOverlay4:
		Image: choam_unit_number
		Sequence: 4
		Type: 4
	ProductionIconOverlayManager@StarportsOverlay5:
		Image: choam_unit_number
		Sequence: 5
		Type: 5
	ProductionIconOverlayManager@StarportsOverlay6:
		Image: choam_unit_number
		Sequence: 6
		Type: 6
	GrantConditionOnBotOwner@bot:
		Condition: bot
		Bots: omnius, vidious, gladius
	ProvidesPrerequisite:
		RequiresCondition: bot
		Prerequisite: repair_pad.bot

wormspawner:
	ExternalCondition:
		Condition: WormSpamDelayed
	ActorSpawner:
		RequiresCondition: WormSpamDelayed

choosefaction:
	Inherits@1: ^ExistsInWorld
	Inherits@2: ^SpriteActor
	Inherits@selection: ^SelectableBuilding
	Inherits@handicaps: ^PlayerHandicaps
	Huntable:
	OwnerLostAction:
		Action: Kill
	Targetable:
		TargetTypes: Ground, C4, Structure
	Building:
		Footprint: x
		Dimensions: 1,1
	Health:
		HP: 5000
	HitShape:
		Type: Circle
			Radius: 448
	Armor:
		Type: heavy
	RevealsShroud:
		Range: 0c0
	HiddenUnderFog:
	MustBeDestroyed:
		RequiredForShortGame: true
	WithSpriteBody:
	ProvidesPrerequisite@upgradename:
	Production:
		Produces: Upgrade
	ProvidesPrerequisite@bluesubfactions:
		Prerequisite: bluesubfactions
		Factions: atreides, fremen
	ProvidesPrerequisite@redsubfactions:
		Prerequisite: redsubfactions
		Factions: harkonnen, corrino
	ProvidesPrerequisite@greensubfactions:
		Prerequisite: greensubfactions
		Factions: ordos, smuggler, mercenary
	ProvidesPrerequisite@mergedsubfactions:
		Prerequisite: mergedsubfactions

subfaction.random_blue:
	Interactable:
	HiddenUnderFog:
		Type: CenterPosition
	ScriptTriggers:
	Tooltip:
		Name: Random
	Buildable:
		BuildPaletteOrder: 11
		Prerequisites: ~bluesubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: Random selection
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.random
	GrantRandomCondition:
		Conditions: atreides, fremen
	ProvidesPrerequisite@Atreides:
		Prerequisite: subfaction.atreides
		RequiresCondition: atreides
	ProvidesPrerequisite@Fremen:
		Prerequisite: subfaction.fremen
		RequiresCondition: fremen

subfaction.atreides:
	Interactable:
	HiddenUnderFog:
		Type: CenterPosition
	ScriptTriggers:
	Tooltip:
		Name: Atreides
	Buildable:
		BuildPaletteOrder: 12
		Prerequisites: ~bluesubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-atreides.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.atreides
	ProvidesPrerequisite@upgradename:

subfaction.fremen:
	Interactable:
	HiddenUnderFog:
		Type: CenterPosition
	ScriptTriggers:
	Tooltip:
		Name: Fremen
	Buildable:
		BuildPaletteOrder: 13
		Prerequisites: ~bluesubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-fremen.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.fremen
	ProvidesPrerequisite@upgradename:

subfaction.random_red:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Random
	Buildable:
		BuildPaletteOrder: 14
		Prerequisites: ~redsubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: Random selection
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.random
	GrantRandomCondition:
		Conditions: harkonnen, corrino
	ProvidesPrerequisite@Harkonnen:
		Prerequisite: subfaction.harkonnen
		RequiresCondition: harkonnen
	ProvidesPrerequisite@Corrino:
		Prerequisite: subfaction.corrino
		RequiresCondition: corrino

subfaction.harkonnen:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Harkonnen
	Buildable:
		BuildPaletteOrder: 15
		Prerequisites: ~redsubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-harkonnen.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.harkonnen
	ProvidesPrerequisite@upgradename:

subfaction.corrino:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Corrino
	Buildable:
		BuildPaletteOrder: 16
		Prerequisites: ~redsubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-corrino.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.corrino
	ProvidesPrerequisite@upgradename:

subfaction.random_green:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Random
	Buildable:
		BuildPaletteOrder: 17
		Prerequisites: ~greensubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: Random selection
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.random
	GrantRandomCondition:
		Conditions: ordos, mercenary, smuggler
	ProvidesPrerequisite@Ordos:
		Prerequisite: subfaction.ordos
		RequiresCondition: ordos
	ProvidesPrerequisite@mercenary:
		Prerequisite: subfaction.mercenary
		RequiresCondition: mercenary
	ProvidesPrerequisite@smuggler:
		Prerequisite: subfaction.smuggler
		RequiresCondition: smuggler

subfaction.ordos:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Ordos
	Buildable:
		BuildPaletteOrder: 18
		Prerequisites: ~greensubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-ordos.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.ordos
	ProvidesPrerequisite@upgradename:

subfaction.smuggler:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Smugglers
	Buildable:
		BuildPaletteOrder: 19
		Prerequisites: ~greensubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-smuggler.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.smuggler
	ProvidesPrerequisite@upgradename:

subfaction.mercenary:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Mercenaries
	Buildable:
		BuildPaletteOrder: 20
		Prerequisites: ~greensubfactions, ~!factions.standard, ~merg_first
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-mercenary.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: subfaction.mercenary
	ProvidesPrerequisite@upgradename:

merged.atreides:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Atreides Conyard
	Buildable:
		BuildPaletteOrder: 21
		Prerequisites: ~factions.merged, ~!merged.harkonnen, ~!merged.ordos, ~!merged.fremen, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-atreides.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: merged.atreides
	ProvidesPrerequisite@upgradename:
	ProvidesPrerequisite@MergFirst:
		Prerequisite: merg_first
		RequiresPrerequisites: ~factions.merged, ~!merged.random, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary

merged.harkonnen:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Harkonnen Conyard
	Buildable:
		BuildPaletteOrder: 22
		Prerequisites: ~factions.merged, ~!merged.atreides, ~!merged.ordos, ~!merged.fremen, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-harkonnen.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: merged.harkonnen
	ProvidesPrerequisite@upgradename:
	ProvidesPrerequisite@MergFirst:
		Prerequisite: merg_first
		RequiresPrerequisites: ~factions.merged, ~!merged.random, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary

merged.ordos:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Ordos Conyard
	Buildable:
		BuildPaletteOrder: 23
		Prerequisites: ~factions.merged, ~!merged.atreides, ~!merged.harkonnen, ~!merged.fremen, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-ordos.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: merged.ordos
	ProvidesPrerequisite@upgradename:
	ProvidesPrerequisite@MergFirst:
		Prerequisite: merg_first
		RequiresPrerequisites: ~factions.merged, ~!merged.random, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary

merged.fremen:
	Interactable:
	HiddenUnderFog:
		Type: CenterPosition
	ScriptTriggers:
	Tooltip:
		Name: Fremen Conyard
	Buildable:
		BuildPaletteOrder: 24
		Prerequisites: ~factions.merged, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-fremen.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: merged.fremen
	ProvidesPrerequisite@upgradename:
	ProvidesPrerequisite@MergFirst:
		Prerequisite: merg_first
		RequiresPrerequisites: ~factions.merged, ~!merged.random, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary

merged.corrino:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Corrino Conyard
	Buildable:
		BuildPaletteOrder: 25
		Prerequisites: ~factions.merged, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.fremen, ~!merged.smuggler, ~!merged.mercenary
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-corrino.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: merged.corrino
	ProvidesPrerequisite@upgradename:
	ProvidesPrerequisite@MergFirst:
		Prerequisite: merg_first
		RequiresPrerequisites: ~factions.merged, ~!merged.random, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary

merged.smuggler:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Smugglers Conyard
	Buildable:
		BuildPaletteOrder: 26
		Prerequisites: ~factions.merged, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.fremen, ~!merged.corrino, ~!merged.mercenary
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-smuggler.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: merged.smuggler
	ProvidesPrerequisite@upgradename:
	ProvidesPrerequisite@MergFirst:
		Prerequisite: merg_first
		RequiresPrerequisites: ~factions.merged, ~!merged.random, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary

merged.mercenary:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Mercenaries Conyard
	Buildable:
		BuildPaletteOrder: 27
		Prerequisites: ~factions.merged, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.fremen, ~!merged.corrino, ~!merged.smuggler
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: subfaction-mercenary.description
	Valued:
		Cost: 0
	RenderSprites:
		Image: merged.mercenary
	ProvidesPrerequisite@upgradename:
	ProvidesPrerequisite@MergFirst:
		Prerequisite: merg_first
		RequiresPrerequisites: ~factions.merged, ~!merged.random, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary

merged.random:
	Interactable:
	ScriptTriggers:
	HiddenUnderFog:
		Type: CenterPosition
	Tooltip:
		Name: Random Conyard
	Buildable:
		BuildPaletteOrder: 28
		Prerequisites: ~factions.merged, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.fremen, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 1
		BuildDurationModifier: 100
		Description: Randowm selection of Conyard
	Valued:
		Cost: 0
	RenderSprites:
		Image: merged.random
	GrantRandomCondition:
		Conditions: fremen, corrino, smuggler, mercenary, atreides, harkonnen, ordos
	ProvidesPrerequisite@fremen:
		Prerequisite: merged.fremen
		RequiresCondition: fremen
	ProvidesPrerequisite@corrino:
		Prerequisite: merged.corrino
		RequiresCondition: corrino
	ProvidesPrerequisite@smuggler:
		Prerequisite: merged.smuggler
		RequiresCondition: smuggler
	ProvidesPrerequisite@mercenary:
		Prerequisite: merged.mercenary
		RequiresCondition: mercenary
	ProvidesPrerequisite@atreides:
		Prerequisite: merged.atreides
		RequiresCondition: atreides
	ProvidesPrerequisite@harkonnen:
		Prerequisite: merged.harkonnen
		RequiresCondition: harkonnen
	ProvidesPrerequisite@ordos:
		Prerequisite: merged.ordos
		RequiresCondition: ordos
	ProvidesPrerequisite@MergFirst:
		Prerequisite: merg_first
		RequiresPrerequisites: ~factions.merged, ~!merged.random, ~!merged.atreides, ~!merged.harkonnen, ~!merged.ordos, ~!merged.corrino, ~!merged.smuggler, ~!merged.mercenary
