Skip to content

I want to make a story of my own

Rickard Edén edited this page Nov 4, 2024 · 4 revisions

You can!

Some python skills are required to make a story with a plot and progress. To find some example, check:

The original 'Tale' story 'zed_is_me', in the stories folder. It has a number of steps to complete before the story is finished.

'prancingllama', by myself. Not really a story, but it has a number of 'quests' you can complete and npcs to interact with.

Both have examples of how you can 'script' things together.

Images for avatars

If you would like to make avatars for the NPCs, place the images in a resources folder inside the story folder. Name each file the same as the npc, but in lower case letters, and replace ' ' with '_'. Then define custom_resources = True in the story_config

Day and night cycle

All stories extending JsonStory have the option of day and night cycles. Set day_night = true in the StoryConfig The story will now have self.day_cycle object which can have observers (listeners) for when the time of day changes (dawn, day, dusk, night, midnight)

Custom items and wearables

You can define items and wearables in the catalogue object in world.json. See how other items are defined in the items folder.