Freeciv
Forums: Index > Development > Move Bonus with Unit instead of UnitClass


I want to give my workers a bonus via

[effect_animal_husbandry]
name    = "Move_Bonus"
value   = 1
reqs    =
    { "type", "name", "range"
      "Tech", "Animal Husbandry", "Player"
      "Unit", "Workers", "Local"
    }

on account that with working animals they can do better. But suddenly all my units move faster.

Have I misconfigured something, is this a bug in freeciv-2.4.0-beta1, not yet implemented or just an unintended feature?


77.3.154.140 21:05, January 13, 2013 (UTC)


There's no requirement type "Unit". You should be getting warning about that while loading the ruleset (server-side, so running server separately is recommended for ruleset development). You mean "UnitType".

Cazfi (talk) 11:24, January 19, 2013 (UTC)


Thanks, right, with "UnitType" instead of (inexisting) "Unit" and undesired "UnitClass", it works now.

As soon as Crude Wheel is researched, my Workers and Settlers don't need to carry all their stuff on their own backs, but can use carts and working animals and thus move faster.

Many thanks from the workers council ;-)

93.132.175.59 20:24, January 19, 2013 (UTC)