MantisBT - VCMI
View Issue Details
0001734VCMIMechanics - Town structurespublic2014-03-01 23:152022-04-12 09:17
FrostyMuadDib 
SXX 
normalminoralways
closedfixed 
 
0.98e 
0001734: City Hall/Capitol can be built if Tavern is unavailable for the town
Noticed this in Foolhardy Waywardness campaign, first scenario. The stronghold town you capture has build Town Hall, and disabled Tavern, but City Hall and Capitol can be build despite the fact that Tavern is disabled (in original HoMM3 you can't build them when you don't have tavern). I reproduced that with all original Heroes 3 towns.
YOu need a town with build town hall and disabled Tavern.
No tags attached.
related to 0001712closed Ivan Tests for possibility of building a structure should be recursive 
related to 0002321new  If any building dependency is disabled then building should be considered disabled too  
Issue History
2014-03-01 23:15FrostyMuadDibNew Issue
2014-03-02 11:09IvanAssigned To => Ivan
2014-03-02 11:09IvanStatusnew => assigned
2014-03-02 11:09IvanStatusassigned => confirmed
2014-03-02 11:10IvanRelationship addedrelated to 0001712
2015-10-28 05:22SXXNote Added: 0006059
2015-10-28 05:24SXXNote Edited: 0006059bug_revision_view_page.php?bugnote_id=6059#r3012
2015-10-31 23:05AVSNote Added: 0006069
2015-10-31 23:06AVSAssigned ToIvan => SXX
2015-10-31 23:06AVSStatusconfirmed => assigned
2015-10-31 23:06AVSStatusassigned => confirmed
2015-11-01 01:17SXXStatusconfirmed => resolved
2015-11-01 01:17SXXFixed in Version => 0.98e
2015-11-01 01:17SXXResolutionopen => fixed
2015-11-01 01:24SXXRelationship addedrelated to 0002321
2022-04-12 09:17PovelitelStatusresolved => closed

Notes
(0006059)
SXX   
2015-10-28 05:22   
(edited on: 2015-10-28 05:24)
This one is fixed now (you won't be able to build City Hall if tavern disabled), but there still some improvement needed:
 - H3 show building as disabled if one of it's dependencies (e.g Tavern) is disabled.
 - VCMI just keep showing that building is required even if it's disabled.
Though this don't change anything gameplay-wise.

(0006069)
AVS   
2015-10-31 23:05   
Then you should resolve this and open new ticket for improvements.