# Configuration File for ArchPack
# Release date: 2020-01-31
# Version Build: 2.2
# Author: Ezer'Arch (www.ezerarch.com and youtube.com/EzerArch)
# Coauthors/supporters:
#   * sanek (a.k.a. romineblox0), as a porter and for adding emblem hints (post-edited by Ezer'Arch) and testing.
#   * Kwiin, Aqueduct Circuit Zone improvement and several feedbacks, ideas and testing.
#   * GomaTheMascar, SonicX8000 and BlueZero4 as testers.
#   * and many helpful people on SRB2 Discord!
#
# LICENSE: 
#   - Feel free to study the maps and copy ideas but don't make straight copies of whole or parts of the maps.
#   - Feel free to copy whole or parts of this MainCFG.
#   - Don't claim anything ours as yours.
#   - Any questions? Contact me.
#
# General:
#   - More details: https://wiki.srb2.org/wiki/User:Ezer%27Arch/ArchPack


# ==== SRB2 VERSION ====

SRB2 220


# ==== MAINCFG ====

MainCfg
GameData = srmf_archpack.dat
CustomVersion = ArchPack 2.2
TitleMap = B1 # show Genesis Keep Zone Act 1 on title screen
TitleScrollXSpeed = 10
NumDemos = 0
TutorialMap = 0
SpStage_Start = B1
SStage_Start = 60 # start with MP special stages

# Remove SRB2's default data and level headers
Clear All


# ==== LEVEL HEADERS ====

# -- Single-player and Co-op levels --

# Genesis Keep Zone Act 1
Level B1
LevelName = Genesis Keep
Act = 1
Music = GKZ
TypeOfLevel = Singleplayer,Co-op,Competition,Race
NextLevel = B2
SkyNum = 1
SaveGame = true
RecordAttack = true
LevelSelect = 1

# Genesis Keep Zone Act 2
Level B2
LevelName = Genesis Keep
Act = 2
Music = GKZ
TypeOfLevel = Singleplayer,Co-op,Competition,Race
NextLevel = B3
SkyNum = 1
SaveGame = true
RecordAttack = true
LevelSelect = 1

# Genesis Keep Zone Act 3
Level B3
LevelName = Genesis Keep
Act = 3
Music = OBOSS
MusicPostBoss = GKZ
TypeOfLevel = Singleplayer,Co-op
NextLevel = B4
SkyNum = 1
SaveGame = true
RecordAttack = true
LevelSelect = 1
StartRings = 5
WarningTitle = true
BonusType = Boss

# Mill Citadel Zone Act 1
Level B4
LevelName = Mill Citadel
Act = 1
Music = MCZ
TypeOfLevel = Singleplayer,Co-op,Competition,Race
NextLevel = B5
SkyNum = 29
SaveGame = true
RecordAttack = true
LevelSelect = 1

# Mill Citadel Zone Act 2
Level B5
LevelName = Mill Citadel
Act = 2
Music = MCZ
TypeOfLevel = Singleplayer,Co-op,Competition,Race
NextLevel = B6
SkyNum = 29
SaveGame = true
RecordAttack = true
LevelSelect = 1

# Mill Citadel Zone Act 3
Level B6
LevelName = Mill Citadel
Act = 3
Music = OBOSS
MusicPostBoss = MCZ
TypeOfLevel = Singleplayer,Co-op
NextLevel = 1101 # Warp to the evaluation screen
SkyNum = 29
SaveGame = true
RecordAttack = true
LevelSelect = 1
StartRings = 5
WarningTitle = true
BonusType = Boss


# -- Bonus levels --

# Misc Trip Zone
Level B7
LevelName = Misc Trip
Act = 0
Music = MP_GL2
TypeOfLevel = Singleplayer,Co-op,Competition,Race
NextLevel = 1100 # Warp to the title screen
SkyNum = 2
SaveGame = true
RecordAttack = true
LevelSelect = 1
Subtitle = The 1st map ever!

# Soccer Field Zone
Level B8
LevelName = Soccer Field
Act = 0
Music = MP_MED
TypeOfLevel = Singleplayer,Co-op
NextLevel = 1100 # Warp to the title screen
SkyNum = 2
LevelSelect = 0
Hidden = 1
Subtitle = Casual Map


# -- Muitlplayer levels --

# Lift Bridge Zone (CTF)
Level FB
LevelName = Lift Bridge
Music = MP_MED
TypeOfLevel = CTF
SelectHeading = ArchPack
NextLevel = F0
SkyNum = 1

# Water Plant Zone (Match and Tag)
Level MD
LevelName = Water Plant
Music = MP_SUN
TypeOfLevel = Match,Tag
SelectHeading = ArchPack
NextLevel = M0
SkyNum = 29

# Aqueduct Circuit Zone (Race)
Level R0
LevelName = Aqueduct Circuit
Music = MP_SUN
TypeOfLevel = Competition,Race
SelectHeading = ArchPack
NextLevel = B1
SkyNum = 5


# ==== UNLOCKABLES ====

# 1 - Unlock Record Attack
Unlockable 1
Name = Record Attack
Objective = Complete the 1st map.
Type = RecordAttack
ConditionSet = 1
NoChecklist = false

# 2 - Misc Trip
Unlockable 2
Name = THE 1ST MAP EVER!
Objective = Clear game at least once.
Type = Warp
Var = B7
ConditionSet = 2
NoChecklist = false
Height = 20 # vertical position of the unlockable in the extras menu

