How to use 'bonuses.quiet' properly?

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
VulcanScout
Posts: 7
Joined: Tue Nov 19, 2019 7:50 am

How to use 'bonuses.quiet' properly?

Post by VulcanScout »

Hi,
see the issue from the subject line. It is not documented in the help wiki,
https://freeciv.fandom.com/wiki/Editing ... pe_Bonuses

In the units documentation, each unit is listed - more than once:
Screenshot (33)_help.png
Screenshot (33)_help.png (144.23 KiB) Viewed 426 times
* 200% defense bonus if attacked by Biplane Fighter, Fighter Plane, Dive Bomber, Jet Fighter,
Attack Plane, Multi Role Attack Fighter, Tarnkappenjäger, MQ-I Predator, S3 Viking, Zeppelin Bomber,
Bomber, Long Range Bomber, Tarnkappenbomber, PC3 Orion, Helikopter, Night Stalker,
Attack Helicopter, AH-64, Standard Missile SAM, AGM 119 Hellfire, Cruise-Missile,
Hypersonic Missile, Nuklearrakete, Nuclear Rocket, oder Barbarian Helicopter.
Thanks :)
This leads me to another issue or question. Can the developer written help text appear before the autogenerated text?
cazfi
Elite
Posts: 3273
Joined: Tue Jan 29, 2013 6:54 pm

Re: How to use 'bonuses.quiet' properly?

Post by cazfi »

VulcanScout wrote: Wed Jan 08, 2025 4:41 amIt is not documented in the help wiki,
https://freeciv.fandom.com/wiki/Editing ... pe_Bonuses
Official (and version specific!) documentation is in the comments of supplied rulesets. About bonuses.quiet unit.ruleset says:

Code: Select all

; bonuses.quiet = don't auto generate help text for this bonus. Use this if
;                 the bonus is documented in the unit type's help text.
;                 This is useful when the combination of a unit's bonuses
;                 becomes complex enough to make the auto generated help
;                 ugly or inaccurate.
Are you saying it doesn't work as it should? If so, please open a bug ticket at https://redmine.freeciv.org/projects/freeciv/issues/new
Post Reply