|
1 | 1 | [
|
| 2 | + { |
| 3 | + "abstract": "magic_square_base", |
| 4 | + "name": "Magic Square abstract", |
| 5 | + "description": "SATOR AREPO TENET OPERA ROTAS.", |
| 6 | + "type": "TOOL", |
| 7 | + "weight": "3 g", |
| 8 | + "color": "white", |
| 9 | + "symbol": "`", |
| 10 | + "price": "0 cent", |
| 11 | + "price_postapoc": "0 cent", |
| 12 | + "material": [ "paper" ], |
| 13 | + "flags": [ "TINDER", "PAPER_SHAPED", "SINGLE_USE" ], |
| 14 | + "volume": "6 ml", |
| 15 | + "longest_side": "297 mm" |
| 16 | + }, |
2 | 17 | {
|
3 | 18 | "id": "aura_ward_off_rain",
|
4 | 19 | "type": "ARMOR",
|
|
262 | 277 | "description": "Activate to remove the mantle and end the magic.",
|
263 | 278 | "effect_on_conditions": [ "EOC_HEDGE_TURN_INTO_BEAR_REMOVE_ITEM" ]
|
264 | 279 | }
|
| 280 | + }, |
| 281 | + { |
| 282 | + "type": "BOOK", |
| 283 | + "id": "item_walk_on_water_magic_square", |
| 284 | + "copy-from": "magic_square_base", |
| 285 | + "name": { "str": "magic square (To Walk Upon the Water)", "str_pl": "magic squares (To Walk Upon the Water)" }, |
| 286 | + "description": "A piece of paper. A magic square is carefully written on it.", |
| 287 | + "extend": { "flags": [ "HEDGE_ENCHANTED" ] }, |
| 288 | + "use_action": { |
| 289 | + "type": "effect_on_conditions", |
| 290 | + "description": "Activate the charm using the magic square.", |
| 291 | + "effect_on_conditions": [ |
| 292 | + { |
| 293 | + "id": "EOC_HEDGE_WALK_ON_WATER_MAGIC_SQUARE", |
| 294 | + "effect": [ |
| 295 | + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, |
| 296 | + { "u_add_effect": "effect_hedge_walk_on_water_magic_square", "duration": 1800, "intensity": 30 } |
| 297 | + ] |
| 298 | + } |
| 299 | + ] |
| 300 | + } |
| 301 | + }, |
| 302 | + { |
| 303 | + "type": "BOOK", |
| 304 | + "id": "item_breathe_water_magic_square", |
| 305 | + "copy-from": "magic_square_base", |
| 306 | + "name": { "str": "magic square (To Operate Under the Water)", "str_pl": "magic squares (To Operate Under the Water)" }, |
| 307 | + "description": "A piece of paper. A magic square is carefully written on it.", |
| 308 | + "extend": { "flags": [ "HEDGE_ENCHANTED" ] }, |
| 309 | + "use_action": { |
| 310 | + "type": "effect_on_conditions", |
| 311 | + "description": "Activate the charm using the magic square.", |
| 312 | + "effect_on_conditions": [ |
| 313 | + { |
| 314 | + "id": "EOC_HEDGE_BREATHE_WATER_MAGIC_SQUARE", |
| 315 | + "effect": [ |
| 316 | + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, |
| 317 | + { "u_add_effect": "effect_hedge_breathe_water_magic_square", "duration": 7200, "intensity": 120 } |
| 318 | + ] |
| 319 | + } |
| 320 | + ] |
| 321 | + } |
| 322 | + }, |
| 323 | + { |
| 324 | + "type": "BOOK", |
| 325 | + "id": "item_bash_terrain_magic_square", |
| 326 | + "copy-from": "magic_square_base", |
| 327 | + "name": { |
| 328 | + "str": "magic square (To Demolish Buildings and Strongholds)", |
| 329 | + "str_pl": "magic squares (To Demolish Buildings and Strongholds)" |
| 330 | + }, |
| 331 | + "description": "A piece of paper. A magic square is carefully written on it.", |
| 332 | + "extend": { "flags": [ "HEDGE_ENCHANTED" ] }, |
| 333 | + "use_action": { |
| 334 | + "type": "effect_on_conditions", |
| 335 | + "description": "Activate the charm using the magic square.", |
| 336 | + "effect_on_conditions": [ |
| 337 | + { |
| 338 | + "id": "EOC_HEDGE_BASH_TERRAIN_MAGIC_SQUARE", |
| 339 | + "effect": [ |
| 340 | + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, |
| 341 | + { "u_cast_spell": { "id": "hedge_bash_terrain_magic_square_real" }, "targeted": true } |
| 342 | + ] |
| 343 | + } |
| 344 | + ] |
| 345 | + } |
| 346 | + }, |
| 347 | + { |
| 348 | + "type": "BOOK", |
| 349 | + "id": "item_armed_men_magic_square", |
| 350 | + "copy-from": "magic_square_base", |
| 351 | + "name": { "str": "magic square (To Cause Armed Men to Appear)", "str_pl": "magic squares (To Cause Armed Men to Appear)" }, |
| 352 | + "description": "A piece of paper. A magic square is carefully written on it.", |
| 353 | + "extend": { "flags": [ "HEDGE_ENCHANTED" ] }, |
| 354 | + "use_action": { |
| 355 | + "type": "effect_on_conditions", |
| 356 | + "description": "Activate the charm using the magic square.", |
| 357 | + "effect_on_conditions": [ |
| 358 | + { |
| 359 | + "id": "EOC_HEDGE_ARMED_MEN_MAGIC_SQUARE", |
| 360 | + "effect": [ |
| 361 | + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, |
| 362 | + { |
| 363 | + "u_spawn_monster": "GROUP_HEDGE_TO_CAUSE_ARMED_MEN", |
| 364 | + "real_count": { "math": [ "2 + rand(3)" ] }, |
| 365 | + "group": true, |
| 366 | + "min_radius": 1, |
| 367 | + "max_radius": 3, |
| 368 | + "lifespan": [ "15 minutes", "45 minutes" ], |
| 369 | + "spawn_message": "An armed warrior appears.", |
| 370 | + "spawn_message_plural": "Several armed warriors appear." |
| 371 | + } |
| 372 | + ] |
| 373 | + } |
| 374 | + ] |
| 375 | + } |
| 376 | + }, |
| 377 | + { |
| 378 | + "type": "BOOK", |
| 379 | + "id": "item_food_or_drink_magic_square", |
| 380 | + "copy-from": "magic_square_base", |
| 381 | + "name": { |
| 382 | + "str": "magic square (To Cause the Spirits to Bring us Anything We May Wish to Eat or to Drink)", |
| 383 | + "str_pl": "magic squares (To Cause the Spirits to Bring us Anything We May Wish to Eat or to Drink)" |
| 384 | + }, |
| 385 | + "description": "A piece of paper. A magic square is carefully written on it.", |
| 386 | + "extend": { "flags": [ "HEDGE_ENCHANTED" ] }, |
| 387 | + "use_action": { |
| 388 | + "type": "effect_on_conditions", |
| 389 | + "description": "Activate the charm using the magic square.", |
| 390 | + "effect_on_conditions": [ |
| 391 | + { |
| 392 | + "id": "EOC_HEDGE_FOOR_OR_DRINK_MAGIC_SQUARE", |
| 393 | + "effect": [ { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, { "run_eocs": "EOC_HEDGE_FOOD_OR_DRINK_SELECTOR" } ] |
| 394 | + } |
| 395 | + ] |
| 396 | + } |
| 397 | + }, |
| 398 | + { |
| 399 | + "type": "BOOK", |
| 400 | + "id": "item_invisibility_magic_square", |
| 401 | + "copy-from": "magic_square_base", |
| 402 | + "name": { |
| 403 | + "str": "magic square (To Render Oneself Invisible Unto Every Person)", |
| 404 | + "str_pl": "magic squares (To Render Oneself Invisible Unto Every Person)" |
| 405 | + }, |
| 406 | + "description": "A piece of paper. A magic square is carefully written on it.", |
| 407 | + "extend": { "flags": [ "HEDGE_ENCHANTED" ] }, |
| 408 | + "use_action": { |
| 409 | + "type": "effect_on_conditions", |
| 410 | + "description": "Activate the charm using the magic square.", |
| 411 | + "effect_on_conditions": [ |
| 412 | + { |
| 413 | + "id": "EOC_HEDGE_INVISIBILITY_MAGIC_SQUARE", |
| 414 | + "effect": [ |
| 415 | + { "u_assign_activity": "ACT_GENERIC_EOC", "duration": 2.5 }, |
| 416 | + { "u_add_effect": "effect_invisibility_magic_square", "duration": 4620, "intensity": 77 } |
| 417 | + ] |
| 418 | + } |
| 419 | + ] |
| 420 | + } |
265 | 421 | }
|
266 | 422 | ]
|
0 commit comments