Could you suggest how I can catch these multi lines:
Code: Select all
========= 1 item
You have learned the following:
Subject "chronicle about the protective properties of air", type : MAGIC BOOK
Weight: 1, Price: 1, Rent: 1(1)
Material : BIRCH, max. strength : 20, current strength : 20
Uncomfortable: nothing
Unavailable : none
Has extra flags: !rent,!sell,!scout
contains the spell: "air shield"
level of study (for you) : 34
Affects you: none
========= 2 item
You have learned the following:
Item "heavy boots made of luxurious Chupacabra skin with a steel horseshoe and spur", type: ARMOR
Can be worn.
Weight: 30, Cost: 600, Rent: 150(100)
Material : LEATHER, Max Durability : 250, Current Durability : 250
Uncomfortable: nothing
Unavailable : none
Requires transformations: 3
Has extra flags: blessed, resistant to magic,! indestructible
protection (AC) : 4
armor : 6
Gives you the following effects:
inclination.definition, prowess, alertness, stone.hand, air.aura, fiery.aura
Additional properties :
damage improves by 6
dexterity improves by 2
Change skills:
fighting on horseback improves by 20%
============
I created the trigger with AND/Multiline where I described each string for the 1st item (in this case I can catch only the first record of "Additional properties :"), but it doesn't match for the second item because needs a different template. I can create a few triggers for each structure but it's not good as I think, could you suggest any other solutions?