Project

General

Profile

Feature #802768

Extra remove cause "Enter"

Added by Marko Lindqvist 3 months ago. Updated 20 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

From Bug #780730:
"There wasa semantical messup in what a hut is. In the patch attached (designed for 3.0) the huts are more or less clearly defined as extras with not appear but remove cause, the new cause ERM_ENTER."

History

#1 Updated by Alexandro Ignatiev 20 days ago

I write it here because it's the next thing to consider with these extras. The actual problem with the huts is that AI and autoexplore treat them in a fixed way while the effect is written on Lua and can be anything, maybe some huts should be avoided until something. There is, in fact, just two constants in the code regulating the desire to enter. Also, maybe in 3.1 we should change the callback from hut_enter to a generic extra_remove (like cutting woods in Civ3 that bring shields).

Also available in: Atom PDF