Results 1 to 2 of 2

Thread: Added a culture building

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    smoesville's Avatar Vicarius
    Join Date
    Feb 2008
    Location
    Dublin, Ireland
    Posts
    2,803

    Default Added a culture building

    Right so i added a new culture building for the Rangers of the North (a faction i created) and now this error appears in the log:

    Code:
    22:19:58.234 [data.invalid] [error] Target building level not allowed: Dúnedain of the North, town -> wooden_castle, academic[0](alchemists_lab) -> castle_academic[0](library)
    22:19:58.234 [data.invalid] [error] Target building level not allowed: Dúnedain of the North, large_town -> castle, academic[0](alchemists_lab) -> castle_academic[0](library)
    It hasn't caused a crash yet but i'm afraid it will later on, so does anyone have any ideas about what it is or how to fix it?

    Below is the code i added into the EDB:

    Spoiler Alert, click show to read: 
    Code:
    building academic
    {
        convert_to castle_academic
        religion numenorian
        levels alchemists_lab alchemy_school
        {
            alchemists_lab city requires factions { hungary, }
            {
                convert_to 0
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 1
                }
                material wooden
                construction  2
                cost  1200 
                settlement_min town
                upgrades
                {
                    alchemy_school
                }
            }
            alchemy_school city requires factions { hungary, }
            {
                convert_to 1
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 2
                }
                material wooden
                construction  3
                cost  2500 
                settlement_min large_town
                upgrades
                {
                }
            }
            
        }
        plugins 
        {
        }
    }
    building castle_academic
    {
        convert_to academic
        religion numenorian
        levels library academy 
        {
            library castle requires factions { hungary, }
            {
                convert_to 0
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 1
                }
                material wooden
                construction  2
                cost  1200 
                settlement_min town
                upgrades
                {
            academy 
                }
            }
                academy castle requires factions { hungary, }
            {
                convert_to 1
                capability
                {
                    happiness_bonus bonus 1
                    religion_level bonus 2
                }
                material wooden
                construction  3
                cost  2500 
                settlement_min large_town
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }


    Any help would be much appreciated

    Also in the process of making the faction i used hungary which is the model used for east osgiliath on the stratmap so now i had to switch to poland (W osgiliath model). Anyone know how to fix it so it's not hungary?
    Last edited by smoesville; July 07, 2011 at 06:20 AM.
    Were there but a tree in this godforsaken place i would have hanged myself.

  2. #2
    Stylix's Avatar MOS Team Member
    Join Date
    Apr 2008
    Location
    Alabama, U.S.A.
    Posts
    2,263

    Default Re: Added a culture building

    @smoesville

    You might want to post this question in the Mod Workshop forum. I think that you will have a better chance of getting a reply there.
    MOS v1.6.2+ Bug fixer 30 Dec 2013

Posting Permissions

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