Skip to content

Commit

Permalink
Add trap
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm committed Dec 29, 2024
1 parent 35fd4e8 commit 57d11dc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions data/mods/Magiclysm/traps.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,25 @@
"action": "spell",
"spell_data": { "id": "forge_trap" },
"benign": false
},
{
"type": "trap",
"id": "tr_rune_trap_summon_blades",
"name": "glowing runes",
"color": "blue",
"symbol": "o",
"visibility": 15,
"avoidance": 13,
"difficulty": 99,
"action": "eocs",
"eocs": [ "EOC_TRAPS_SUMMON_BLADES" ],
"trigger_weight": "50000 g",
"trigger_message_u": "As you step forward, runes begin glowing brightly!",
"trigger_message_npc": "As <npcname> steps forward, runes begin glowing brightly!"
},
{
"type": "effect_on_condition",
"id": "EOC_TRAPS_SUMMON_BLADES",
"effect": [ { "u_spawn_monster": "mon_animated_blade_feral", "real_count": [ 1, 2 ], "min_radius": 1, "max_radius": 1 } ]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"k": [ { "item": "SUS_book", "chance": 50, "repeat": [ 2, 8 ] }, { "item": "technomancer_items", "chance": 5 } ],
"f": [ { "item": "bionics_civilian", "chance": 70, "repeat": [ 1, 3 ] }, { "item": "autodoc_supplies", "chance": 20 } ]
},
"place_traps": [ { "trap": "tr_rune_trap_summon_blades", "x": [ 5, 6 ], "y": [ 12, 14 ], "repeat": [ 0, 2 ] } ],
"place_monster": [
{ "group": "GROUP_FERAL_TECHNOMANCERS", "x": [ 11, 16 ], "y": [ 15, 17 ], "chance": 10 },
{ "group": "GROUP_FERAL_TECHNOMANCERS", "x": [ 11, 16 ], "y": [ 11, 13 ], "chance": 10 }
Expand Down

0 comments on commit 57d11dc

Please sign in to comment.