Skip to content

Instantly share code, notes, and snippets.

@amiantos
Created September 1, 2019 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amiantos/2e22c0ca71d4d070051de154cb9d22f7 to your computer and use it in GitHub Desktop.
Save amiantos/2e22c0ca71d4d070051de154cb9d22f7 to your computer and use it in GitHub Desktop.
Example of BRGamebookEngine JSON export
{
"website" : "https:\/\/amiantos.net",
"name" : "Fluid Nightmare",
"about" : "When you’ve drank too much water right before going to bed, you’re bound to have a... fluid nightmare!",
"uuid" : "83C2C958-CC37-469D-944B-B502B2197523",
"license" : "Creative Commons Attribution 4.0 International License",
"font" : "serif",
"pages" : [
{
"uuid" : "F89E7BFA-6FC7-4FDB-BB55-3B569A397DC3",
"decisions" : [
{
"content" : "I better wake up!",
"match_style" : "match_all",
"uuid" : "E0D4716C-BEED-4C76-9EF2-629D2EF203FB",
"rules" : [
],
"destination_uuid" : "9FE3CF3B-6724-44BB-906A-7976B14756CE"
}
],
"content" : "You’re having a nightmare! In it, you’re peeing all over your friends and family. You don’t want to do it, you just have to go _so badly_!",
"type" : "first",
"consequences" : [
{
"type" : "set",
"amount" : 50,
"uuid" : "0110F07D-018E-4E24-92DD-936316ECC316",
"attribute_uuid" : "DC0F83A5-3391-4C60-B989-9DCD58339B0E"
}
]
},
{
"decisions" : [
{
"uuid" : "1B41BC5B-1C95-472D-848B-FA2861D2FF32",
"rules" : [
],
"content" : "Go back to sleep",
"destination_uuid" : "43FFA51C-88B3-4E7C-B390-67D41F9952BC",
"match_style" : "match_all"
},
{
"match_style" : "match_all",
"uuid" : "6A5CF725-BE8F-4CD0-AA0B-305C79414374",
"destination_uuid" : "D88D0D93-C6E5-4E50-93BA-C0451841D899",
"content" : "Go pee",
"rules" : [
{
"value" : 0,
"attribute_uuid" : "DC0F83A5-3391-4C60-B989-9DCD58339B0E",
"type" : "greater_than",
"uuid" : "270C9899-2D12-4A96-A41F-41A8F374D23C"
}
]
}
],
"content" : "Now you’re awake, but what should you do?",
"uuid" : "9FE3CF3B-6724-44BB-906A-7976B14756CE",
"type" : ""
},
{
"uuid" : "43FFA51C-88B3-4E7C-B390-67D41F9952BC",
"type" : "",
"decisions" : [
{
"destination_uuid" : "DB5D6D11-8D26-4EF6-80A4-13D2BFFAC9B8",
"rules" : [
{
"type" : "greater_than",
"value" : 49,
"uuid" : "56D13725-D32C-46B9-9106-BEAFB1DE8E53",
"attribute_uuid" : "DC0F83A5-3391-4C60-B989-9DCD58339B0E"
}
],
"uuid" : "589C6662-88D3-4F8B-AC9D-93822C30A94D",
"match_style" : "match_all",
"content" : "What could it be?!"
},
{
"destination_uuid" : "36EABE1C-DAEA-4280-81D8-EB68A1C191A3",
"rules" : [
{
"uuid" : "14F6A602-3A6C-4A35-8375-E3D5A621E17C",
"value" : 0,
"attribute_uuid" : "DC0F83A5-3391-4C60-B989-9DCD58339B0E",
"type" : "equal"
}
],
"uuid" : "6E853B99-07A7-4C38-971A-F09CFB6F1D34",
"match_style" : "match_all",
"content" : "What could it be?!"
},
{
"destination_uuid" : "E26F5C44-2C59-42FE-A9AD-39EC4316D671",
"content" : "What could it be?!",
"uuid" : "C7441F72-144E-4197-B00B-BFDE4892D221",
"match_style" : "match_all",
"rules" : [
{
"value" : 25,
"type" : "equal",
"attribute_uuid" : "DC0F83A5-3391-4C60-B989-9DCD58339B0E",
"uuid" : "C0028B19-7154-4797-A886-72B8FA7CC95F"
},
{
"uuid" : "756D6AB7-A0DC-4F56-9079-C9338EC59E8A",
"value" : 0,
"type" : "equal"
}
]
}
],
"content" : "At first you snooze peacefully, but then something happens... 😴"
},
{
"decisions" : [
{
"match_style" : "match_all",
"content" : "Time to snooze",
"destination_uuid" : "43FFA51C-88B3-4E7C-B390-67D41F9952BC",
"rules" : [
],
"uuid" : "9316047B-5193-4967-82C3-5B5C1D7AB168"
}
],
"type" : "",
"content" : "You go have a nice big pee, then head off to bed",
"uuid" : "D88D0D93-C6E5-4E50-93BA-C0451841D899",
"consequences" : [
{
"uuid" : "F77D87A6-B0EB-4282-BF52-D51ED2E41406",
"type" : "subtract",
"amount" : 25,
"attribute_uuid" : "DC0F83A5-3391-4C60-B989-9DCD58339B0E"
}
]
},
{
"decisions" : [
{
"match_style" : "match_all",
"rules" : [
],
"uuid" : "B6B5A542-2FC7-47F7-BFC0-F46BF633931A",
"destination_uuid" : "9FE3CF3B-6724-44BB-906A-7976B14756CE",
"content" : "Damn, I better wake up!"
}
],
"type" : "",
"uuid" : "DB5D6D11-8D26-4EF6-80A4-13D2BFFAC9B8",
"content" : "You’re having _another_ nightmare! In this one you’re floating in a vast ocean, no land in sight, but you feel pleasantly warm, like your bottom have is being bathed in a warm current. In fact, your bottom half feels strangely wet!"
},
{
"content" : "In this dream, you’re crushing it. You’re a big shot, you’re the star. When you walk down the street, the most beautiful people writhe with pleasure, and everyone else drops to their knees in worship. You made it, you finally made it.\n\nCongrats! You didn’t wet the bed.\n\n_**THE END**_",
"type" : "",
"uuid" : "36EABE1C-DAEA-4280-81D8-EB68A1C191A3"
},
{
"decisions" : [
{
"uuid" : "9E8AFC9A-F4BD-4412-B3BA-A73C14AC7A35",
"content" : "Damn, I better wake up!",
"destination_uuid" : "9FE3CF3B-6724-44BB-906A-7976B14756CE",
"match_style" : "match_all",
"rules" : [
]
}
],
"content" : "You’re having _another_ nightmare! In this one you’re lying in bed next to your partner, sharing an intimate moment. At the moment you’re about to climax, you feel a warming sensation down there like you’ve never felt before. In fact, it’s so intense that you’re starting to get worried. Oh, god! It’s _burning_!",
"type" : "",
"uuid" : "E26F5C44-2C59-42FE-A9AD-39EC4316D671"
}
],
"attributes" : [
{
"uuid" : "DC0F83A5-3391-4C60-B989-9DCD58339B0E",
"name" : "pee"
}
],
"author" : "Brad Root"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment