*set ship_status "Green 🟢"

*if fuel < 25
	*set ship_status "Amber 🟠" 
	
*if ship_hp < 100
	*set ship_status "Amber 🟠" 
	
*if battery < 30
	*set ship_status "Amber 🟠" 

*if fuel < 10
	*set ship_status "Red 🔴"
	
*if ship_hp < 50
	*set ship_status "Red 🔴"

*if battery < 11
	*set ship_status "Red 🔴"

*return

*label warning

*if fuel < 1
	⚠️ Warning: Out of fuel
	
*if battery < 1
	⚠️ Warning: Out of battery power

*return