empserver/tests/load-tend/04-tend-POGO
Markus Armbruster 55643423f6 tend ltend: Fix to skip dead ships and land units for deities
Tending to a dead ship destroys, and tending from a dead ship revives.
Has always been that way.  Not actually a problem for ltend anymore,
because the dead can't carry or be carried since commit 64a53c90f0,
v4.3.17.

Fix by checking !own in addition to !player->owner

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-05 07:25:17 +01:00

18 lines
446 B
Text

||| General deity tend rules
|
| Can tend regardless of ownership
| except civilians still refuse to change allegiance
|
||| tend commodities
| #160 unowned, #164 neutral to #166: #164 works
tend m 160/164 1 166
tend f 166 1 160/164
| same for civilians doesn't work
tend c 160/164 1 166
tend c 166 1 160/164
|
||| tend lands
| #163 friendly, #164 neutral to #166: #163/164 work
tend land 163/164 313/314 166
| #160 unowned
tend land 162 312 160