1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00
Commit Graph

175 Commits

Author SHA1 Message Date
6056d385ed Always load json configs from mod that references it
This should fix rather common problem with mods, where two unrelated mods
accidentally use same file name for a config file, leading to very unclear
conflict since this result in a file override.

Now all config files referenced in mod.json are loaded specifically from
filesystem of mod that referenced it. In other words, it is no longer
possible for one mod to override config from another mod.

As a side effect, this allows mods to use shorter directory layout, e.g.
`config/modName/xxx.json` can now be safely replaced with `config/
xxx.json` without fear of broken mod if there is another mod with same
path to config. Similarly, now all mods can use `config/translation/
language.json` scheme for translation files

Since this is no longer a problem, I've also simplified directory layout
of our built-in 'vcmi' mod, by moving all files from `config/vcmi`
directory directly to `config` directory.

- Overrides for miscellaneous configs like mainmenu.json should works as
before
- Images / animations (png's or def's) work as before (and may still
result in confict)
- Rebalance mods work as before and can modify another mod via standard
`modName:objectName` syntax
2024-10-31 14:49:11 +00:00
0969871835 Merge branch 'develop' into mechanical_bonus 2024-10-31 15:14:51 +02:00
c1c9e2e4f0 Merge pull request #4820 from kdmcser/softDenpendency
add support for soft dependencies
2024-10-30 13:31:46 +02:00
db913d95e0 Merge pull request #4808 from Laserlicht/prism_breath
Bonus: prism breath
2024-10-28 12:29:41 +02:00
3b72594743 add support for soft dependencies 2024-10-26 19:15:12 +08:00
7ae5e2b406 Added support for daily income to flaggable objects 2024-10-25 19:01:00 +00:00
93096dc63c Updated documentation 2024-10-25 18:47:19 +00:00
53b7c5da6f added MECHANICAL bonus 2024-10-24 21:30:51 +02:00
0991f02282 Bonus: prism breath 2024-10-20 22:02:56 +02:00
c25aef8f48 Merge pull request #4766 from SoundSSGood/fused-artifacts
Fused artifacts
2024-10-16 15:08:20 +03:00
9a1f26883d Update documentation 2024-10-14 13:05:10 +00:00
d4d3ddf685 fused artifacts 2024-10-12 16:43:04 +03:00
c04fb60dc0 Updated docs 2024-10-06 19:44:32 +00:00
f816c3306b Merge pull request #4694 from Laserlicht/spell_cast_only_self
cast only on self
2024-10-01 17:20:20 +03:00
ffed9480e0 Merge pull request #4483 from vcmi/custom_objects_per_zone
Customizable objects in RMG zones
2024-10-01 14:58:35 +02:00
e6cb87abac cast only on self 2024-09-28 17:32:53 +02:00
138cbc6a81 scenario name for campaigns 2024-09-24 11:23:10 +02:00
3e0274fde6 Fix one caption in the source code 2024-09-22 19:37:15 +02:00
79c4d7d51f Merge remote-tracking branch 'origin/develop' into custom_objects_per_zone 2024-09-21 14:20:56 +02:00
cb96b9959e Merge pull request #4623 from Laserlicht/invincible_bonus
INVINCIBLE bonus
2024-09-20 11:50:29 +03:00
5e3630adae adjust texts 2024-09-19 20:57:43 +02:00
65355925e9 Merge pull request #4595 from Laserlicht/cast_without_skip
Bonus for spell: cast without skip the turn
2024-09-19 16:17:48 +03:00
b36c05df1d INVINCIBLE bonus 2024-09-19 03:14:45 +02:00
d0ac6458b9 Merge pull request #4609 from IvanSavenko/building_fixes
Building fixes
2024-09-17 17:50:49 +03:00
7c495ee1dd Add new translation file to CMakeLists.txt. Update docs. 2024-09-16 16:59:04 +00:00
1d7a89c79b Only visiting heroes can now activate manual rewardable buildings
- This is more clear - in case if building generates queries
- Avoids some edge cases, like what to do if building is single-use and
town has 2 heroes
- In line with hota version of this feature
2024-09-15 10:36:31 +00:00
0aaafc4c8a cast without skip 2024-09-14 15:10:24 +02:00
54e47c20b0 Add docs for new options 2024-09-14 13:20:24 +02:00
525ae72f8e Update documentation 2024-09-12 12:11:18 +00:00
a9c4683da6 Merge pull request #4566 from Laserlicht/outro_support
Campaign outro
2024-09-12 14:20:56 +03:00
d98c6f2e28 Merge pull request #4572 from Fabrice-TIERCELIN/french_update
Update the French translation
2024-09-12 14:16:27 +03:00
1fdbaf943f Update the French translation 2024-09-10 08:55:10 +02:00
258d298775 Merge branch 'develop' into outro_support 2024-09-09 23:09:44 +02:00
0df13040ec doc fix 2024-09-05 21:32:44 +02:00
6d9385b8bd outro for RoE 2024-09-05 21:31:17 +02:00
ff8d36c350 It is now possible to define game settings in rmg template 2024-09-05 15:16:28 +00:00
6179521364 Merge pull request #4556 from IvanSavenko/town_building_visit
Implemented explicitly visitable town buildings, e.g. hota mana vortex
2024-09-05 17:21:21 +03:00
327ff01471 Implemented explicitly visitable town buildings, e.g. hota mana vortex
Added flag `manualHeroVisit` flag to town building. If this flag is set,
then building will only be activated on click and will not give its
effect on hero recrutiment, hero visit, or new day.

This allows implementing changes to Mana Vortex from HotA
2024-09-03 16:31:07 +00:00
46872b764b integrate campaign intro 2024-08-31 17:57:27 +02:00
36914682a5 Merge branch 'develop' into chronicles_installer 2024-08-31 16:18:52 +02:00
16cbd6a7d2 allow custom loadbar-backgrounds for campaigns 2024-08-31 16:03:42 +02:00
36c1ed670f Support for configurable town fortifications
Removed most of hardcoded checks for fort level or for presence of fort/
citadel/castle buildings.

It is now possible to define which parts of town fortifications are
provided by town buildings

Configuration for H3-like fortifications is provided in
buildingsLibrary.json and will be used automatically by mods as long as
mods have buidings named "fort", "citadel" and "castle".

Alternatively, mods can separately define:
- hitpoints of walls (shared value for all sections)
- hitpoints of central, upper and lower towers (separate values)
- presence of moat
- shooters for each tower (separate values)
2024-08-28 19:42:14 +00:00
55fd7bd7aa Thieves guild information level is now a bonus type 2024-08-28 13:50:07 +00:00
8ef8ffa5c4 Implemented configurable blacksmith. Deprecated ballistaYard type 2024-08-28 13:49:42 +00:00
8371232d29 Merge pull request #4504 from Laserlicht/hota_bonus
disintegrate bonus
2024-08-28 14:00:11 +03:00
11e8b04ac5 Merge pull request #4463 from SoundSSGood/IMarket-refactoring
IMarket refactoring
2024-08-26 22:48:23 +03:00
0c5022cae8 Loading market modes from json 2024-08-24 11:51:57 +03:00
746bba0ade docs 2024-08-24 00:34:33 +02:00
ff33fbd3a0 Merge pull request #4480 from IvanSavenko/update_prebuilts
Update ffmpeg
2024-08-21 15:57:50 +03:00
f4547a9434 Add documentation regarding supported by vcmi formats 2024-08-20 19:23:55 +00:00