Apologies! Your web browser lacks required capabilities. Please consider upgrading it or switching to a more modern web browser.
Initializing. Please wait…
There's a Kitchen.
there's a Fridge.
You have a Plate, and Bread.
[[Open Fridge]]
<<addtoInv Bread>>The Fridge is open.
There is Ham, Swiss, Peanut Butter, Jelly, Meat Floss, and Pimento Cheese.
[[Get Ham]]
[[Get Swiss]]
[[Get Peanut Butter]]
[[Get Jelly]]
[[Get Meat Floss]]
[[Get Pimento Cheese]][[Start!]]
<<script>>
//Begin Inventory Macros
//helper
window.getInv = function() {
return state.active.variables.inventory;
};
//starter
macros.initInv = {
handler: function(place, macroName, params, parser) {
state.active.variables.inventory = [];
}
};
//add to inventory
macros.addtoInv = {
handler: function(place, macroName, params, parser) {
if (params.length == 0) {
throwError(place, "<<" + macroName + ">>: no parameters given");
return;
}
if (state.active.variables.inventory.indexOf(params[0]) == -1) {
state.active.variables.inventory.push(params[0]);
}
}
};
//display
macros.inv = {
handler: function(place, macroName, params, parser) {
if (state.active.variables.inventory.length == 0) {
new Wikifier(place, 'nothing');
} else {
new Wikifier(place, state.active.variables.inventory.join(', '));
}
}
};
//empty inventory
macros.emptyInv = {
handler: function(place, macroName, params, parser) {
state.active.variables.inventory = []
}
};
//end inventory Macros
<</script>>
<<initInv>>You added Ham <<nobr>>
<<addtoInv Ham>>
<<set $ham to 1>>
<</nobr>>
[[Get Ham]]
[[Get Swiss]]
[[Get Peanut Butter]]
[[Get Jelly]]
[[Get Meat Floss]]
[[Get Pimento Cheese]]
[[Finish Sandwich]]You added Swiss<<nobr>>
<<addtoInv Swiss>>
<<set $swiss to 1>>
<</nobr>>
[[Get Ham]]
[[Get Swiss]]
[[Get Peanut Butter]]
[[Get Jelly]]
[[Get Meat Floss]]
[[Get Pimento Cheese]]
[[Finish Sandwich]]You added Peanut Butter <<nobr>>
<<addtoInv "Peanut Butter">>
<<set $peanutbutter to 1>>
<</nobr>>
[[Get Ham]]
[[Get Swiss]]
[[Get Peanut Butter]]
[[Get Jelly]]
[[Get Meat Floss]]
[[Get Pimento Cheese]]
[[Finish Sandwich]]You added Jelly<<nobr>>
<<addtoInv Jelly>>
<<set $jelly to 1>>
<</nobr>>
[[Get Ham]]
[[Get Swiss]]
[[Get Peanut Butter]]
[[Get Jelly]]
[[Get Meat Floss]]
[[Get Pimento Cheese]]
[[Finish Sandwich]]You added Meat Floss<<nobr>>
<<addtoInv "Meat Floss">>
<<set $meatfloss to 1>>
<</nobr>>
[[Get Ham]]
[[Get Swiss]]
[[Get Peanut Butter]]
[[Get Jelly]]
[[Get Meat Floss]]
[[Get Pimento Cheese]]
[[Finish Sandwich]]You added Pimento Cheese<<nobr>>
<<addtoInv "Pimento Cheese">>
<<set $pimentocheese to 1>>
<</nobr>>
[[Get Ham]]
[[Get Swiss]]
[[Get Peanut Butter]]
[[Get Jelly]]
[[Get Meat Floss]]
[[Get Pimento Cheese]]
[[Finish Sandwich]]You now hold in your hand a finished sandwich.
You look upon it's glorious layers: <<inv>>
You salivate as you stare at the sandwich.
[["Help!"]]You take your first bite into your sandwich.
"Help! Is anyone there? Go get some help! There's a fire!" \
<<if $ham eq 1>>
You can taste the delicious sweet taste of the ham.
<<else>>
<</if>>
Oh, this sandwich tastes amazing!
[["Please, Call 911!"]]You take your second bite.
"please, if you can, call 911! Our family is stuck down here!" \
<<if $swiss eq 1>>
The Swiss has an amazing, nutty flavor.
<<else>>
<</if>>
Boy, this is one good sandwich!
[["I think I hear someone! Hey you, can you go get some help?"]]You take your third bite.
"I think I hear someone! Hey you, can you go to get some help? Hello? Can you hear us?" \
<<if $peanutbutter eq 1>>
The Peanut Butter adds a whole new level of creaminess!
<<else>>
<</if>>
This is the best thing I've ever made!
[["Oh god, the smoke's building up!"]]You take your fourth bite.
"Oh god, the smoke's building up! We're having trouble breathing!" \
<<if $jelly eq 1>>
The sweet, sweet jelly oozes into your mouth.
<<else>>
<</if>>
Man, there's nothing in the world that's as amazing as this sandwich!
[["Holy... That wall's on fire!"]]You take your fifth bite.
"Holy... That wall's on fire! Sweetie, back away, come over here! Can anyone, anyone at all please help?" \
<<if $meatfloss eq 1>>
The texture of the meat floss greatly adds to the sandwich.
<<else>>
<</if>>
Mmmmm... Sandwich!
[["Oh no, the roof is caving in!"]]You take your sixth bite.
"Oh no, the roof is caving in! God above, please, save us!" \
<<if $pimentocheese eq 1>>
The complexity of the pimento cheese doesn't detract from the rest of the sandwich at all.
<<else>>
<</if>>
This sandwich is my life!
[["Close your eyes, ok sweetie?"]]You pop the last bite of the sandwich into your mouth.
"Close your eyes, ok sweetie? We're both right here, ok? Just close your eyes. It'll all be over soon."
A blast of smoke hits your face.
Mmm, that sandwich was so good... Hey, what if I made a sandwich with smoky barbecue?
The end. <<emptyInv>>
Another?
[[I Love Sandwiches!]]
<<set $ham to 0>>
<<set $swiss to 0>>
<<set $peanutbutter to 0>>
<<set $jelly to 0>>
<<set $meatfloss to 0>>
<<set $pimentocheese to 0>>