Results 1 to 9 of 9

Thread: Building Traits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Cobi Wan Kenobi's Avatar Centenarius
    Join Date
    Aug 2007
    Location
    Virgin Islands
    Posts
    885

    Default Building Traits

    Hello, I have a few questions concerning the Building Traits I found in Docudemons:

    1. Could I replace the "stone" in: construction_cost_bonus_stone, with wood?

    2. How exactly does the "farming_level" work? I am making a character trait with an event counter that I want to give a bonus to farming in every city. I am also doing the same for mining, so I'm curious if I can just stick "bonus" in front of them like: mining_resource bonus 1 requires event_counter good_mine?

    I have made similar traits with law bonuses and I'm just trying to figure it all out. And as you probably guessed I'm trying to do the same with construction costs.

    Thanks in advance for any help.

  2. #2
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Building Traits

    construction_cost_bonus_wooden. I believe that it works (never tried it myself) despite being missing from a lot of capability/effect lists.

  3. #3
    Cobi Wan Kenobi's Avatar Centenarius
    Join Date
    Aug 2007
    Location
    Virgin Islands
    Posts
    885

    Default Re: Building Traits

    Thank you very much. That takes care of that. Now anyone know about the mining/farming question in the op?

  4. #4

    Default Re: Building Traits

    Just test it first before you add the event counters, with a large number, then test it with your script!


  5. #5
    Cobi Wan Kenobi's Avatar Centenarius
    Join Date
    Aug 2007
    Location
    Virgin Islands
    Posts
    885

    Default Re: Building Traits

    That would be just easy enough. Thanks danny

  6. #6
    Cobi Wan Kenobi's Avatar Centenarius
    Join Date
    Aug 2007
    Location
    Virgin Islands
    Posts
    885

    Default Re: Building Traits

    One more question concerning building traits, is there any way to increase the cost of construction? Ive only found construction bonus, but apparently if i make it a negative bonus it only negates the bonus not making construction more expensive.

  7. #7
    Cobi Wan Kenobi's Avatar Centenarius
    Join Date
    Aug 2007
    Location
    Virgin Islands
    Posts
    885

    Default Re: Building Traits

    The construction bonuses are not working. Can anyone please look at my script? Much appreciated
    EDB
    Spoiler Alert, click show to read: 
    happiness_bonus bonus 50 requires event_counter famous_victor_leader 1
    law_bonus bonus 50 requires event_counter good_disciplinarian 1
    law_bonus bonus -50 requires event_counter bad_disciplinarian 1
    recruits_exp_bonus bonus 2 requires event_counter good_disciplinarian_leader 1
    law_bonus bonus 50 requires event_counter good_administrator_leader 1
    trade_base_income_bonus bonus 50 requires event_counter good_administrator_leader 1
    construction_cost_bonus_stone bonus 50 requires event_counter good_administrator_leader 1
    construction_cost_bonus_wooden bonus 50 requires event_counter good_administrator_leader 1
    law_bonus bonus -50 requires event_counter bad_administrator_leader 1
    trade_base_income_bonus bonus -50 requires event_counter bad_administrator_leader 1
    construction_cost_bonus_stone bonus -50 requires event_counter bad_administrator_leader 1
    construction_cost_bonus_wooden bonus -50 requires event_counter bad_administrator_leader 1
    happiness_bonus bonus 50 requires event_counter good_diplomacy_leader 1
    happiness_bonus bonus -50 requires event_counter bad_diplomacy_leader 1


    campaign_script
    Spoiler Alert, click show to read: 
    monitor_event PreFactionTurnStart TrueCondition
    set_event_counter famous_victor_leader 0
    set_event_counter good_disciplinarian_leader 0
    set_event_counter bad_disciplinarian_leader 0
    set_event_counter harsh_justice_leader 0
    set_event_counter lenient_justice_leader 0
    set_event_counter harsh_ruler_leader 0
    set_event_counter kind_ruler_leader 0
    set_event_counter good_builder_leader 0
    set_event_counter bad_builder_leader 0
    set_event_counter good_farmer_leader 0
    set_event_counter good_miner_leader 0
    set_event_counter good_administrator_leader 0
    set_event_counter bad_administrator_leader 0
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait FamousVictorLeader > 0
    set_event_counter famous_victor_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait DisciplinarianLeader > 0
    set_event_counter good_disciplinarian_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait BadDisciplinarianLeader > 0
    set_event_counter bad_disciplinarian_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Harsh_Justice_Leader > 0
    set_event_counter harsh_justice_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Lenient_Justice_Leader > 0
    set_event_counter lenient_justice_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Harsh_Ruler_Leader > 0
    set_event_counter harsh_ruler_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Kind_Ruler_Leader > 0
    set_event_counter kind_ruler_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Good_Builder_Leader > 0
    set_event_counter good_builder_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Bad_Builder_Leader > 0
    set_event_counter bad_builder_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Good_Farmer_Leader > 0
    set_event_counter good_farmer_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Good_Miner_Leader > 0
    set_event_counter good_miner_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Good_Administrator_Leader > 0
    set_event_counter good_administrator_leader 1
    end_monitor
    monitor_event CharacterTurnStart IsFactionLeader
    and Trait Bad_Administrator_Leader > 0
    set_event_counter bad_administrator_leader 1
    end_monitor

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Building Traits

    Construction bonuses don't work anymore - they did work in RTW if I am not mistaken.










  9. #9
    Cobi Wan Kenobi's Avatar Centenarius
    Join Date
    Aug 2007
    Location
    Virgin Islands
    Posts
    885

    Default Re: Building Traits

    AHhhhh!!! Oh well. Thank you very much. I can stop testing it now. Do they work in the edct?

Posting Permissions

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