Skip to content

Commit

Permalink
Merge pull request #106 from AtomicFox556/CleverRaven-master
Browse files Browse the repository at this point in the history
Implement shields and ranged attacks protection
  • Loading branch information
AtomicFox556 authored May 24, 2023
2 parents 2827166 + ef7e4e3 commit 444a889
Show file tree
Hide file tree
Showing 27 changed files with 2,667 additions and 10 deletions.
5 changes: 5 additions & 0 deletions data/json/EraOfDecay/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
"id": "HOLY_SYMBOL",
"type": "json_flag",
"info": "This gear improves morale of spiritual people if worn."
},
{
"id": "BLOCK_RANGED_ATTACKS",
"type": "json_flag",
"info": "This gear allows blocking ranged attacks while worn."
}
]
7 changes: 7 additions & 0 deletions data/json/EraOfDecay/itemgroups/melee.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"id": "soa_shields_mail",
"type": "item_group",
"items": [ [ "shield_wooden", 10 ], [ "shield_wooden_large", 5 ] ]
}
]
26 changes: 26 additions & 0 deletions data/json/EraOfDecay/items/abstract.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,31 @@
"color": "light_gray",
"stack_size": 1,
"flags": [ "INEDIBLE" ]
},
{
"abstract": "shield_abstract",
"type": "ARMOR",
"name": { "str": "base shield" },
"symbol": "[",
"color": "brown",
"sided": true,
"to_hit": { "grip": "weapon", "length": "short", "surface": "any", "balance": "uneven" },
"flags": [ "OVERSIZE", "BELTED", "RESTRICT_HANDS", "BLOCK_WHILE_WORN", "BLOCK_RANGED_ATTACKS", "PADDED", "WATER_FRIENDLY" ]
},
{
"abstract": "shield_medium_abstract",
"copy-from": "shield_abstract",
"type": "ARMOR",
"name": { "str": "base medium shield" },
"longest_side": "80 cm",
"techniques": [ "WBLOCK_2" ]
},
{
"abstract": "shield_large_abstract",
"copy-from": "shield_abstract",
"type": "ARMOR",
"name": { "str": "base large shield" },
"longest_side": "120 cm",
"techniques": [ "WBLOCK_3" ]
}
]
Loading

0 comments on commit 444a889

Please sign in to comment.