TODO:
X Item to give speed
X Put item in store
X Customize store to prevent stealign and remove all other items
X Rename Item
X New icon for item
X New text when using item
X Map marker for store - Torvael's Tomes
X Rename store NPC - Torvael
X Store NPC custom text
X Store NPC Quest to get books
	X History of Shadowdale I through XIII
	X Completion unlocks new book for sale
X Tome that adds innate ability
X Compartmentalize tp2 files - one main and one for each component
X Tome quest 2 chit-chat - could you make a tome for me? and
X Literacy/int requirement to use tomes
X Make player have all Shadowdale books to make quest correct
X Test game with bag of holding and all books
X Instead of adding a custom spell, copy an existing spell and modify it's attributes so it's an innate ability
X Allow selling of attribute tomes
X Why do tomes have a downside chat
X Duplicate quest for History of the North I through X
X Duplicate quest for History of Waterdeep I through VI
X Address XP underflow
X Address 2da alteration by other mods
X Remove "Armour of Faith" message when using tomes
X Fix failing install
X Rework tome 21 - add crit miss, less THACO penalty, more off-hand THACO penalty
X Rework tome 25 - make penalty -8 instead of -5
X Rework book 28 - +25% fire damage
X Fix book 31 - remove crit bonus effect and healing effect
X Add text for secret tome
X Add apropriate effects for secret tome
X Add special high CHA tome
X Add final tome after all questing
X Fill in rest of dialogue
X Spellcheck and grammar check dialogue
X Standardize plus and minus THACO, damage, etc text
Xxx End script unless EET is detected
X CHA stat check for an extra special book from the back
X Icon for spell books, balanced books, and evil tome
X Add a secret tome that is dropped/can be pickpocketted from the shopkeep
X Make tomes needed for quest rewards and pre-quest and decide unlock order
X Workshop a couple 'bad' tomes with costs that outweight benefits (+luck for minus attributes?)
X Increase flat bonus books to-hit and damage bonuses
X Piercing shadow book reduce ranged THACO
X 20% critical miss on Fumbleflux Folio
X The Point reduce piercing armor class bonus
X +1 Save vs Spell on quest book, change text to reflect that
X Set prices for all books
X Book component README
- Clean up directories
- Create main README
- Upload to Github
- Forum Post(s)
- Complete mod metadata: https://github.com/ALIENQuake/ProjectInfinity/wiki/Adding-metadata-for-mod



BG1 Secret - Secrets of Demonic Imposition - 20000 - 30000
- Usable by Good
- +1 CON
- +0.5 APR
- +30% Fire Resist
- +10% Melee Critical Hit
- +2 THAC0 and Damage vs Good Creatures
- Change Alignment to Chaotic Evil
- -2 INT
- -2 WIS
- -5 CHR
- +5% Critical Miss
- +15% Critical Miss with Ranged
- -2 THAC0 and Damage vs Evil Creatures

BG1 Bonus Tome - 28000 - 42000
- 4% chance when taking damage to go into a Crimson Trance berserk (+2 Damage and +2 THAC0), +1 Save vs. Death, +1 Movement Speed, +1 strength and -3 AC. Lasts 8 rounds.
- Critical miss cancels effect

BG1 Quest Tome - 2500 - 3700
- On kill teleports you a random distance

BG1 Abilities
X 01 Innate Reflected Image spell - 5000 - 7500
X 02 Innate Spook spell - 5000 - 7500
X 03 Innate Glitterdust spell - 12000 - 18000
X 04 Innate Luck spell - 12000 - 18000
X 05 Innate Bless spell - 6000 - 9000
X 06 Innate Aid spell - 6000 - 9000

BG1 Flat bonuses
X 11 +1 Movement Rate Bonus - 11000 - 16000
X 12 +2 to hit Fairies - 7000 - 10000
X 13 +6 Lore - 6000 - 9000
X 14 +1 Visual Range bonus - 13000 - 19000
X 15 +2 damage vs Giants - 9000 - 13000
X 16 Set Proficiency in Spears to 2 - 10000 - 15000

BG1 Balanced Bonuses
X 21 +5% Critical Hit Bonus. +5% critical miss penalty, +1 THACO penalty - 16000 - 24000
X 22 +5 maximum HP bonus. -2 THACO and Damage vs Animals penalty - 18500 - 27500
X 23 +1 Damage, -5 Attack Speed, -1 offhand THACO - 22000 - 32500
X 24 +5 max HP, -12,000 XP - 16500 - 24500
X 25 +1 THACO and Damage vs Male creatures, -8 THACO and Damage vs Female creatures - 15000 - 22000
X 26 +1 Backstab bonus, +2 Melee THACO. -2 Ranged THACO -5 AC, -20% Open Locks, Find Traps, Pick Pockets - 14500 - 21500
X 27 +1 Casting Level, +2 Level 1 and +1 Level 2 Arcane Spells. +4 critical miss, -2 Luck, -25 Wild Surge - 19000 - 28000
X 28 +10% Fire Resist, +25% Bonus Fire Damage. -20% Bonus Cold Damage, -10% Bonus Magic Damage, -12 max HP - 17500 - 26000
X 29 +2 Piercing Damage, +2 Piercing AC. -2 Crushing, Slashing, Missile AC - 18000 - 26500
X 30 +1 Level 1, 2, and 3 Divine Spells. -1 all saves, -4 Damage vs Clerics, Paladins, and Druids - 19500 - 29000
X 31 On Crit Hit Effects: 1 fire damage to target. On Crit Miss Effect: 3 electric damage to self - 17000 - 25000

