!Oasis Traders
!!Crossroads Of Fate
Embark on a perilous odyssey along the legendary ''Pearl Passages'', where every choice shapes your fate.
[img['assets/img/cover.jpg']]
<<button "Start A New Journey">>
<<script>>
Dialog.setup("Name");
Dialog.wiki('Enter your name<br><img src="assets/img/characters/you.jpg" height=50% width=50%><br><<textbox "$name" "Rahul" autofocus>><<button "Start" StartYourJourney>><<run Dialog.close()>><</button>>');
Dialog.open(setup.done);
<</script>>
<</button>>
<<link "Continue An Old Journey">>
<<script>>UI.saves()<</script>>
<</link>>
----
A game by [[Rahul | https://rahulhegde.framer.website/]]
----
/*
-------------------------------------------------------------
This is a comment
<img src="https://th.bing.com/th/id/OIG3.sir_yRBz3Z7UFUJId.Z7?w=360&h=360&rs=1&pid=ImgDetMain" alt="Merchant on a Camel Caravan in Silk">
<img src="https://th.bing.com/th/id/OIG3.sir_yRBz3Z7UFUJId.Z7?w=400&h=400&rs=1&pid=ImgDetMain" alt="Merchant on a Camel Caravan in Silk Road" width=90% height="auto">
First paragraph.
<<linkreplace "Continue" t8n>>\
Second paragraph.
<<linkreplace "Continue" t8n>>\
Third paragraph.
<</linkreplace>>\
<</linkreplace>>\
<img src="https://i.postimg.cc/g0WtBNf8/rol-s-land-of-sorrows.png" width="360" alt="Merchant on a Camel Caravan in Silk">
Greeting kind traveller. Enter your name.
<<textbox "$name" "Rol">>
<<set $name to State.variables.name>>
<<button "Start A New Journey" StartYourJourney>><</button>>
------------------------------------------------------------- */<<set $time to "9 AM">><<set $place to "$name's Oasis Traders">><<set $money to 10000>> /*
----
*/🌏 //$place//
🕙 //$time//
💰 //₹ $money//
----
All loud crash through the door. The police come in.
/* using the generated macros in passages */
<<Police>>$name Sahib, Amil, our tax and revenue officer wants you pay up. We have waited long enough, you will be evicted from ''//$name's Oasis Traders//'' and all assets here will be liquidated.<</Police>>
<<You>>But wait...<</You>>
<<Police>>No Sahib, we have done enough waiting. You and your weakling companion are on your own now. We will be confiscating this place.<</Police>>
[[But you can't do this]]
/* ---------------------------------------
<<button "Open Map">>
<<popover>>
[img[assets/img/map.png]]
<<button "Close Map">><<dismisspopover>><</button>>
<</popover>>
<</button>>
--------------------------------------- */<<if tags().includes('title') is true>>Embark on a perilous odyssey along the legendary ''Pearl Passages'', where every choice shapes your fate.
<hr style="opacity:100%">A game by Rahul Hegde.<<button "Buy Me Chai ☕" >><<script>>window.open("https://rahulhegde.framer.website/" '_blank');<</script>><</button>>
<hr style="opacity:100%">
<<else>><img src="assets/img/characters/you.jpg" height=50% width=50%>
''$name Sahib''
🕙 $time
🌏 $place
💰 ₹ $money
❤️ $health
<</if>><<if tags().includes('title') is false>>
<<link "Inventory">>
<<goto "Inventory">>
<<script>>
UIBar.stow()
<</script>>
<</link>>
<</if>>
<<link "Credits">>
<<goto "Credits">>
<<script>>
UIBar.stow()
<</script>>
<</link>><a href="twitter.com">Twitter</a>!Credits
Oasis Traders - Crossroads of Fate: A game by Rahul Hegde. Built with love, sweat and tips.
<<button "Buy Me Chai ☕" >><<script>>window.open("https://rahulhegde.framer.website/" '_blank');<</script>><</button>>
[[Report an issue]]
----
!!!All Characters
<<You>>Namaste, I'm you.<</You>>
<<Police>>I will belt you.<</Police>>
<<Amil>>I will tax you.<</Amil>>
<<Mayi>>I will serve you.<</Mayi>>
<<return "Back">>!Inventory
!!!Your Inventory
<<inv $yourbag use drop>>
<<if $mayi is true>>!!!Mayi's Inventory<<inv $mayibag use drop>><</if>>/* All Variables */
<<set $name to "Rahul">>
<<set $time to "6 A.M">>
<<set $place to "$name's Shop">>
<<set $money to 10>>
<<set $health to 5>>
<<set $mayi to true>>
/* Character Creation */
<<character 'You' 'assets/img/characters/you.jpg'>>
<<character 'Amil' 'assets/img/characters/amil.jpg'>>
<<character 'Police' 'assets/img/characters/police.jpg'>>
<<character 'Mayi' 'assets/img/characters/mayi.jpg'>>
<<character 'Jafar' 'assets/img/characters/jafar.jpg'>>
/* Inventory Creation */
<<newinv $yourbag>>
<<newinv $mayibag>>
/* Inventory Item Creation
<<item "key_1" "Crypt Key">>
<<description>>\
An old, rusty key with a skull shape on it. Spoooooky.\
<<unique>>
<</item>>*/!Issues
!!!Bugs
* ==Credits from title page saves name and time information. Need to get rid of this.==
!!!To-do
* Figure out inventory system.
<<return "Back">><<Police>>I am afraid we //can// do this, Sahib. Out of respect for you, I am asking you to pack your bag along with your companion and leave the premises immediately.<</Police>>
[[Pack bags and leave with your companion, Mayi]]
[[Fight your way out of this]]<<You>>I don't think we can do much here, Mayi. Let's just leave.<</You>>
<<Mayi>>As you wish, $name Sahib.<</Mayi>>
[[Leave the store]]<<You>>Mayi, come on let's attack this police officer.<</You>>
<<Mayi>>Way ahead of you, Sahib.<</Mayi>>
[[Attack the police officers]]<<set $time to "10 AM">><<set $place to "Jail">><<set $money to 0>>
!!Sahib in Jail<<notify>>🏆Ending 1: Sahib in Jail<</notify>>
[img['assets/img/endings/1.jpg']]
You and Mayi attack the police officer. You not just lose the fight but also get arrested for getting violent with an officer of the Shah.
<<Police>>That is what you get for messing with me.<</Police>>
!!!You lost the game with no money and no impact on the world. Well done!
<<link "Restart from start">>
<<script>>state.restart();<</script>>
<</link>><<set $time to "10 AM">><<set $place to "Streets of Azura">><<set $money to 100>> /*
----
*/🌏 //$place//
🕙 //$time//
💰 //₹ $money//
----
You and Mayi are stranded on the bustling streets of Azura with your luggage and your last 100 rupees
<<Mayi>>Sahib what are we going to do now?<</Mayi>>
<<You>>Well Mayi, we lost everything. All I know is we must travel and trade to survive<</You>>
<<Mayi>>But we don't have any money, $name Sahib<</Mayi>>
<<You>>In that case, we must make the most of what we have left and trade it at a higher price across the ''//Pearl Passages//''<</You>>
You think for a moment.
<<link "Take Mayi with you">>
<<set $money -=10>><<goto "Take Mayi with you">>
<</link>>// (This will cost you ₹ 10, but might help you greatly later)//
[[Thank Mayi for his service and move on]]<<set $time to "11 AM">><<set $place to "Azura Bazaar">><<set $mayi to true>> /*
----
*/🌏 //$place//  🕙 //$time//
💰 //₹ $money//   ❤️//$health//
----
You take Mayi with you to the ''//Azura Bazaar.//''
<<link "Buy Sandalwood (₹ 10)">>
<<script>>
Dialog.setup("Sandalwood");
Dialog.wiki('Sexy ass wood<br><b>₹ 10</b><br><br><<button "Buy">><<pickup $yourbag "Sandalwood" 1>><<set $money -=10>><<run Engine.show()>><<run Dialog.close()>><</button>>');
Dialog.open(setup.done);
<</script>>
<</link>>
!!!Your Inventory
<<inv $yourbag use drop>>
!!!Mayi's Inventory
<<if $mayi is true>><<inv $mayibag use drop>><</if>>
[[You have enough stuff, now let head on to our journey]]
!!World's Best Boss<<notify>>🏆Ending 3: Rahul didn't complete this yet<</notify>>
<<Jafar>>Certified by Jeff Bezos, or how they call it here, ''//Amir Jafar al-Bazaz//''<</Jafar>>
<<link "Restart from start">>
<<script>>state.restart();<</script>>
<</link>>!!No one has enough<<notify>>🏆Ending 2: Rahul didn't complete this yet<</notify>>
But do you ever really have enough
<<link "Restart from start">>
<<script>>state.restart();<</script>>
<</link>>