Results 1 to 4 of 4

Thread: traits and negative values

  1. #1
    BiggBudd's Avatar Sōkō no yari
    Join Date
    Feb 2006
    Posts
    1,190

    Default traits and negative values

    Is it possibly to "acquire" negative points towards a trait? or do they stop at 0?
    eg.
    Trigger SettlementExterminate_1
    WhenToTest ExterminatePopulation

    Condition not SettlementHasPlague
    and CharacterIsLocal
    and Trait supply > 1

    Affects supply -21 Chance 100
    ;------------------------------------------

    Trigger Supply_restart
    WhenToTest CharacterTurnEnd

    Condition CharacterIsLocal
    and Trait supply = 0

    Affects supply 1 Chance 100

    I wont to be able to fully resupply after a sack etc (supply = 1),
    And do trait points still keep adding after you reach max Threshold ?
    RNJ Mod Fan (Shogun 2-Rome BI)

    Get it here!http://www.twcenter.net/forums/showthread.php?t=519633

  2. #2
    Squid's Avatar Opifex
    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    15,688

    Default Re: traits and negative values

    Quote Originally Posted by BiggBudd View Post
    Is it possibly to "acquire" negative points towards a trait? or do they stop at 0?
    Not sure, but its kind of hard to figure out what you want to accomplish.
    eg.
    Trigger SettlementExterminate_1
    WhenToTest ExterminatePopulation

    Condition not SettlementHasPlague
    and CharacterIsLocal
    and Trait supply > 1

    Affects supply -21 Chance 100
    ;------------------------------------------

    Trigger Supply_restart
    WhenToTest CharacterTurnEnd

    Condition CharacterIsLocal
    and Trait supply = 0

    Affects supply 1 Chance 100

    I wont to be able to fully resupply after a sack etc (supply = 1),
    I rough guess but you'd be better off making the threshold for your first level 21. Also remember that in the condition its looking for the level of the trait not how many points have been gained in the trait.
    And do trait points still keep adding after you reach max Threshold ?
    Yes. The max threshold is just the highest level available, not the most points that can be gained. There's no known limit to points gained.


    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  3. #3
    BiggBudd's Avatar Sōkō no yari
    Join Date
    Feb 2006
    Posts
    1,190

    Default Re: traits and negative values

    To be clear, am using the supply trait that add 1 point per turn in enemylands. When the assault is finished the amount of supply you have acquired varies, depending how long you spent in enemy territory and besieging before successfully taking over settlement. I wont to be able to resupply that variable amount back to 1 point.
    RNJ Mod Fan (Shogun 2-Rome BI)

    Get it here!http://www.twcenter.net/forums/showthread.php?t=519633

  4. #4
    HouseOfHam's Avatar Baitai kihei
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,082

    Default Re: traits and negative values

    I'm pretty sure it's going to blow up if you try to go below 0.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

Thread Information

Users Browsing this Thread

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

Posting Permissions

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