BG1 Quest release of books
Start - 01, 05, 13, 22, 28
1 Done - 02, 12, 15, 21, 26, 31
2 Done - 03, 06, 14, 23, 25, 30
3 Done - 04, 11, 16, 24, 27, 29
CHA Bonus - 35
Quest - 36
Secret - 00

- ???.Off-Hand THACO: -8 penalty

- +20% Poison Resist, -5% Fire, Cold, Electricity, Acid resist
- -2 bonus to Save vs Wand and Save vs Petrification. +1 penalty to Save vs Death, Breath, and Spell.
- +10% Magical Damage, Magical Cold and Magical Fire resist. -10% Slashing, Crushing, Missile, and Piercing resist
-
-
-
-


- +2 Damage with Unarmed and Natural weapon. -4 Damage with melee weapon. -1 THACO

1 Fire damage on critical
bonus critical miss chance
Suffer damage on critical miss

Workshop Tomes
	- +3 Casting Level bonus. -1 Attack Damage, -1 AC and -0.5 attacks per round penalty.
	- +3 saves against Invoker spells. -1 saves against all other spell schools.
	- +2 THACO and Damage vs Undead bonus. -1 THACO and damage against Humanoid penalty.
	- +5% Magic Resistance bonus. -10% Magic Damage, Magical Fire and Magical Cold resistance penalty.
	- +1 THACO and Damage vs Good and vs Evil creatures. -3 THACO and damage panalty against Neutral creatures.

Future abilities
- https://github.com/shohysie/XPexchange/blob/main/XPexchange/readme.english.txt
- https://docs.google.com/document/d/1ItWhabwHfOE4WIX1EjudC7yGzY0IPn3v57Gk2jz7b_8/edit?tab=t.0


PRICE CALCULATOR
	Cheapest-Price = Starting-Price * (150 * .45)/100
	Starting-Price = Cheapest-Price / 0.675



Baldur's Gate Southwest misc 'general stores' (BG1100)
	'General Store' 2713,1138 - BG1116
		WED - BG0809
		CRE - SHOP05_.CRE (Storekeep)
		STO - STO1116.sto
	'General Store' 2536,2323 - BG1117
	'General Store' 2221,2679 - BG1112
	'Potion Shop' 3188,561 - BG1115

Baldur's Gate Northeast (BG0300)
	'Shop' 2184,2513 - BG0304

Baldur's Gate Southeast (BG1300)
	'General Store' 915,2497 - BG1302
	'Shop' 2151,408 - BG1320

Baldur's Gate East (BG0800)
	'Maltz's Shop' 1126,2940 - BG0803



Cross-mod compatibility -
	// Special compatibility with Gorgon Eye
	ACTION_IF (NOT MOD_IS_INSTALLED ~SETUP-GORGON.TP2~ 0) BEGIN




Tutorials and Resources
- Chaining onto existing characters and interacting with party members
	https://forums.beamdog.com/discussion/63148/creating-new-dialogs-and-also-bams-and-projectiles




# More Sequencers
1 - None
2 - None
3 - *Simple Sequencer - 2x L1
4 - Minor Sequencer - 2x L2 - SCRL6P - SPWI420
5 - *Lesser Sequencer - 2x L3
6 - Contingency - 1x L1-6 - SCRL7U - SPWI617
7 - Spell Sequencer - 3x L4 - SCRL8L - SPWI710
8 - Spell Trigger - 3x L6 - SCRL9D
9 - Chain Contingency - 3x L8 - SCRL9Q - SPWI908

- Extra cursed item ideas
	- Ioun stone: +2 casting speed, miscast magic, forget highest level spell on cast, restore lowest level spell on cast
	- Ring: +caster level, -something else
	- Unconcious on critical miss
	- Item that drains XP on kill/hit



Script IF reference:
https://gibberlings3.github.io/iesdp/scripting/triggers/bgeetriggers.htm

Script action reference:
https://gibberlings3.github.io/iesdp/scripting/actions/bg2actions.htm



Useful tools
- Free online image editing - https://www.photopea.com/
- Free online AI inpainting - https://theinpaint.com/
