1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00
Commit Graph

529 Commits

Author SHA1 Message Date
Ivan Savenko
24def2ed16 Icons for heroes on minimap
VCMI will now show icons for all heroes on visible part of minimap to
help with readability on large maps

Old behavior can be enable via toggle in game settings menu
2025-05-27 18:38:44 +03:00
Ivan Savenko
bcbdaee43d Update json schema 2025-05-25 12:03:05 +03:00
Ivan Savenko
a8fdcf7823 Merge pull request #5735 from IvanSavenko/artifact_bonuses
Per-instance bonuses for artifacts
2025-05-23 16:03:59 +03:00
Ivan Savenko
25e57542be Merge pull request #5725 from IvanSavenko/bonus_description
Custom descriptions and icons for creature abilities
2025-05-23 14:02:34 +03:00
Ivan Savenko
62316a6420 Per-instance bonuses for artifacts
It is now possible to give artifacts per-instance bonuses, if needed.

Unlike shared bonuses, per-instance bonuses stack if multiple instances
of same artifacts are equipped on hero.

This to implement resource-producing artifacts in line with H3 -
equipping multiple such artifacts on a single hero will give bonus from
each instance of such artifact.

Also, both existing bonuses and new instanceBonuses fields now use json
object instead of json lists. This allows easier modification of
individual bonuses of artifacts and potentially - custom icons /
descriptions for artifact bonuses.
2025-05-21 19:24:19 +03:00
kdmcser
bbd6e1e100 fix schema 2025-05-21 23:29:03 +08:00
Ivan Savenko
9787f33798 Update schema & docs 2025-05-21 14:57:10 +03:00
SoundSSGood
e85b1d4c1c suggested changes 2025-05-17 19:01:04 +02:00
SoundSSGood
051381d4db Docs 2025-05-17 15:06:09 +02:00
SoundSSGood
fcc9b8ecfa Artifacts discharging 2025-05-16 23:24:36 +02:00
Ivan Savenko
ed6725db0f Update schemas 2025-05-09 17:31:25 +03:00
Ivan Savenko
975d9aedc9 Merge branch 'vcmi/beta' into 'vcmi/develop' 2025-04-13 18:53:54 +03:00
Ivan Savenko
896a7ec88e Better support for Adela specialty (+new modding functionality for it)
Fixes Adela specialty that was apparently broken back in #1518 and
replaced with logic that was clearly not tested - it was neither
functional, nor it was following H3 behavior.

- `HAS_ANOTHER_BONUS_LIMITER` now accepts `null` in place of bonus type,
for cases when limiting is needed by bonus source or bonus subtype. This
allows Adela Bless specialty to always work, irregardless of which
bonuses are provided by Bless.
- Implemented `DIVIDE_STACK_LEVEL` updater that functions same as
`TIMES_STACK_LEVEL`, but it divides bonus value, instead of multiplying
it (to make Adela specialty weaker for high-tier units, as in H3)
- Implemented `TIMES_HERO_LEVEL_DIVIDE_STACK_LEVEL` updater that
combines two existing updaters, to implement `val * heroLevel /
unitLevel` formula needed for Adela specialty
- Removed deprecated `ARMY_MOVEMENT` updater. Its functionality has
already been removed in 1.6.X releases, and it was remaining only as a
placeholder
- Updated modding documentation to account for these changes & to remove
some TODO's

