Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #920427

open

Handle both Frighten and Enter huts on the same tile

Added by Sveinung Kvilhaugsvik over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Marko Lindqvist wrote in Feature #919139:

Does this work correctly with multiple hut kind of extras in the same tile? Having separate actions for entering hut and frightening one makes it even possible that there's a hut in the tile that should be entered and another hut that should be frightened. I think you currently guard against that by retaining the unit property of hut_behavior (same unit cannot have both enterable and frightenable huts), but something to keep in mind for the future?

My current goal for 3.1 is to get to a point where hut_behavior is replaced by a single unit class flag "Frighten". This guard against a unit entering a tile where some huts will be entered and others frightened.

One possible solution is to use Feature #920423 and Feature #920424. So "Enter Hut" enters huts, moves to the tile and is forced to perform "Frighten Hut".


Related issues

Related to Freeciv - Feature #920423: Own tile targeted hut entry and frightening NewSveinung Kvilhaugsvik

Actions
Related to Freeciv - Feature #920424: Unit moved to tile action auto performerNew

Actions
Related to Freeciv - Feature #919139: Action enabler controlled hut poppingClosedSveinung Kvilhaugsvik

Actions
Related to Freeciv - Feature #923073: Replace hut_behavior with HutFrightenClosedSveinung Kvilhaugsvik

Actions
Actions #1

Updated by Sveinung Kvilhaugsvik over 1 year ago

  • Related to Feature #920423: Own tile targeted hut entry and frightening added
Actions #2

Updated by Sveinung Kvilhaugsvik over 1 year ago

  • Related to Feature #920424: Unit moved to tile action auto performer added
Actions #3

Updated by Sveinung Kvilhaugsvik over 1 year ago

Actions #5

Updated by Sveinung Kvilhaugsvik over 1 year ago

Actions #6

Updated by Sveinung Kvilhaugsvik over 1 year ago

Hrm Feature #923073, the sanity check that an action can't both enter and frighten a hut at once added in https://osdn.net/projects/freeciv/ticket/41610 and the same for the Lua API added in https://osdn.net/projects/freeciv/ticket/41791 serves as anchors that should be pulled when frightening and entering a hut at the same tile is supported.

Also available in: Atom PDF