×
Create a new article
Write your page title here:
We currently have 13 articles on Fleshcult Wiki. Type your article name above or create one of the articles listed here!



    Fleshcult Wiki

    Contents of a mod folder

    These files are optional unless otherwise noted. If you see a .html file, it's probably actually a Jinja template.


    • modname/
      • metadata.ini (REQUIRED)
        • Contains metadata about how the mod should be displayed and categorised

      • modname.css
        • This stylesheet gets loaded on every page when the mod is enabled.

      • __init__.py
      • template_blocks/
        • pagename_blockname_before.html
          • Some Jinja content to load before a particular block in a particular HTML page.
        • pagename_blockname_after.html
          • Some Jinja content to load after a particular block in a particular HTML page.

      • audio/
        • You can override stock audio files by putting replacements in here.


      • templates/
        • If you stick HTML files in here with the same name as ones in the real templates folder, they'll override the stock ones. Don't do this if there's another way to achieve your goal, because only one mod at a time can be the one that 'wins' the override.

          On the other hand, if you wanted to say, replace the macro that draws a meter, and you want all the other mods to use your new meter too, then it'd be appropriate to override meter.html


      • static/
        • If you stick CSS files with the same names as the stock CSS files, they'll override. Once again, please try to use the modname.css approach instead because it'll play nice with other mods.

        • img/
          • You can override the stock images, but the more flexible way to do it is to write CSS in your modname.css to set new images to the HTML elements.
    Making Mods
    How To

    Getting StartedDeveloper ModePython Tutorials

    Parts of a mod

    File HierarchyDialogue Editor

    Tech

    JinjaCSSPython

    Distribution

    Steam WorkshopWorkshop Content Policy

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Jackoekaki • 1 month ago
  • Jackoekaki • 2 months ago
  • Jackoekaki • 4 months ago
  • Jackoekaki • 5 months ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.