[modpack] journal [journal]

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

[modpack] journal [journal]

by theFox » Post

Do you want to add story to your game?
Make your protagonist write notes into his Journal.


Image
A minetest mod that adds a journal the player will write into.

Mods can add story into the game and the player can write his own journal. The journal can be accessed from the inventory and via /journal.
Spoiler
Image
Image
view in ContentDB
browse on github
view the wiki on github


Dependencies: none
Optional dependency: modutil
Compatible with: sfinv, svinv_buttons, unified_inventory, betterinv

License: MIT
Last edited by theFox on Sun Mar 29, 2020 09:41, edited 14 times in total.
my mods and subgames (ง'̀-'́)ง

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [mod] journal [journal]

by Grizzly Adam » Post

I see you have categories, does this mean I can use it to track multiple things? Like oil change records and tool purchase/warranty information?
Check out my Mods: BBQ Mod Crops Plus

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: [mod] journal [journal]

by TechNolaByte » Post

Hmm I wonder, is there a way to modify this to be sort of like a check book/to do list for a subgame? perhaps a check box per entry or an auto detect api?
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

RSLRedstonier wrote:Hmm I wonder, is there a way to modify this to be sort of like a check book/to do list for a subgame? perhaps a check box per entry or an auto detect api?
That's what I want it to be like.
But with story instead of checkboxes.
Like: "today I found my first wood I should chop some more trees so I can craft enough planks to build a house"
my mods and subgames (ง'̀-'́)ง

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

Grizzly Adam wrote:I see you have categories, does this mean I can use it to track multiple things? Like oil change records and tool purchase/warranty information?
More like one for each mod or one for each or one for each piece of story.
my mods and subgames (ง'̀-'́)ง

User avatar
Wolfshippie
Member
Posts: 116
Joined: Mon Jul 24, 2017 12:37
GitHub: Wolfshippie
IRC: wolfshippie
In-game: wolfshippie minehippie
Location: Franconia, Bavaria, Germany
Contact:

Re: [mod] journal [journal]

by Wolfshippie » Post

Looks great! :)

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

There is an example now.
Next up will be the detection api...
my mods and subgames (ง'̀-'́)ง

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] journal [journal]

by azekill_DIABLO » Post

I love the look!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

azekill_DIABLO wrote:I love the look!
I have got the idea from terasology which I played before Minetest.
my mods and subgames (ง'̀-'́)ง

User avatar
Codesound
Member
Posts: 365
Joined: Thu Jun 09, 2016 14:56

Re: [mod] journal [journal]

by Codesound » Post

+1

Another useful mod!!!

Thanks a lot for your work....

R

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

here we go, finished the trigger/detection api...
I will now release this mod.
my mods and subgames (ง'̀-'́)ง

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: [mod] journal [journal]

by TechNolaByte » Post

theFox wrote:here we go, finished the trigger/detection api...
I will now release this mod.
Amazing! so much better than what I was using before for skyfactory achievements!
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: [mod] journal [journal]

by TechNolaByte » Post

2 things how would I add a trigger for testing if the player mines a block which a certain tool in hand?
and a trigger where the player right clicks with an item, punches a certain block with a certain item, or right clicks a certain block with a certain item
and a trigger were the player picks up a certain item
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

RSLRedstonier wrote:a trigger for testing if the player mines a block which a certain tool in hand
RSLRedstonier wrote:punches a certain block with a certain item

done that

RSLRedstonier wrote:trigger where the player right clicks with an item
RSLRedstonier wrote:a trigger were the player picks up a certain item

this would require a change in minetest since there are no register_on_rightclick or register_on_pickup functions
my mods and subgames (ง'̀-'́)ง

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: [mod] journal [journal]

by TechNolaByte » Post

perhaps a item drop/pickup mod would have an on_pickup function?
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: [mod] journal [journal]

by TechNolaByte » Post

theFox wrote:
RSLRedstonier wrote:a trigger for testing if the player mines a block which a certain tool in hand
RSLRedstonier wrote:punches a certain block with a certain item

done that
how to I test for that?
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

RSLRedstonier wrote:
theFox wrote:
RSLRedstonier wrote:a trigger for testing if the player mines a block which a certain tool in hand
RSLRedstonier wrote:punches a certain block with a certain item

done that
how to I test for that?
The data has a New tool field that shows you what the player wielded. And the trigger for punching is called "punchnode".
my mods and subgames (ง'̀-'́)ง

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [mod] journal [journal]

by TumeniNodes » Post

Love it.
I love the lined paper added
I especially love the "exit" button... wish that would be added to all formspecs
A Wonderful World

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

RSLRedstonier wrote:2 things how would I add a trigger for testing if the player mines a block which a certain tool in hand?
and a trigger where the player right clicks with an item, punches a certain block with a certain item, or right clicks a certain block with a certain item
and a trigger were the player picks up a certain item
Could you please take a look at the feature request for those triggers?
my mods and subgames (ง'̀-'́)ง

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [mod] journal [journal]

by theFox » Post

Added a personal notes section that you can write ingame
my mods and subgames (ง'̀-'́)ง

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [modpack] journal [journal]

by theFox » Post

Should it be possible to write the personal notes to a book?
my mods and subgames (ง'̀-'́)ง

User avatar
Wolfshippie
Member
Posts: 116
Joined: Mon Jul 24, 2017 12:37
GitHub: Wolfshippie
IRC: wolfshippie
In-game: wolfshippie minehippie
Location: Franconia, Bavaria, Germany
Contact:

Re: [modpack] journal [journal]

by Wolfshippie » Post

Yeah, would be cool :)

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [modpack] journal [journal]

by theFox » Post

Wolfshippie wrote:Yeah, would be cool :)
OK, I'll make a form for it as soon as possible.
my mods and subgames (ง'̀-'́)ง

User avatar
theFox
Member
Posts: 192
Joined: Sun Feb 12, 2017 14:08
GitHub: theFox6
In-game: theFox
Location: Germany

Re: [modpack] journal [journal]

by theFox » Post

Done!
my mods and subgames (ง'̀-'́)ง

casio33
Member
Posts: 50
Joined: Sun Jan 17, 2016 08:36

Re: [modpack] journal [journal]

by casio33 » Post

This is awesome!

But I have a problem: The journal starts on day 1497919497... what can I do about that?

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests