# Configuration File for ArchPack
# Release date: 2022-03-13
# Version Build: 2.3
# Author: Ezer'Arch (www.ezerarch.com and youtube.com/EzerArch)
# Coauthors/supporters:
#   * sanek (a.k.a. romineblox0), as 2.2 porter and for adding emblem hints (post-edited by Ezer'Arch) and testing.
#   * Othius, 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.3
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 SRB2 MP special stages

# Remove 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
FlickyList = Bluebird,Chipmunk,Bear

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

# 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
FlickyList = Bluebird,Chipmunk,Bear

# 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
FlickyList = Rat,Spider,Bat

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

# 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
FlickyList = Rat,Spider,Bat


# -- 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
Unlockable = 2
LevelSelect = 1
SelectHeading = Bonus Stages
Subtitle = The 1st ArchPack map!

# 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
Unlockable = 5
LevelSelect = 1
SelectHeading = Bonus Stages
Subtitle = Kill all enemies to exit

# The Big Fabric
Level B9
LevelName = The Big Fabric
Act = 0
NoZone = true
Music = MP_GHZ
TypeOfLevel = Singleplayer
NextLevel = 1100 # Warp to the title screen
SkyNum = 2
ForceCharacter = Sonic
SaveGame = true
RecordAttack = true
Unlockable = 8
LevelSelect = 0
SelectHeading = Bonus Stages
Subtitle = Kill all enemies. Don't be hasty


# -- Scrapped Maps --

# Genesis Keep Scrapped  Zone Act 1
Level S1
LevelName = Genesis Keep Scrapped
Act = 1
Music = _NITAT
TypeOfLevel = Singleplayer,Co-op,Competition,Race
NextLevel = S2
SkyNum = 1
SaveGame = true
RecordAttack = true
Unlockable = 6
LevelSelect = 1
SelectHeading = Scrapped Maps
Subtitle = Scrapped Map

# Genesis Keep Scrapped  Zone Act 2
Level S2
LevelName = Genesis Keep Scrapped
Act = 2
Music = _NITAT
TypeOfLevel = Singleplayer,Co-op,Competition,Race
NextLevel = 1100 # Warp to the title screen
SkyNum = 1
SaveGame = true
RecordAttack = true
Unlockable = 6
LevelSelect = 1
SelectHeading = Scrapped Maps
Subtitle = Scrapped Map


# -- Test maps --

# Ad Nauseum
Level X1
LevelName = Ad Nauseum
Act = 0
NoZone = true
Music = MP_MED
TypeOfLevel = Singleplayer,Co-op
NextLevel = 1100 # Warp to the title screen
SkyNum = 2
SaveGame = true
RecordAttack = true
Unlockable = 7
LevelSelect = 0
SelectHeading = Test Maps
Subtitle = Proof-of-concept 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 - Record Attack
Unlockable 1
Name = Record Attack
Objective = Complete the 1st map
Type = RecordAttack
ConditionSet = 1
NoChecklist = false

# 2 - Misc Trip Zone
Unlockable 2
Name = THE 1ST ARCHPACK MAP (2008)
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 15 emblems
Type = EmblemHints
ConditionSet = 3
NoChecklist = false

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

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

# 6 - Scrapped maps
Unlockable 6
Name = Genesis Keep Scrapped Zone
Objective = Complete Soccer Field
Type = Warp
Var = S1
ConditionSet = 6
NoChecklist = false
Height = 60

# 7 - Test map: Ad Nauseum
Unlockable 7
Name = Test map: Ad Nauseum
Objective = Collect 41 emblems
Type = Warp
Var = X1
ConditionSet = 7
NoChecklist = false
Height = 80

# 8 - The Big Fabric
Unlockable 8
Name = The Big Fabric
Objective = Complete Ad Nauseum
Type = Warp
Var = B9
ConditionSet = 8
NoChecklist = false
Height = 100

# placeholder - blank slots 9-10.

# 11 - Extra emblem 1
ExtraEmblem 1
Name = Game Complete
Objective = Complete 1P Mode
ConditionSet = 11
Sprite = A
Color = SKINCOLOR_BLUE

# 12 - Extra emblem 2
ExtraEmblem 2
Name = All Emeralds
Objective = Complete 1P Mode with all emeralds
ConditionSet = 12
Sprite = H
Color = SKINCOLOR_GREY

