A repository for a FoundryVTT plugin for Kingmaker homebrew.

Starting to add Kingdom effects to the data in JSON

+494
+494
src/data/effects.json
··· 1 + [ 2 + { 3 + "id": "new-leadership-cs", 4 + "source": "new-leadership", 5 + "effects": [ 6 + { 7 + "modifier": { 8 + "type": "circumstance", 9 + "value": 1 10 + }, 11 + "appliesTo": { 12 + "checks": [ 13 + "any" 14 + ] 15 + }, 16 + "trigger": { 17 + "type": "always" 18 + }, 19 + "duration": { 20 + "type": "turn", 21 + "remaining": 2 22 + } 23 + } 24 + ] 25 + }, 26 + { 27 + "id": "new-leadership-f", 28 + "source": "new-leadership", 29 + "effects": [ 30 + { 31 + "modifier": { 32 + "type": "circumstance", 33 + "value": -1 34 + }, 35 + "appliesTo": { 36 + "checks": [ 37 + "any" 38 + ] 39 + }, 40 + "trigger": { 41 + "type": "always" 42 + }, 43 + "duration": { 44 + "type": "turn", 45 + "remaining": 2 46 + }, 47 + "special": { 48 + "requiresCheckToEnd": "loyalty" 49 + } 50 + } 51 + ] 52 + }, 53 + { 54 + "id": "collect-taxes-cf", 55 + "source": "collect-taxes", 56 + "effects": [ 57 + { 58 + "modifier": { 59 + "type": "circumstance", 60 + "value": 2 61 + }, 62 + "appliesTo": { 63 + "checks": [ 64 + "economy" 65 + ] 66 + }, 67 + "trigger": { 68 + "type": "always" 69 + }, 70 + "duration": { 71 + "type": "turn", 72 + "remaining": 1 73 + } 74 + } 75 + ] 76 + }, 77 + { 78 + "id": "collect-taxes-s-f", 79 + "source": "collect-taxes", 80 + "effects": [ 81 + { 82 + "modifier": { 83 + "type": "circumstance", 84 + "value": 1 85 + }, 86 + "appliesTo": { 87 + "checks": [ 88 + "economy" 89 + ] 90 + }, 91 + "trigger": { 92 + "type": "always" 93 + }, 94 + "duration": { 95 + "type": "turn", 96 + "remaining": 1 97 + } 98 + } 99 + ] 100 + }, 101 + { 102 + "id": "improve-lifestyle-cs", 103 + "source": "improve-lifestyle", 104 + "effects": [ 105 + { 106 + "modifier": { 107 + "type": "circumstance", 108 + "value": 2 109 + }, 110 + "appliesTo": { 111 + "checks": [ 112 + "culture" 113 + ] 114 + }, 115 + "trigger": { 116 + "type": "always" 117 + }, 118 + "duration": { 119 + "type": "turn", 120 + "remaining": 1 121 + } 122 + } 123 + ] 124 + }, 125 + { 126 + "id": "improve-lifestyle-s", 127 + "source": "improve-lifestyle", 128 + "effects": [ 129 + { 130 + "modifier": { 131 + "type": "circumstance", 132 + "value": 1 133 + }, 134 + "appliesTo": { 135 + "checks": [ 136 + "culture" 137 + ] 138 + }, 139 + "trigger": { 140 + "type": "always" 141 + }, 142 + "duration": { 143 + "type": "turn", 144 + "remaining": 1 145 + } 146 + } 147 + ] 148 + }, 149 + { 150 + "id": "improve-lifestyle-f", 151 + "source": "improve-lifestyle", 152 + "effects": [ 153 + { 154 + "modifier": { 155 + "type": "circumstance", 156 + "value": 1 157 + }, 158 + "appliesTo": { 159 + "checks": [ 160 + "culture" 161 + ] 162 + }, 163 + "trigger": { 164 + "type": "always" 165 + }, 166 + "duration": { 167 + "type": "turn", 168 + "remaining": 1 169 + } 170 + }, 171 + { 172 + "modifier": { 173 + "type": "circumstance", 174 + "value": -1 175 + }, 176 + "appliesTo": { 177 + "checks": [ 178 + "economy" 179 + ] 180 + }, 181 + "trigger": { 182 + "type": "always" 183 + }, 184 + "duration": { 185 + "type": "turn", 186 + "remaining": 1 187 + } 188 + } 189 + ] 190 + }, 191 + { 192 + "id": "improve-lifestyle-cf", 193 + "source": "improve-lifestyle", 194 + "effects": [ 195 + { 196 + "modifier": { 197 + "type": "circumstance", 198 + "value": -1 199 + }, 200 + "appliesTo": { 201 + "checks": [ 202 + "economy" 203 + ] 204 + }, 205 + "trigger": { 206 + "type": "always" 207 + }, 208 + "duration": { 209 + "type": "turn", 210 + "remaining": 1 211 + } 212 + } 213 + ] 214 + }, 215 + { 216 + "id": "tap-treasury-s", 217 + "source": "tap-treasury", 218 + "effects": [ 219 + { 220 + "modifier": { 221 + "type": "circumstance", 222 + "value": -1 223 + }, 224 + "appliesTo": { 225 + "checks": [ 226 + "economy" 227 + ] 228 + }, 229 + "trigger": { 230 + "type": "always" 231 + }, 232 + "duration": { 233 + "type": "turn", 234 + "remaining": 2 235 + } 236 + } 237 + ] 238 + }, 239 + { 240 + "id": "tap-treasury-f", 241 + "source": "tap-treasury", 242 + "effects": [ 243 + { 244 + "modifier": { 245 + "type": "circumstance", 246 + "value": -1 247 + }, 248 + "appilesTo": { 249 + "checks": [ 250 + "economy", 251 + "loyalty" 252 + ] 253 + }, 254 + "trigger": { 255 + "type": "always" 256 + }, 257 + "duration": { 258 + "type": "turn", 259 + "remaining": 2 260 + } 261 + } 262 + ] 263 + }, 264 + { 265 + "id": "tap-treasury-cf", 266 + "source": "tap-treasury", 267 + "effects": [ 268 + { 269 + "modifier": { 270 + "type": "circumstance", 271 + "value": -1 272 + }, 273 + "appliesTo": { 274 + "checks": [ 275 + "loyalty", 276 + "economy" 277 + ] 278 + }, 279 + "trigger": { 280 + "type": "always" 281 + }, 282 + "duration": { 283 + "type": "turn", 284 + "remaining": 2 285 + } 286 + } 287 + ] 288 + }, 289 + { 290 + "id": "celebrate-holiday-cs", 291 + "source": "celebrate-holiday", 292 + "effects": [ 293 + { 294 + "modifier": { 295 + "type": "circumstance", 296 + "value": 2 297 + }, 298 + "appliesTo": { 299 + "checks": [ 300 + "loyalty" 301 + ] 302 + }, 303 + "trigger": { 304 + "type": "always" 305 + }, 306 + "duration": { 307 + "type": "turn", 308 + "remaining": 2 309 + } 310 + } 311 + ] 312 + }, 313 + { 314 + "id": "celebrate-holiday-s", 315 + "source": "celebrate-holiday", 316 + "effects": [ 317 + { 318 + "modifier": { 319 + "type": "circumstance", 320 + "value": 1 321 + }, 322 + "appliesTo": { 323 + "checks": [ 324 + "loyalty" 325 + ] 326 + }, 327 + "trigger": { 328 + "type": "always" 329 + }, 330 + "duration": { 331 + "type": "turn", 332 + "remaining": 2 333 + } 334 + } 335 + ] 336 + }, 337 + { 338 + "id": "celebrate-holiday-cf", 339 + "source": "celebrate-holiday", 340 + "effects": [ 341 + { 342 + "modifier": { 343 + "type": "circumstance", 344 + "value": -1 345 + }, 346 + "appliesTo": { 347 + "checks": [ 348 + "loyalty" 349 + ] 350 + }, 351 + "trigger": { 352 + "type": "always" 353 + }, 354 + "duration": { 355 + "type": "turn", 356 + "remaining": 2 357 + } 358 + } 359 + ] 360 + }, 361 + { 362 + "id": "clandestine-business", 363 + "source": "clandestine-business", 364 + "effects": [] 365 + }, 366 + { 367 + "id": "creative-solution-cf", 368 + "source": "creative-solution", 369 + "effects": [ 370 + { 371 + "modifier": { 372 + "type": "circumstance", 373 + "value": -1 374 + }, 375 + "appliesTo": { 376 + "checks": [ 377 + "culture" 378 + ] 379 + }, 380 + "trigger": { 381 + "type": "always" 382 + }, 383 + "duration": { 384 + "type": "turn", 385 + "remaining": 2 386 + } 387 + } 388 + ] 389 + }, 390 + { 391 + "id": "deliberate-planning-cs", 392 + "source": "deliberate-planning", 393 + "effects": [ 394 + { 395 + "modifier": { 396 + "type": "circumstance", 397 + "value": 1 398 + }, 399 + "appliesTo": { 400 + "checks": [ 401 + "event" 402 + ], 403 + "eventId": null 404 + }, 405 + "trigger": { 406 + "type": "always" 407 + }, 408 + "special": { 409 + "fortune": true 410 + }, 411 + "duration": { 412 + "type": "turn", 413 + "remaining": 1 414 + } 415 + } 416 + ] 417 + }, 418 + { 419 + "id": "deliberate-planning-s", 420 + "source": "deliberate-planning", 421 + "effects": [ 422 + { 423 + "modifier": { 424 + "type": "circumstance", 425 + "value": 1 426 + }, 427 + "appliesTo": { 428 + "checks": [ 429 + "event" 430 + ], 431 + "eventId": null 432 + }, 433 + "trigger": { 434 + "type": "always" 435 + }, 436 + "duration": { 437 + "type": "turn", 438 + "remaining": 1 439 + } 440 + } 441 + ] 442 + }, 443 + { 444 + "id": "establish-trade-agreement-cf", 445 + "source": "establish-trade-agreement", 446 + "effects": [ 447 + { 448 + "modifier": { 449 + "type": "circumstance", 450 + "value": -1 451 + }, 452 + "appliesTo": { 453 + "checks": [ 454 + "economy" 455 + ] 456 + }, 457 + "trigger": { 458 + "type": "always" 459 + }, 460 + "duration": { 461 + "type": "turn", 462 + "remaining": 2 463 + } 464 + } 465 + ] 466 + }, 467 + { 468 + "id": "focused-attention-s", 469 + "source": "focused-attention", 470 + "effects": [ 471 + { 472 + "modifier": { 473 + "type": "circumstance", 474 + "value": 2 475 + }, 476 + "appliesTo": { 477 + "checks": [ 478 + "specific" 479 + ], 480 + "skill": null, 481 + "leader": null 482 + }, 483 + "trigger": { 484 + "type": "next", 485 + "consumed": true 486 + }, 487 + "duration": { 488 + "type": "turn", 489 + "remaining": 1 490 + } 491 + } 492 + ] 493 + } 494 + ]