###
# Credits text, rendered as-is from the "Credits" menu button
###
[credits]
text = """
# Martian Chess

An Icehouse game by Andrew Looney

Art: Sam Hall

Programming: Elijah Voigt

---

# Third Party Tools

Bevy Engine: bevyengine.org

FMOD/FMOD Studio: fmod.com

---

# Art Assets

Image Textures retrieved from textures.com:

Concrete Energy Pole: https://www.textures.com/download/PBR0340/136381

Space Blanket Folds: https://www.textures.com/download/PBR0152/133187

Background 2D art by NASA: LINK HERE

Silkscreen Font by Jason Kottke: https://www.kottke.org/plus/type/silkscreen/

Neothic Font by Daymarius: https://www.dafont.com/neothic.font
"""

###
# Intro text, typed out during normal gameplay
###
[intro]
# Colors are in hex (RED GREEN BLUE ALPHA)
rgba_hidden = "#00000000"
rgba_visible = "#FFFFFFFF"
rgba_background = "#000000AA"
# Higher rate is slower typing speed. Integers only!
delay = 0.1
text = [
"""
At the intersection of humanity's wildest imaginations and the infinite of the cosmos, the lines between possible and real fall apart like dissolving paper.
""",
"""
On Earth, a long tradition of combat and destruction amongst different groups has been upheld and respected; given a place in the social mind. As spacetime stretches ever on, the rhyme of the universe reveals itself, and even includes such traditions.
""",
"""
And so, humanity came face to face with a curiosity. Looking to our martian analogues, we find a twin destructive tradition, but one which seems backwards. In their tradition, each victory is also a loss. Each battle is waged simultaneously with opponent and self, and a mutual pact of annihilation and tactics unfolds until one side lays barren, just as likely to be the victor.
""",
"""
But Can you adapt?
Will you be a part of the universal rhyme, and if so, which side are you on?
""",
]

###
# Tutorial text, revealed interactively based on context
###
[tutorial]
# Hex colors for in/visible text (only visible used for now)
rgba_hidden = "#00000000"
rgba_visible = "#FFFFFFFF"
rgba_background = "#000000AA"

intro = [
"""
Greetings general, and welcome to 'Martian Advanced Rules for Generals: Long-Term engagement strategies'. As a part of your assignment to operation Red Rocks, it is in your best interest to thoroughly utilize this simulation to best prepare you for engagement with, and strategic domination of, Martian forces.
""",
"""
...
""",
"""
But first things first! How do you play the dang game?
""",
]
objective = [
	"The Goal of Martian Chess is to have more points than your opponent when the game ends.",
	"You get points by capturing your opponent's pieces.",
	"The game ends when one player has no more pieces in their zone.",
]
ownership = [
"""
This here line is called the canal. And blow me down if she aint a beaut! See herein lies the kicker of Martian warfare: You control any and only the pieces on your side of the canal. When you move a piece across the canal, your opponent assumes control over it.
""",
"Keep playing and try to score some points!",
]
promotions = [
"""
Oh and one last thing: real nerds occasionally employ the field promotions strategy. Here's how it works: If you control no drones, you may combine two pawns to make a drone. Similarly, if you control no Queens, you may combine two drones to make a queen.
""",
]
outro = [
"""
Ok I gotta go now, but You now know enough to prevent human extinction. Do you want to finish this practice round?
""",
]

[tutorial.pieces]
prompt  = ["Try picking up a piece"]
pawn    = ["Pawn. The Pawn is worth 1 point, and moves 1 space diagonally. This thing ain't worth your time. Put it down."]
drone   = ["Drone. The Drone is worth 2 points, and moves 1 or 2 spaces horizontally or vertically. Neat. Back on the board."]
queen   = ["Queen. The Queen is worth 3 Points, and moves any distance in a straight line. Woah, watch where you point that thing. Best put it back down."]
jumping = ["Note that jumping is not allowed. Martians banned any and all jumping in their society long ago."]
end     = ["Ok, now move some pieces somewheres!"]


[resolution]
x = 640
y = 480

[buttons]
image_resting   = "images/Blank Button (Resting).png"
image_depressed = "images/Blank Button (Depressed).png"
font = "fonts/Neothic/Neothic.ttf"

#########################################################################
# Audio settings
#########################################################################
###
# Main music track
###
[audio.music]
main = "/Music/Main Track2"
intensity_min = 0.0
intensity_max = 400.0

###
# Menu SFX
###
[audio.menu]
select = "/SFX/MenuSelect"
hover = "/SFX/MenuHover"

###
# 3D Mode SFX
###
[audio.display3d]
pick_up  = "/SFX/3D/3DPickUpPiece"
put_down = "/SFX/3D/3DPutDownPiece"
idle     = "/SFX/3D/3DPickup-Idle-PutdownWhirr"
invalid  = "/sfx/3D/3DInvalidMove"

####################
# Color Settings
####################
[color.grading]
exposure = 1.1
gamma = 1.1
pre_saturation = 1.0
post_saturation = 1.0

[color.fog]
density = 0.0025

[color.bloom]
intensity = 0.1

####################
# Display3d settings
####################
[display3d.skybox]
brightness = 500.0

[display3d.environment_map_light]
intensity = 500.0

[display3d.models]
assets_file = "models/Martian Chess.glb"
skybox_file = "images/skybox-fog.png"

[display3d.models.scenes]
queen_red = "QueenRed"
drone_red = "DroneRed"
pawn_red = "PawnRed"
queen_blue = "QueenBlue"
drone_blue = "DroneBlue"
pawn_blue = "PawnBlue"
board = "Gameboard"
valid_move = "Valid Move Static"
title = "Title"

[title]
image = "images/title.png"
width_px = 400.0

[display3d.models.animations]
intro_a  = "GameCamIntro1"
intro_b  = "GameCamIntro2"
turn_b   = "GameCamSide2>1"
turn_a   = "GameCamSide1>2"

[display3d.models.animations.pick_up]
pawn_blue = "PawnBluePiecePickup"
pawn_red = "PawnRedPiecePickup"
drone_blue = "DroneBluePiecePickup"
drone_red = "DroneRedPiecePickup"
queen_blue = "QueenBluePiecePickup"
queen_red = "QueenRedPiecePickup"

[display3d.models.animations.put_down]
pawn_blue = "PawnBluePiecePutDown"
pawn_red = "PawnRedPiecePutDown"
drone_blue = "DroneBluePiecePutDown"
drone_red = "DroneRedPiecePutDown"
queen_blue = "QueenBluePiecePutDown"
queen_red = "QueenRedPiecePutDown"

[display3d.models.animations.idle]
pawn_blue = "PawnBluePieceIdle"
pawn_red = "PawnRedPieceIdle"
drone_blue = "DroneBluePieceIdle"
drone_red = "DroneRedPieceIdle"
queen_blue = "QueenBluePieceIdle"
queen_red = "QueenRedPieceIdle"


######################
### Animation Settings
######################
[animation]
fast_speed = 2.0