# 13 - Extra emblem 3 (THE FINAL EMBLEM)
ExtraEmblem 3
Name = The Big Fabric
Objective = The Big Fabric + 1 ring under 1:00
ConditionSet = 13
Sprite = F
Color = SKINCOLOR_RUST


# -- ConditionSets -- 

# Record Attack
ConditionSet 1
Condition1 = MapBeaten B1

# Misc Trip
ConditionSet 2
Condition1 = GameClear

# Emblem Hints
ConditionSet 3
Condition1 = TotalEmblems 15

# Emblem Radar
ConditionSet 4
Condition1 = TotalEmblems 25

# Soccer Field
ConditionSet 5
Condition1 = TotalEmblems 31

# Scrapped maps
ConditionSet 6
Condition1 = MapBeaten B8

# Test map: Ad Nauseum
ConditionSet 7
Condition1 = TotalEmblems 41

# The Big Fabric
ConditionSet 8
Condition1 = MapBeaten X1

# placeholder - blank slots 9-10.

# Extra emblem 1 - Game Complete
ConditionSet 11
Condition1 = GameClear 1

# Extra emblem 2 - All Emeralds
ConditionSet 12
Condition1 = AllEmeralds 1

# Extra emblem 3 - The Big Fabric
ConditionSet 13
Condition1 = MapTime B9 2100
Condition1 = MapRings B9 1


# ==== EMBLEMS ====

# ---- Per-act emblems ----

# Genesis Keep Zone Act 1

Emblem
Hint = High up, wet, in plain sight.\\Just find it in a big waterfall.
Type = Global
Tag = 0 # angle of the thing in map
MapNum = B1
Sprite = A
Color = SKINCOLOR_BLUE

Emblem
Hint = Near a small lake - Oh SNAP!\\Just stand on bright brown rock, look up and fly!
Type = Global
Tag = 1
MapNum = B1
Sprite = B
Color = SKINCOLOR_LAVENDER

Emblem
Hint = Is it a sunroof in a cave? Oh shiny!\\Freaking Jetty!!!
Type = Global
Tag = 2
MapNum = B1
Sprite = C
Color = SKINCOLOR_RED

Emblem
Type = Time
Var = 25*TICRATE
MapNum = B1
Sprite = T
Color = SKINCOLOR_GREY

Emblem
Type = Rings
Var = 190
MapNum = B1
Sprite = R
Color = SKINCOLOR_GOLD


# Genesis Keep Zone Act 2

Emblem
Hint = Get into a hole, let a water lily catch you...\\Maybe you get it in the way.
Type = Global
Tag = 0
MapNum = B2
Sprite = A
Color = SKINCOLOR_BLUE

Emblem
Hint = This one is located under one of big tree's branches.\\A flight might help?
Type = Global
Tag = 1
MapNum = B2
Sprite = B
Color = SKINCOLOR_LAVENDER

Emblem
Hint = A tight place near a crowded place.\\Located high between waterfall and leaves.
Type = Global
Tag = 2
MapNum = B2
Sprite = C
Color = SKINCOLOR_RED

Emblem
Type = Time
Var = 70*TICRATE
MapNum = B2
Sprite = T
Color = SKINCOLOR_GREY

Emblem
Type = Rings
Var = 135
MapNum = B2
Sprite = R
Color = SKINCOLOR_GOLD


# Genesis Keep Zone Act 3

Emblem
Type = Score
Var = 10000
MapNum = B3
Sprite = S
Color = SKINCOLOR_BROWN

Emblem
Type = Time
Var = 30*TICRATE
MapNum = B3
Sprite = T
Color = SKINCOLOR_GREY


# Mill Citadel Zone Act 1

Emblem
Hint = Located somewhere high up, near the end. Faster with a bit of bullet science.
Type = Global
Tag = 0
MapNum = B4
Sprite = A
Color = SKINCOLOR_BLUE

Emblem
Hint = Under a bridge with moving grain, in a dark cave.\\Only takeable by air.
Type = Global
Tag = 1
MapNum = B4
Sprite = B
Color = SKINCOLOR_LAVENDER

Emblem
Hint = This one's is right away from spawn. High up.\\Climbing the building would help.
Type = Global
Tag = 2
MapNum = B4
Sprite = C
Color = SKINCOLOR_RED

