Scan with your iPhone to install
This is my first ever project this is a Ticket Simulator . You book flights and just basically just have Fun Version 1.4 Made By GreenFantisy
What's New
Version 1.0
First release
What it does
87 actions-
CommentFlight Simulator 1.4 Made By GreenFantisy
-
Text
-
Choose from Menu…
-
Choose from MenuBook A Flight ✈️
-
Ask for InputWhere Will You Be Flying To Today?🛬 (Country)
-
Set VariableDestination
-
Ask for InputWhere From? 🛫 (Country)
-
Set VariableFrom
-
Ask for InputWhich Airport Do You Want To Land At Type N/A If You Dont Care🛬
-
If
-
If
-
Set VariableDestanation Airport
-
Save File
-
Ask for InputWhich Airport Do You Want To Departure At Type N/A With Capitals If You Don’t Care🛫
-
If
-
If
-
Set VariableFrom Airport
-
Save File
-
Random Number
-
Set VariableGate
-
Choose from MenuHere Is The Available Airlines From … … To … …
-
Choose from MenuWizzAir🟪⬜️
-
Random Number
-
Set VariableWizz Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With WizzAir
-
Choose from MenuBritish Airways⬜️🟥🟦
-
Random Number
-
Set VariableGB A Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With British Airways
-
Choose from MenuRyanAir🟦🟨
-
Random Number
-
Set VariableRyan Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With Ryanair
-
Choose from MenuEasyJet🟧⬜️
-
Random Number
-
Set VariableEasy Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With EasyJet
-
Choose from MenuBulgaria Air⬜️🟩🟥🇧🇬
-
Random Number
-
Set VariableBG Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With Bulgaria Air
-
Choose from MenuSpirit🟨
-
Random Number
-
Set VariableSpirit Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With Spirit
-
Choose from MenuDelta🟥🟪
-
Random Number
-
Set VariableDelta Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With Delta
-
Choose from MenuEmieraties⬜️🟥🟩
-
Random Number
-
Set VariableEmi Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With Emieraties
-
Choose from MenuQatar Airways⬜️🟪🟥
-
Random Number
-
Set VariableQA Price
-
Show Alert
-
Show NotificationYour Flight Has Successfully Been Booked To … … At Gate … With Qatar Airways
-
Choose from MenuCancel Flight❌
-
Run ShortcutTicket Simulator
-
Choose from MenuDev Logs 💻
-
Text
-
Choose from Menu…
-
Choose from MenuGo Back⬅️
-
Run ShortcutTicket Simulator
-
Choose from MenuPersonal Preferences⚙️
-
Choose from MenuHere's The Personal Preferences
-
Choose from MenuTheme🖥️
-
Choose from Menu
-
Choose from MenuLight⚪️
-
Set Appearance
-
Run ShortcutTicket Simulator
-
Choose from MenuDark⚫️
-
Set Appearance
-
Run ShortcutTicket Simulator
-
Choose from MenuCancel❌
-
Run ShortcutTicket Simulator
-
Choose from MenuQuit❌
-
Choose from MenuMy Flights 🛫
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/settings'
#include 'actions/documents'
#define color lightblue
#define glyph airplane
/*
Flight Simulator 1.4
Made By GreenFantisy
*/
menu {
item "Book A Flight ✈️":
prompt("Where Will You Be Flying To Today?🛬 (Country)")
@Destination
prompt("Where From? 🛫 (Country)")
@From
const ProvidedInput = prompt("Which Airport Do You Want To Land At Type N/A If You Dont Care🛬")
if ProvidedInput == "N/A" {
} else {
@DestanationAirport = ProvidedInput
saveFile("/Ticket Simulator/DA.txt", @DestanationAirport, true)
}
const ProvidedInput1 = prompt("Which Airport Do You Want To Departure At Type N/A With Capitals If You Don’t Care🛫")
if ProvidedInput1 == "N/A" {
} else {
@FromAirport = ProvidedInput1
saveFile("/Ticket Simulator/FA.txt", @FromAirport, true)
}
randomNumber(1, 20)
@Gate
menu "Here Is The Available Airlines From {@From} {@FromAirport} To {@Destination} {@DestanationAirport}" {
item "WizzAir🟪⬜️":
randomNumber(50, 150)
@WizzPrice
confirm("This Will Cost {@WizzPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With WizzAir ")
item "British Airways⬜️🟥🟦":
randomNumber(400, 700)
@GBAPrice
confirm("This Will Cost {@GBAPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With British Airways")
item "RyanAir🟦🟨":
randomNumber(10, 100)
@RyanPrice
confirm("This Will Cost {@RyanPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With Ryanair\n")
item "EasyJet🟧⬜️":
randomNumber(80, 200)
@EasyPrice
confirm("This Will Cost {@EasyPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With EasyJet\n")
item "Bulgaria Air⬜️🟩🟥🇧🇬":
randomNumber(200, 300)
@BGPrice
confirm("This Will Cost {@BGPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With Bulgaria Air")
item "Spirit🟨":
randomNumber(15, 115)
@SpiritPrice
confirm("This Will Cost {@SpiritPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With Spirit")
item "Delta🟥🟪":
randomNumber(200, 300)
@DeltaPrice
confirm("This Will Cost {@DeltaPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With Delta")
item "Emieraties⬜️🟥🟩":
randomNumber(700, 1100)
@EmiPrice
confirm("This Will Cost {@EmiPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With Emieraties")
item "Qatar Airways⬜️🟪🟥":
randomNumber(650, 1000)
@QAPrice
confirm("This Will Cost {@QAPrice}£ Continue?")
showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With Qatar Airways")
item "Cancel Flight❌":
runSelf()
}
item "Dev Logs 💻":
menu {
item "Go Back⬅️":
runSelf()
}
item "Personal Preferences⚙️":
menu "Here's The Personal Preferences " {
item "Theme🖥️":
menu nil {
item "Light⚪️":
darkMode()
runSelf()
item "Dark⚫️":
darkMode()
runSelf()
}
item "Cancel❌":
runSelf()
}
item "Quit❌":
item "My Flights 🛫":
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by greenfantisy
You Might Also Like
Advertisement