I am in the process, between two bug hunts, to add a literacy skill to Rigale. The idea is to spawn really randomized scrolls as loot, and if the player can read them (literacy skill check involved), give the party various XPs.
Every thing is going fine so far. Book is defined by its subject ( from global XP scrolls, to specific skills XP scrolls, to global skill XPs, to specific item crafting XP scrolls), its size (time needed to read it), its complexity (how well written it is, and easy to read), and its interest (from futile to deeply interesting...)
With various literacy/skill tests, the player might gain some XPs.
However, to simulate the time it takes to read a book, I would like to remove food from every characters when the book is read (or prevent from reading if not enough food).
Any idea to simulate this ?
literacy skill and randomized scrolls of various knowledge
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
literacy skill and randomized scrolls of various knowledge
A trip of a thousand leagues starts with a step.
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: literacy skill and randomized scrolls of various knowled
The most natural way would be GameMode.advanceTime(amount) I believe.
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: literacy skill and randomized scrolls of various knowled
Of course, so simple, thanks for the info, I will give it a look.
A trip of a thousand leagues starts with a step.
Re: literacy skill and randomized scrolls of various knowled
That doesn't cost nutrition. In fact, it doesn't cost nutrition (or advance the time of day) for the party to stand in one place and wait, either; they have to move, attack, rest, etc.AndakRainor wrote:The most natural way would be GameMode.advanceTime(amount) I believe.
This is incredibly simple though because all you have to do is use Champion:consumeFood().
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: literacy skill and randomized scrolls of various knowled
Indeed, I have some custom permanent time advancement scripts I will need to check. They might be buggy, so food use is indeed for me a very simple way, and probably bug free, way to simulate the passing of time.
I will take a look at both.
I will take a look at both.
A trip of a thousand leagues starts with a step.
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: literacy skill and randomized scrolls of various knowled
Added both systems. Everythings work as intended, highly randomized and literacy skill relevant.
A trip of a thousand leagues starts with a step.