*if game_started = false
	*goto no_stats

*if fuel < 1
	*set fuel 0
	
*if battery < 1
	*set battery 0
	
*if on_starbase = true
	✴️ [b]${starbase_name}[/b]
	*goto bingle
	
*if on_planet = true
	🛃 [b]Current Location[/b]: Spaceport on ${planet_name}
	*goto bingle
	
*if on_asteroid = true
	🥔 [b]Current Location[/b]: On ${asteroid_name}
	*goto bingle

*if on_moon = true
	🌕 [b]Current Location[/b]: On an Artificial Moon
	*goto bingle
	
🌌 [b]Current Location[/b]: Quadrant ${quadrant}, Sector ${sector}

*label bingle

You are: [b]Captain ${name}[/b] of the ${ship_name}, a ${ship_class} class vessel.
	
*gosub_scene ship_status_check
Ship status: ${ship_status}
*if ship_hp < 100
	*line_break
	⚠️ Hull integrity: ${ship_hp}%
	
*if asteroids_claimed = 1
	🥔 You are the owner of asteroid "${asteroid_own_name}" in quadrant ${asteroid_owned_quad}.
	
*if asteroids_claimed > 1
	🥔 You are the owner of ${asteroids_claimed} asteroids.

👨‍🚀  [b]Passenger Manifest:[/b]

*if rp
	${rp_emoji} ${rp_name} is your traveling companion.


Passengers aboard: ${passengers_carrying}
*line_break
*if story_mode = true
	Berths available: ${berths_available}
	*line_break
*if passengers_carrying > 0
	Ticket price/passenger: ¢${passengers_bid_price}
	*line_break
	Passenger destination: 🪐 ${passenger_destination} (Quadrant ${passenger_quadrant})
	*line_break
*if colonists_carrying > 0
	🧑‍🏭 Colonists aboard: ${colonists_carrying}


📦 [b]Cargo:[/b]
*line_break
*if resource1_carrying > 1
	$!{resource1}: ${resource1_carrying} units
	*line_break
*if resource1_carrying = 1
	$!{resource1}: ${resource1_carrying} unit
	*line_break
*if resource2_carrying > 1
	$!{resource2}: ${resource2_carrying} units
	*line_break
*if resource2_carrying = 1
	$!{resource2}: ${resource2_carrying} unit
	*line_break
*if resource3_carrying > 1
	$!{resource3}: ${resource3_carrying} units
	*line_break
*if resource3_carrying = 1
	$!{resource3}: ${resource3_carrying} unit
	*line_break
*if resource4_carrying > 1
	$!{resource4}: ${resource4_carrying} units
	*line_break
*if resource4_carrying = 1
	$!{resource4}: ${resource4_carrying} unit
	*line_break
*if resource5_carrying > 1
	$!{resource5}: ${resource5_carrying} units
	*line_break
*if resource5_carrying = 1
	$!{resource5}: ${resource5_carrying} unit
	*line_break
*if resource6_carrying > 1
	$!{resource6}: ${resource6_carrying} units
	*line_break
*if resource6_carrying = 1
	$!{resource6}: ${resource6_carrying} unit
	*line_break
*if resource7_carrying > 1
	$!{resource7}: ${resource7_carrying} units
	*line_break
*if resource7_carrying = 1
	$!{resource7}: ${resource7_carrying} unit
	*line_break
*if resource8_carrying > 1
	$!{resource8}: ${resource8_carrying} units
	*line_break
*if resource8_carrying = 1
	$!{resource8}: ${resource8_carrying} unit
	*line_break
*if resource9_carrying > 1
	$!{resource9}: ${resource9_carrying} units
	*line_break
*if resource9_carrying = 1
	$!{resource9}: ${resource9_carrying} unit
	*line_break
*if resource10_carrying > 1
	$!{resource10}: ${resource10_carrying} units
	*line_break
*if resource10_carrying = 1
	$!{resource10}: ${resource10_carrying} unit
	*line_break
*if resource11_carrying > 1
	$!{resource11}: ${resource11_carrying} cubes
	*line_break
*if resource11_carrying = 1
	$!{resource11}: ${resource11_carrying} cube
	
*if cargo_space_free = cargo_holds
	You are not carrying any cargo.

*temp load 0
*set load (cargo_holds - cargo_space_free)

*if load < 1
	Max cargo: ${cargo_holds} units
*line_break
*if load > 0
	Empty cargo units: ${cargo_space_free}
	
	
💶 [b]Finance[/b]:
	
Last purchase: ¢${lastbuyprice}/¢${lasttotal}
*line_break
Last sale: ¢${lastsaleprice}/¢${lasttotalsale}
*line_break
Cash on hand: ¢${credits}

*if bank_visited = true
	🏦 Bank balance: ¢${bank_balance}

[b]Engineering:[/b]

🔥 Fuel: ${fuel}/${fuel_max}
*line_break
💫 Max warp speed: ${speed}
*line_break
🔋 Battery: ${battery}/${battery_max}
*line_break
*if story_mode = false
	🚇 Torpedoes: ${torpedoes} (max ${torpedoes_max})
*line_break

*if story_mode
	⛑️  Days since rescue mission began: ${move_counter}

*check_achievements

*label moped

*fake_choice
	*selectable_if (sound = false) #Turn sound ON
		*set sound true
		*sound briefchirp.wav
		Sound is now ON
	*selectable_if (sound = true) #Turn sound OFF
		*set sound false
		Sound is now OFF

*label no_stats

*if game_started = false
	You are still learning to find your place in the galaxy.
	
*goto moped