How to define unmanned drone

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Wahazar
Veteran
Posts: 57
Joined: Mon Jul 02, 2018 1:49 pm

How to define unmanned drone

Postby Wahazar » Wed Jul 04, 2018 6:55 pm

Is it possible, using existing rulesets format, to define drone unit, which doesn't make unhappy citizens when going out from the city?
There would be nice to have weak unit, which can be used for patrolling duty without all these revolts.

User avatar
Corbeau
Elite
Posts: 744
Joined: Mon Jan 13, 2014 11:13 pm

Re: How to define unmanned drone

Postby Corbeau » Wed Jul 04, 2018 7:11 pm

units.ruleset

For the particular unit:

uk_happy = 0

For military units it's usually 1, for Diplomats, Settlers etc. it's 0.

Wahazar
Veteran
Posts: 57
Joined: Mon Jul 02, 2018 1:49 pm

Re: How to define unmanned drone

Postby Wahazar » Thu Jul 05, 2018 10:22 am

Thank you for answer, I was fooled by this parameter name, though that it is for martial law (I expected something like uk_unhappy)