diff --git a/generate.sh b/generate.sh new file mode 100755 index 0000000..f13fc8b --- /dev/null +++ b/generate.sh @@ -0,0 +1,17 @@ +#!/bin/sh + + +for i in $(seq 1 10); do +cat <>wondrous/abilities.yml +- name: Resistance +$i + school: abjuration + grade: faint + spell: ["Resistance"] + feats: ["Craft Wondrous Item"] + price: $(echo "($i^2)*1000" | bc) + description: >- + This item grants a +$i enhancement bonus to all saving throws (fortitude, + reflex, will). + +EOF +done