GithubHelp home page GithubHelp logo

aamulumi / rimworld-diary Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 716 KB

Rimworld mod to write, read and export colony's tales.

License: MIT License

C# 95.95% CSS 3.28% HTML 0.77%
rimworld rimworld-mod

rimworld-diary's Introduction

What's up y'all.

Here's a short haïku.

JS is life. JS is death. What the fuck is yield.

Another one.

Constrict me. Let me strong. But never vary.

Oh and ...

Bob Ross the bru

rimworld-diary's People

Contributors

aamulumi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rimworld-diary's Issues

Add autogenerated Grouped Log Entry

When #13 will be done only

Diary should compute some Grouped Log Entry based on logs with a similar context.
For example, 4 paws discussing in a kitchen could be grouped in a "Kitchen discussion" entry.

Exporting RTF now exports no entries

image

The thing is i have loaded a save file and then export because you just updated and i wanted to see how it is working.
So for me this happens right now is this what needs to happen ?
My settings are Prerender : ALL and Events : ALL

Add event's description

It would be nice to be able to record event's desc as well. For example:
[12h] Quest Available: Deserter
quest's description
[13h] Mad Muffalo
Seems like these muffalo are mad

Thank you for your patience!

Add more logs options and add logs in diary

I always wanted to write stories but this game writes the story for you.
Can we please import all chats that pawns had everyday this would be such a good addition to this diary mod.

RimWar compatibility

Hi! I am playing with RimWar and Diary together. If I leave the setting "log letters (events)" on, it logs hidden RimWar events as well, which there's a lot of. RimWar letters don't show up on the right, but in their own little window. It would be nice if you could make them not log into the diary. Thanks!
image
image
image

Entries disappeared after few days

Comment on Steam : "What could be the reason that the stories are dissapearing after few days? Using most popular perf optimizer mods." from JageriuS

Diary is breaking Designer Shape mod

Comment on Steam :

After today's update, designer shape mod was broken with this mod. sry for forgot to copy the error report. When i removed this mod, designer shape can work properly.

Add auto-export each day

Auto-export each day should export only the last day, but will works like the current export.

Error when exporting HTML with Progress Renderer

I am not sure if I am supposed to submit my issue here or elsewhere. I for some reason can't export an html file with pictures, it causes an error:
image
Here's PR's folder on the desktop:
image
Here's mod settings:
image
Here's what export generates (a proper html file, but pictures aren't there, seems like they do not export together with the file, no "img-0" etc in the vicinity of the html file):
image

Suggestion: Ability for Automatic/Periodic Export

It would be really helpful if there could be an option in the settings for all of the events of a day to be automatically exported on a regular basis (daily, every few days, etc. in game time) instead of having to manually export the logs/diary.

Wrong order of days in HTML file

I am incredibly sorry for opening so many issues and not letting you live your best life.
But here's a problem with exported file:
image

Dates are in wrong order. Before PR started creating pictures, diary had only text entries, and those seem to be in wrong order, even tho in the game they are correct.
image
image
image
etc

Is there something I'm missing?

Add notable events

Idea from morryatay on Steam

Notable events are events with specific parameters and conditions.

Example 1 : if the previous action of a pawn was hunting a rat and this pawn get hurt, something like "Jim hunted a rat and ended up in a critical condition" will be added to the diary.
Example 2 : "Raided by XXX faction - we lost 4 good people" when raided by XXX, raid finished and 4 paws died.

I have to take a look to the Rimworld event system to check how events are set to done, how I could get previous action before something happen, and how to write translations with custom parameters.

If this is feasible, we'll use something like this pattern to add a new notable event request :

## Conditions
- Pawn previous action was hunting
- Pawn faint

## Output parameters

- <animal_hunted> : animal targeted during pawn hunt

## Output

"Jim hunted <animal_hunted> and ended up in a critical condition"
"Jim tried to hunt <animal_hunted> but got hurt during a tough fight."

System will accept multiple outputs for a notable event to create a diversity in sentences written in Diary.
When there's multiple outputs, the system will choose one randomly.

Add a Grouped Log Entry

The purpose of the grouped log entry is to aggregate some entries into one.
The idea is proposed in this comment.

Examples:

- colonist ranged combat log entry X animal as target = hunting activity
- colonist any combat log entry X another human = duel
- several colonists combat log entries X several targets = shotout

It needs a rework of the data storage model, because the storage is currently a Dictionary<string, string> (see this line). Adding a proxy object before the string entry could solve easily the problem.

It also needs a refresh of the UI : we cannot manage Grouped Log Entry with a simple text area. Maybe we can replace the text area with a list of grouped entry and texts, but the UX will be sharper.
Maybe we can implement something like Code Folding in text editors which can solve the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.