law_bonus bonus -1 = law_bonus bonus 0
law_bonus bonus -1 = law_bonus bonus 0
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?
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.
Last edited by ekdqn; September 05, 2014 at 06:29 AM.
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.
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.
Last edited by ekdqn; September 05, 2014 at 08:13 AM.
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
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.
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.)