minus stats on export_descr_buildings.txt are not working

Thread: minus stats on export_descr_buildings.txt are not working

  1. ekdqn said:

    Default minus stats on export_descr_buildings.txt are not working

    law_bonus bonus -1 = law_bonus bonus 0
     
  2. RobertR said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    Uuuuummm....
    Someone correct me if I'm wrong, but I think only "1" and "0" are numbers used in those types of files. Meaning "true" and, "false" respectively. I'm not aware of there being any use for "-1". It might help if you were a little more specific in your query.


    Is this a serious question or are you just trolling again?
     
  3. Gigantus's Avatar

    Gigantus said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    You are mixing that up with other entries, eg the building\recruiting conditions like event_counter.

    A bonus can never BE negative - that said: a negative entry in EDB will REDUCE existing values in the concerned settlement.
    If there is nothing to reduce then the net effect will be zero.
    Last edited by Gigantus; September 04, 2014 at 11:54 PM.









     
  4. ekdqn said:

    Default Re: minus stats on export_descr_buildings.txt are not working



    Last edited by ekdqn; September 05, 2014 at 06:29 AM.
     
  5. Gigantus's Avatar

    Gigantus said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    In the first pic the building is available for building, in the second pic it is already build.
    And the question is?

    Hint: using full sentences (or marking only relevant parts of a picture) yields wonderful results where questions are concerned. Read my last sentence in the previous post, there is obviously no positive bonus before building this building.
    Last edited by Gigantus; September 05, 2014 at 06:18 AM.









     
  6. ekdqn said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    Quote Originally Posted by Gigantus View Post
    In the first pic the building is available for building, in the second pic it is already build.
    And the question is?

    Hint: using full sentences (or marking only relevant parts of a picture) yields wonderful results where questions are concerned. Read my last sentence in the previous post, there is obviously no positive bonus before building this building.
    i changed picture and the building have -15% bonus of happinese however there is no different with first and second picture's public order


    building govptolemaioi
    {
    religion rel_h
    levels ptolemaioiprec ptolemaioi2 ptolemaioi3 ptolemaioi4 ptolemaioi5 ptolemaioi6 ptolemaioi7
    {
    ptolemaioiprec city requires factions { f_ptolemaioi, } and not building_present_min_level govallied alliedstate
    {
    capability
    {
    happiness_bonus bonus -3
    }
    material stone
    construction 2
    cost 1200
    settlement_min village
    upgrades
    {
    ptolemaioi2
    ptolemaioi3
    ptolemaioi5

    happiness_bonus bonus -3 = happiness_bonus bonus 0
    Last edited by ekdqn; September 05, 2014 at 06:51 AM.
     
  7. Gigantus's Avatar

    Gigantus said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    Simply read my post #3 again, especially the BE and REDUCE part. Or build something that gives an order bonus. Both will show you that the negative bonus is working, just not not the way you thought it would.









     
  8. ekdqn said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    Quote Originally Posted by Gigantus View Post
    Simply read my post #3 again, especially the BE and REDUCE part. Or build something that gives an order bonus. Both will show you that the negative bonus is working, just not not the way you thought it would.
    what is your post #3? are you talking about happiness_bonus bonus -3 are removing happiness_bonus bonus 3? i know their removing
    but they are not still working
    Last edited by ekdqn; September 05, 2014 at 08:13 AM.
     
  9. Gigantus's Avatar

    Gigantus said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    For a negative bonus to have any effect you have to have a positive bonus to start with.
    You have no positive bonus in that settlement - only a base value. That means the negative bonus has no effect. If you would now create a building with a happiness bonus of 4 then the net effect will be 1.
    Again: there is no negative (cumulative) bonus only a reduction of present positive bonus.

    0 minus 3 = 0
    4 minus 3 = 1









     
  10. ekdqn said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    Quote Originally Posted by Gigantus View Post
    For a negative bonus to have any effect you have to have a positive bonus to start with.
    You have no positive bonus in that settlement - only a base value. That means the negative bonus has no effect. If you would now create a building with a happiness bonus of 4 then the net effect will be 1.
    Again: there is no negative (cumulative) bonus only a reduction of present positive bonus.

    0 minus 3 = 0
    4 minus 3 = 1
    i told you i know about that
    but they are not working without other bonus
     
  11. Gigantus's Avatar

    Gigantus said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    If you knew that they don't work without other bonus then I am starting to slowly agree with the other poster - because they never have and never will (without other bonus) - it's what I have been trying to tell you since my first post (and you obviously don't have a positive bonus in that settlement)
    Last edited by Gigantus; September 05, 2014 at 09:12 AM.









     
  12. ekdqn said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    Quote Originally Posted by Gigantus View Post
    If you knew that they don't work without other bonus then I am starting to slowly agree with the other poster - because they never have and never will (without other bonus) - it's what I have been trying to tell you since my first post (and you obviously don't have a positive bonus in that settlement)
    sorry i am not good at english
    i cant express so well
    by the by do you have solution for it?
     
  13. RobertR said:

    Default Re: minus stats on export_descr_buildings.txt are not working

    Is your end goal here to make a -3 happiness bonus for a building? Because it might be easier to make a +3 unrest "bonus" instead. That way you don't have to worry about anything defaulting to zero. (If I understand what Gigantus is saying correctly, think of a barrel of water with 2 gallons in it. If you try to take out 3 gallons you won't have -1 gallon, you'll have 0 gallons.)