
Lets you create a multi stage "Oregon Trail" type game with persistent resources and random events. Resources, stages, and events are defined in JSON format allowing for development without code.This template lets you create a roguelike game where the player is presented with random events. Each choice the player makes may have one or more possible results. The result randomly selected from the possible results can change persistent resources which will affect future events.A playable example of how such a game can work is available here:https://hamsteriv.itch.io/narrative-roguelike-demoIn addition to just a standalone scene, this template has features to open other scenes as combat/skill check encounters. If a developer wants to wrap existing game play within a narrative roguelike campaign structure, this template provides tools for that.The template was inspired by Oregon Trail and FTL, however it can be used for any type of game where there are resource counters that can be modified by multiple choice decisions.All event, resource, and stage objects are defined by Json files. As such a non programmer with a basic knowledge of the Unity editor can craft a whole game via Json Files.While the JSON files can be directly edited via your text editor of choice, there exists a separate GUI JSON editor. It is available for free download here:https://hamsteriv.itch.io/narrative-rougelite-editorThe designer needs to define three types of Json object:Resource - Defines the counters that maintain gamestate between encounters. All changes to resources are referenced by the resource key defined here.Stage - Defines a subsection of the plot. Has a user facing introduction text and specifies the types of Events that will be shown to the playerEvent - Defines events the stage randomly picks from for each round of user choices.In addition to the text interface, this package allows for the Json to specify keys for foreground and background images. The image needs to reference images stored in a provided image controller.My Youtube Channel will host tutorial videos on how to use this package:https://www.youtube.com/@HamsterIVJSON Parser.Nested Json components like: Events contain Options, Options contain Results, Results contain Resource Changes.Results can include a SceneName and SceneArgs that are used to open other scenes for combat or skill tests.A script has been provided for the other scenes to read the SceneArgs, and interact with Resources values in the other scenes.The main game has methods to save and load game state between decision rounds.A main menu interface to start new game or continue game.Narrative Stage swapping logic that can move the player through multiple stages of a story or implement multiple endings.A rubberbanding luck mechanic where positive encounters and results are made more likely if the player is behind on resources.An options menu that has Level Help, Inventory, and Options tabs.Resources can be used as an input parameter for skill checks. Where the chance of success is displayed on the option and calculated by checking a resource against a set range.