How to define unmanned drone

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Wahazar
Elite
Posts: 338
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.
Augmented2 ruleset/modpack for freeciv2.6: viewtopic.php?f=11&t=91047

User avatar
Corbeau
Elite
Posts: 1093
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.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers, contains forum: http://longturn.net
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
* What Is Longturn?

Wahazar
Elite
Posts: 338
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)
Augmented2 ruleset/modpack for freeciv2.6: viewtopic.php?f=11&t=91047