The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Jin_Axl on August 06, 2007, 07:38:21 AM

Title: [HELP] A Beastiary + A Logbook.
Post by: Jin_Axl on August 06, 2007, 07:38:21 AM
Hi guys,
I have some problems finding myself these scripts 4 my project.

1> A Beastiary :
A book that stores infos about enemies I've defeated. ( It works exactly like a PokeDex in Pokemon series).
Name of enemies are modified as alphabetical.
The book divides into 2 sections:
+ Monsters
+ Bosses

And I can place the pictures of those, some lines of descriptions about those.

2> A Logbook :
Anytime I find a scroll ( of creating artifacts, potions ...) and read it, it will automatically be added into the Logbook, then the scroll disappear from the inventory.

Ex : A scroll that writes " In order to creat a Mythril Sword, you need an Iron Sword and a Mythril Ore"
I read it then the scroll disappear and in the Logbook will appear a line " Mythril Sword creating" which explains that " In order to ......... Mythril Ore"

The book divides into 3 sections :

+ Artifacts
+ Potions
+ Materials


I know these aren't easy at all, but I still need it ,though.
     
Title: Re: [HELP] A Beastiary + A Logbook.
Post by: modern algebra on August 06, 2007, 07:50:01 AM
I wrote a catalogue script here: http://rmrk.net/index.php/topic,18932.0.html

To make it do what you want it to, set up three groups in the specified area within the script, like this:

$catalogue.push ("Artifacts",[$data_items[<id of first recipe>],$data_items[<id of second recipe>],etc...])
(If you have all the recipes grouped together in the DB, for example id's 30,31,32,33,34,35,36 are all your recipes, a neat way of writing this is:
("Artifacts", $data_items[30,7])) 30 is the id of the first item, and 7 is total number of collective ids

Do the same for all groups you want. All the instructions are in the script. Put the recipe as the description of the item and it will show that description.
Title: Re: [HELP] A Beastiary + A Logbook.
Post by: Jin_Axl on August 06, 2007, 08:02:23 AM
what ?
It's you again ?
Wow you prove me great help, buddy  ;8
I will use this, as i may encounter some problems later, but I can ask you more.

Thz 101 times ^_^
Title: Re: [HELP] A Beastiary + A Logbook.
Post by: Jin_Axl on August 06, 2007, 08:16:09 AM
Uh ...oh ....
If I didn't misunderstand, then, in the Beastiary the monsters must be items and their descriptions , correct ?
But I want after I defeated an enemy ( Ex: a skeleton), how can its infos automatically added into the Beastiary ? And this will happen once-only per enemy ( Ex : I defeat skeleton 4 the first time and i had its infos, then the 2nd and later times i defeat him i won't gain more the "skeleton item" cuz i've already had it)
So be the scroll, too.

How will it work when in use ?
Title: Re: [HELP] A Beastiary + A Logbook.
Post by: modern algebra on August 06, 2007, 05:25:23 PM
Oh, no, it's not a bestiary script, though I suppose you could turn it into one if you were creative with events. Go to chaosproject.co.nr to find a bestiary script, I believe by Blizzard. Also, if you grabbed my script before about ten minutes ago, you'll need to replace it with the script I have up now. The other one had a bug.