Fixed regression from #777 that could led to either duplicated bonuses
or to multiple application of updaters. It introduced double-recursion -
node parents were gathered recursively, and then bonuses were also
collected recursively within each parent. This created situation where
updater could be applied different number of times. For example, hero
bonus that is propagated to unit in combat could be selected directly,
or via hero->combat unit chain, or via hero->garrison unit->combat unit
chains, leading to different calls to updaters if updater handles
garrison unit node type
2025-04-13 16:24:51 +03:00
George King
715736ebc2 Update schema 2025-04-07 21:04:36 +02:00
Ivan Savenko
7d3e59d7d3 Do not track clipboard on mobile systems to avoid permissions prompt 2025-03-26 16:00:31 +00:00
Ivan Savenko
0197d226c9 Merge pull request #5565 from kdmcser/new_morale_luck
support setting dice molecule for rolling morale and luck
2025-03-26 16:53:13 +02:00
heroesiiifan
032d4bf112 Merge pull request #5574 from heroesiiifan/bela
add belarussian
2025-03-26 16:46:46 +02:00
kdmcser
5c1adc7df5 change config format 2025-03-26 00:18:45 +08:00
DjWarmonger
1e9f65693f Merge pull request #5523 from vcmi/town_hints
Town hints
2025-03-20 16:23:44 +01:00
Andrey Filipenkov
0435d8f49c [iOS] add setting to honor mute switch 2025-03-13 12:14:25 +03:00
Ivan Savenko
d870a7b742 Merge pull request #5527 from Laserlicht/subtitle_disable
setting to disable subtitle
2025-03-12 14:53:59 +02:00
Laserlicht
7af340e301 setting to disable subtitle 2025-03-10 00:04:44 +01:00
Tomasz Zieliński
38a46d4b3f Allow "notLikeZone" to be vector 2025-03-09 09:21:05 +01:00
heroesiiifan
c49039a3f7 add romanian and bulgarian 2025-03-08 20:10:33 +01:00
Tomasz Zieliński
946e47ee22 Add townHints to random template, define logic 2025-03-05 21:31:33 +01:00
Ivan Savenko
9ed41d3d5c Add schema for validation of bonus type defininitions 2025-03-05 13:42:18 +00:00
Ivan Savenko
6a828e09b9 Rename bonus instance schema to prevent name clash 2025-03-05 13:05:44 +00:00
Ivan Savenko
b0de99fe89 Merge pull request #5478 from heroesiiifan/translation
develop - add greek, japanese, norwegian; harmonize
2025-03-01 23:14:28 +02:00
Ivan Savenko
35fc7f7f03 Use new URL for 1.7 mods 2025-02-28 14:51:33 +00:00
Ivan Savenko
8f074490a7 Merge branch 'master' into 'develop' 2025-02-27 21:15:42 +00:00
heroesiiifan
68b3421d5d add greek, japanese, norwegian; harmonize 2025-02-25 22:54:19 +01:00
Laserlicht
52f7caa0e4 use settings instead of persistentStorage 2025-02-22 20:34:13 +01:00
Laserlicht
3627731041 (config only) setting to disable async upscaling 2025-02-21 21:59:00 +01:00
Laserlicht
db23cc2ffa add setting for disabling overlay 2025-02-21 21:35:17 +01:00
Ivan Savenko
0548f325e4 Merge branch 'master' into 'develop' 2025-02-21 13:59:34 +00:00
Ivan Savenko
085409bea9 Stables in Castle will now check for and give same bonuses as map stable 2025-02-18 14:35:52 +00:00
Ivan Savenko
b69e1ce1fb Merge pull request #5399 from Laserlicht/combat_health
[1.6.6] Combat Health Bar & Calculation fix
2025-02-14 13:09:49 +02:00
Ivan Savenko
68e0dcb01d Merge pull request #5398 from Laserlicht/portrait_mode
[1.6.6] portrait mode for android & grey bar fix
2025-02-09 19:42:03 +02:00
Laserlicht
d98ce78c34 add setting for hp bar 2025-02-08 22:48:21 +01:00
Laserlicht
0424f71cb2 portrait mode for android 2025-02-08 20:02:31 +01:00
Ivan Savenko
f3e3bb1749 Enable new option only on mobile platforms 2025-02-07 15:54:33 +00:00
Ivan Savenko
7803f7a972 Clicking on blocked tile of a visitable object now builds a path to it
Suggestion from Discord.

If player has hero selected, clicking on a blocked tile of a visitable,
reachable object will now build a path to its visitable position (or
move hero to it, in case of second click / tap).

Objects that have interaction on left click (allied town and shipyards)
are excluded from this change and work as before
2025-02-07 13:59:32 +00:00
Ivan Savenko
ec970c7b22 Support for configuring minimal cost for moving between tiles
- Added `movementCostBase` parameter to game config that defines minimal
amount of movement points that will be spent when moving from one tile
on another while offroad (and cost of Fly / Town Portal spells)
- Added `BASE_TILE_MOVEMENT_COST` bonus type that allows modifying
`movementCostBase` on per-hero basis

Example usage for hota-like pathfinding skill
```json
"tileCostReduction" : {
	"type" : "BASE_TILE_MOVEMENT_COST",
	"val" : -15
}
```
2025-02-03 22:52:33 +00:00
Ivan Savenko
9d7c4a60e0 Added support for configuring which language channels are visible to
player in lobby
2025-01-27 17:19:14 +00:00
Dydzio
1c1af5c04a Basic creature joining default behavior configuration 2025-01-23 22:04:35 +01:00
Ivan Savenko
228b585527 Fix validation of game settings 2025-01-07 14:07:16 +00:00
Laserlicht
3870ac6c21 option to fix right mouse on some android devices 2025-01-01 18:39:49 +01:00
Ivan Savenko
306ee95496 Merge pull request #4965 from vcmi/sealed_zone
New type of zone - "sealed"
2024-12-02 13:21:02 +02:00
Ivan Savenko
f74cd32147 Moved weekly income bonus for AI to game settings 2024-11-26 18:43:25 +00:00
Ivan Savenko
85ffb449ca Fixes mod install / uninstall / updates 2024-11-26 13:55:46 +00:00