Editing the encyclopaedia in the help section

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Neilarmius
Posts: 82
Joined: May 14th, 2007, 1:16 am

Editing the encyclopaedia in the help section

Post by Neilarmius »

I am trying to edit the content of the encyclopedia in the help section. The syntax seems straightforward but any changes that try to create a new topic cause the entire help section to go blank. For example in \data\core\encyclopedia\geography.cfg; I change..

Code: Select all

[section]
    id=geography
    title= _ "Geography"
    topics=..geography,great_ocean,morogor,green_isle,old_continent,great_continent,irdya,kingdom_wesnoth,elensefar,northlands,far_north,heart_mountains,arkan_thoria,southwest_elven_lands
    sort_topics=yes
[/section]
to

Code: Select all

[section]
    id=geography
    title= _ "Geography"
    topics=..geography,great_ocean,morogor,green_isle,old_continent,great_continent,irdya,kingdom_wesnoth,elensefar,northlands,far_north,heart_mountains,arkan_thoria,southwest_elven_lands,blahblah_magicland
    sort_topics=yes
[/section]
and add in..

Code: Select all

[topic]
    id=blahblah_magicland
    title= _ "Blahblah Magicland"
    text= _ "This land is magic. Blah."
[/topic]
and the result will be a blank help section. Changes to existing text fields work fine. I am using version 1.9.14.
Post Reply