mung3r / ecoCreature

PvM/E Rewards
http://forums.bukkit.org/threads/29538
GNU Lesser General Public License v3.0
7 stars 12 forks source link

This is an Inquiry on adding more books like Journal of a Zombie #141

Closed tuckerandlexus closed 10 years ago

tuckerandlexus commented 10 years ago

Hi there, this isn't exactly an issue, but more of a question regarding Eco Creatures. I was wondering if this plugin is capable of creating more books like, "Journal of a Zombie?" If so, is there a place to find out how? I checked your forum section and it is inactive. I tried to add another book in the config file, but it gave me errors in the console. Thank you.

mung3r commented 10 years ago

Apologies for the late reply. To add a custom book drop, you just need the 'item' keyword under Drops. Here's an example:

RewardTable:
  Zombie:
    Drops:
      - item: 'written book:1-1:100'
        title: 'My Custom Title'
        author: 'My Custom Author'
        pages:
        - 'My page 1'
        - 'My page 2'
        - 'My page 3'

As with anything YML-based, indentation is important. Also, liberal use of single quotes around text items is a good thing to do as well.