Special buildings - primary skill

hi guys,

i was wondering if it was possible to create a building in a town which gives a primary skill to your hero, like hall of valhalla in stronghold. A tried to extract the code of the buildings from the original game, but i couldn’t get it… :frowning:

I would appreciate any help :slight_smile:



Special buildings can’t be configured yet unfortunatelly :frowning:

Thanks for the quick response :slight_smile: I knew special buildings cant be configured yet, but i thought these kind of buildings dont count as special (it just gives one thing). But thanks, i’ll stop trying to make it work

They work as specials. If you can look in jsons in config/factions folders and study files - you’ll get all specials buildings in every town (marked as “special1” - “special4”).

But then why can you do buildings which produce gold or resources per day? That falls under specials too

Some features are implemented in vcmi, some are not. Producing gold and resources are implemented, other features are marked as… to do features :slight_smile: https://wiki.vcmi.eu/Building_bonuses

Thanks for clearing things up for me, i misunderstood some things :confused: