GI JOE RPG Launch
  1. #1

    How to add data in extensions

    Hi

    I'm experimenting trying to learn how to create an extension. I'm completely new and clueless to this, so it's a struggle.

    I would like my extension to come with some items included. Is that possible, or do I need to use a module for adding data, and an extension for the new functionality separately?

    I tried exporting a module with an item, then took the db.xml and renamed it to items.xml and used an includefile that brought it into the extension.
    I'm not getting any errors, but I'm also not seeing the items I exported so I assume that either the format is different when an extension or maybe it's not possible to include data at all?

    If it is possible, could anyone share a sample of the includecommand for the extension and the format of the xml file containing the items?

    Thank you

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,528
    <includefile> is only used for XML GUI/window/control definitions not data. Data is stored in a module. You'll need both an extension and a module.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  3. #3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in