ecoCreature

ecoCreature

81.5k Downloads

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

tuckerandlexus opened this issue ยท 1 comments

commented

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.

commented

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.