Emblem
Type = Time
Var = 115*TICRATE
MapNum = B4
Sprite = T
Color = SKINCOLOR_GREY

Emblem
Type = Rings
Var = 210
MapNum = B4
Sprite = R
Color = SKINCOLOR_GOLD


# Mill Citadel Zone Act 2

Emblem
Hint = Placed amid spinning maces,\\after spinning maces, twice!\\Be quick to not get smacked!
Type = Global
Tag = 0
MapNum = B5
Sprite = A
Color = SKINCOLOR_BLUE

Emblem
Hint = Take a breath at the Crawla Garden\\Is that a cobweb on the ceiling?
Type = Global
Tag = 1
MapNum = B5
Sprite = B
Color = SKINCOLOR_LAVENDER

Emblem
Hint = After the twin silos, in a dark and\\dangerous right turn. Off the track!\\Flying just above death.
Type = Global
Tag = 2
MapNum = B5
Sprite = C
Color = SKINCOLOR_RED

Emblem
Type = Time
Var = 155*TICRATE
MapNum = B5
Sprite = T
Color = SKINCOLOR_GREY

Emblem
Type = Rings
Var = 300
MapNum = B5
Sprite = R
Color = SKINCOLOR_GOLD


# Mill Citadel Zone Act 3

Emblem
Type = Score
Var = 10000
MapNum = B6
Sprite = S
Color = SKINCOLOR_BROWN

Emblem
Type = Time
Var = 30*TICRATE
MapNum = B6
Sprite = T
Color = SKINCOLOR_GREY


# Misc Trip Zone

Emblem
Hint = Be careful with this one:\\it lies on a small bit of debris, almost in the pit.
Type = Global
Tag = 0
MapNum = B7
Sprite = A
Color = SKINCOLOR_BLUE

Emblem
Hint = Sitting high up, near the sky, located behind a huge arch!
Type = Global
Tag = 1
MapNum = B7
Sprite = B
Color = SKINCOLOR_LAVENDER

Emblem
Hint = Located in the Springs o' Faith room.\\Fly around to grab this one.\\Clear the room 1st!
Type = Global
Tag = 2
MapNum = B7
Sprite = C
Color = SKINCOLOR_RED

Emblem
Type = Time
Var = 68*TICRATE
MapNum = B7
Sprite = T
Color = SKINCOLOR_GREY

Emblem
Type = Rings
Var = 157
MapNum = B7
Sprite = R
Color = SKINCOLOR_GOLD


# Genesis Keep Scrapped Zone Act 1

Emblem
Hint = How about to take a cold shower before moving ahead!
Type = Global
Tag = 0
MapNum = S1
Sprite = A
Color = SKINCOLOR_BLUE

Emblem
Hint = Do emblems grow on crystals?
Type = Global
Tag = 1
MapNum = S1
Sprite = B
Color = SKINCOLOR_LAVENDER

Emblem
Hint = Minecraft time!
Type = Global
Tag = 2
MapNum = S1
Sprite = C
Color = SKINCOLOR_RED

Emblem
Type = Time
Var = 29*TICRATE
MapNum = S1
Sprite = T
Color = SKINCOLOR_GREY

Emblem
Type = Rings
Var = 50
MapNum = S1
Sprite = R
Color = SKINCOLOR_GOLD


# Genesis Keep Scrapped Zone Act 2

Emblem
Hint = *spins*\\So far and yet so close...
Type = Global
Tag = 0
MapNum = S2
Sprite = A
Color = SKINCOLOR_BLUE

Emblem
Hint = Stomp some leaves. Hold down... AHA!
Type = Global
Tag = 1
MapNum = S2
Sprite = B
Color = SKINCOLOR_LAVENDER

Emblem
Hint = Between two lakes in an empty room\\- oh realy?! - under the bridge.
Type = Global
Tag = 2
MapNum = S2
Sprite = C
Color = SKINCOLOR_RED

Emblem
Type = Time
Var = 68*TICRATE
MapNum = S2
Sprite = T
Color = SKINCOLOR_GREY

Emblem
Type = Rings
Var = 55
MapNum = S2
Sprite = R
Color = SKINCOLOR_GOLD
 