i have a effect with
[effect_why_won_t_this_work]
type = "Irrigation_Pct"
amount = 100
reqs = {"type","name","range","present"
"Extra","Farmland","Tile",TRUE
}
and for some reason it doesn't show on the help neither does increase the food production, i know it isn't my file not being included as i have another effect in the same file which works, for some reason using the Output_Add_Tile works and increases the production but it doesn't show on the help so i wanted to have the irrigation_pct effect to work i am on the latest master, i have all tiles on 1 on the respective incr property,
you can test my ruleset here but it needs to build freeciv from source from the latest commit, just to be sure, but the incr property is how much it increases by and not the final value?
https://github.com/dark-ether/freeciv-fantasy-ruleset
what can cause the game to ignore a mining/irrigation_pct effect?
-
- Posts: 22
- Joined: Sat Mar 05, 2022 6:41 pm
Re: what can cause the game to ignore a mining/irrigation_pct effect?
This should be "value".
Run the server with --warnings commandline parameter. Your ruleset gives a bunch of other "unused entry" warnings in addition to this "amount" one,
-
- Posts: 22
- Joined: Sat Mar 05, 2022 6:41 pm
Re: what can cause the game to ignore a mining/irrigation_pct effect?
wait a minute for some effects it is value and for other it is amount? i hope you can see how that could be confusing, how can i know which use value and which use amount?
Re: what can cause the game to ignore a mining/irrigation_pct effect?
No, it's "value". I don't know where you got that "amount" from.eldritch_cookie wrote: ↑Thu Jul 14, 2022 8:33 pmwait a minute for some effects it is value and for other it is amount? i hope you can see how that could be confusing, how can i know which use value and which use amount?
-
- Posts: 22
- Joined: Sat Mar 05, 2022 6:41 pm
Re: what can cause the game to ignore a mining/irrigation_pct effect?
i was using amount for all, and it worked for Output_Add_Tile so i thought it was value for some and for others amount, why does it work for Output_add_tile? i got amount because in some it says "by amount"cazfi wrote: ↑Fri Jul 15, 2022 2:08 amNo, it's "value". I don't know where you got that "amount" from.eldritch_cookie wrote: ↑Thu Jul 14, 2022 8:33 pmwait a minute for some effects it is value and for other it is amount? i hope you can see how that could be confusing, how can i know which use value and which use amount?
Re: what can cause the game to ignore a mining/irrigation_pct effect?
I can take a look at what actually happens. Is that specific effect in the ruleset now?
Re: what can cause the game to ignore a mining/irrigation_pct effect?
Maybe rename the rulesetdir to something else than "fantasy". The old fantasy ruleset is not available for freeciv master at the moment, but if it gets updated, there would be a conflict, and anyway using the same name can cause confusion + old savegames working funny (unless you ruleset is savegame compatible with old fantasy)eldritch_cookie wrote: ↑Thu Jul 14, 2022 3:53 pm https://github.com/dark-ether/freeciv-fantasy-ruleset