Add old creation script
This commit is contained in:
		
							parent
							
								
									1b309f5bb2
								
							
						
					
					
						commit
						b0b6dc63b6
					
				
							
								
								
									
										17
									
								
								generate.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										17
									
								
								generate.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,17 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
for i in $(seq 1 10); do
 | 
			
		||||
cat <<EOF >>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
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user