# 3 - Emblem Hints
Unlockable 3
Name = Emblem Hints!
Objective = Collect 3 emblems.
Type = EmblemHints
ConditionSet = 3
NoChecklist = false

# 4 - Emblem Radar
Unlockable 4
Name = Emblem Radar!!!
Objective = Collect 9 emblems.
Type = ItemFinder
ConditionSet = 4
NoChecklist = false

# 5 - Soccer Field
Unlockable 5
Name = Soccer field and ping-pong table
Objective = Collect 16 emblems.
Type = Warp
Var = B8
ConditionSet = 5
NoChecklist = false
Height = 40

# 6 - Extra emblem
ExtraEmblem 1
Name = All Emeralds
Objective = Complete 1P mode with all emeralds.
ConditionSet = 6
Sprite = H
Color = SKINCOLOR_GREY

# -- ConditionSets -- 

# For 1 - Unlock Record Attack
ConditionSet 1
Condition1 = MapBeaten B1

# For 2 - Misc Trip
ConditionSet 2
Condition1 = GameClear

# For 3 - Emblem Hints
ConditionSet 3
Condition1 = TotalEmblems 3

# For 4 - Emblem Radar
ConditionSet 4
Condition1 = TotalEmblems 9

# For 5 - Soccer Field
ConditionSet 5
Condition1 = TotalEmblems 16

# For 6 - Extra emblem
ConditionSet 6
Condition1 = AllEmeralds 1


# ==== EMBLEMS ====

# Genesis Keep Zone Act 1
Emblem 1
Hint = High up, wet, in plain sight.\\Just find it in a waterfall. Use Sonic's water bounce!
Type = Skin
Tag = 1
MapNum = B1
Sprite = U
Var = 0
Color = SKINCOLOR_BLUE

Emblem 2
Hint = This one is for Tails.\\Near a small lake, just stand on bright brown rock and look up!
Type = Skin
Tag = 2
MapNum = B1
Sprite = V
Var = 1
Color = SKINCOLOR_ORANGE

Emblem 3
Hint = It's located on the shiny celling, near the level's end.\\Try to grab it by climbing the rocks!
Type = Skin
Tag = 3
MapNum = B1
Sprite = W
Var = 2
Color = SKINCOLOR_RED

# Genesis Keep Zone Act 2
Emblem 4
Hint = Get into a hole and be held by a water lily. Maybe you get it in the way. It's our hero's time!
Type = Skin
Tag = 4
MapNum = B2
Sprite = U
Var = 0
Color = SKINCOLOR_BLUE

Emblem 5
Hint = The second one located under one of big tree's branches.\\Maybe orange fluff could help?
Type = Skin
Tag = 5
MapNum = B2
Sprite = V
Var = 1
Color = SKINCOLOR_ORANGE

Emblem 6
Hint = A tight place near a crowded place.\\Located high between waterfall and leaves. Climb to get it.
Type = Skin
Tag = 6
MapNum = B2
Sprite = W
Var = 2
Color = SKINCOLOR_RED

# Mill Citadel Zone Act 1
Emblem 7
Hint = Located somewhere high up, near the end. Use Sonic with a bit of rocket science.
Type = Skin
Tag = 7
MapNum = B4
Sprite = U
Var = 0
Color = SKINCOLOR_BLUE

Emblem 8
Hint = Located under a bridge with moving grain, in a dark cave.\\Only takeable by flying.
Type = Skin
Tag = 8
MapNum = B4
Sprite = V
Var = 1
Color = SKINCOLOR_ORANGE

Emblem 9
Hint = This one's is right away from spawn.\\Knuckles' climb would definitely help to climb up the building.
Type = Skin
Tag = 9
MapNum = B4
Var = 2
Sprite = W
Color = SKINCOLOR_RED

# Mill Citadel Zone Act 2
Emblem 10
Hint = This one is located in at some spinning maces, after a few spinning maces. Good luck, Sonic!
Type = Skin
Tag = 10
MapNum = B5
Var = 0
Sprite = U
Color = SKINCOLOR_BLUE

Emblem 11
Hint = In the building near open stair section, next to Crawla Garden. Only fluff can fly that high!
Type = Skin
Tag = 11
MapNum = B5
Var = 1
Sprite = V
Color = SKINCOLOR_ORANGE

Emblem 12
Hint = After the silos, in a dark and dangerous left turn.\\Off the track, better to use Knuckles.
Type = Skin
Tag = 12
MapNum = B5
Var = 2
Sprite = W
Color = SKINCOLOR_RED

# Misc Trip Zone
Emblem 13
Hint = Be careful with this one, as it lies on a small bit of debris, almost on the pit.
Type = Skin
Tag = 13
MapNum = B7
Sprite = U
Var = 0
Color = SKINCOLOR_BLUE

Emblem 14
Hint = Only Tails can grab this emblem sitting high up, located behind a huge arch!
Type = Skin
Tag = 14
MapNum = B7
Var = 1
Sprite = V
Color = SKINCOLOR_ORANGE

Emblem 15
Hint = Located in the Springs o' Faith room.\\Use Knuckles' glide to grab this one. Clear the room first!
Type = Skin
Tag = 15
MapNum = B7
Var = 2
Sprite = W
Color = SKINCOLOR_RED