Does anyone here know the extend to which the interaction attached to books of the secrets of life and death work? i mean would it be possible to mod an item using a materialbreath by linking interactions starting from a book-template?
I'm not entirely certain what you're asking, but I'm pretty sure the answer is yes.
The Secret of life and death contains following line:
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE] // gods
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE] // plain research by reading?
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE] // Student and Master
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_death.txt] // gets written down
(Comments and
emphasis by me)
This gives you the ability to learn from various sources.
Thought let me get this straight you want to (for example) make a crossbow throw fireballs via a interaction? If so there is the following snippet (lifted from the fireimp):
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Hurl fireball]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:FLOW:FIREBALL]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
I dindt see any tags thought that add these abilities to actual objects. Potions work because they are a ingested material.