1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Lighthouse / flaggable objects now has dedicated bonus system node

this alows to remove multiple hacks from lighthouse logic
This commit is contained in:
Ivan Savenko
2025-05-13 17:07:58 +03:00
parent 716da918f8
commit b37a3dc63c
7 changed files with 58 additions and 63 deletions

View File

@@ -21,7 +21,8 @@ Currently, it is possible to make flaggable objects that provide player with:
// Alternatively, it is possible to reuse existing string from H3 using form '@core.advevent.69'
"onVisit" : "{Object Name}\r\n\r\nText of messages that player will see on visit.",
// List of bonuses that will be granted to player that owns this object
// List of bonuses that player that owns this object may receive
// Make sure to use required propagator, such as PLAYER_PROPAGATOR
"bonuses" : {
"firstBonus" : { BONUS FORMAT },
"secondBonus" : { BONUS FORMAT },