@Jarno Mikkola @jmerry @Graion Dilach
Follow up question if I may?
How do I restrict installation of a component to a specific game for example BGEE vs BG2EE?
I've been reviewing other mods and tried using REQUIRE_PREDICATE GAME IS ~bgee~ but that just returns an parse error
Thank you in advance, any assistance would be appreciated.
BACKUP ~Tome/Backup~
AUTHOR ~Greener~
VERSION ~1.0~
////////////////////////////////////// BGEE ////////////////////////////////////////
BEGIN ~Tome of Experience BGEE~
REQUIRE_PREDICATE GAME IS ~bgee~
COPY_EXISTING ~BOOK07.ITM~ ~override/WA3BOOK.ITM~
SAY NAME1 ~Book~
SAY NAME2 ~Tome of Experience~
SAY DESC ~Studying this tome teaches the reader skills and techniques never imagined possible. As if this isn't enough, the reader also gains 25,000 experience points. Unfortunately, the tome is consumed after a single use.
STATISTICS:
Experience: Raised by 25,000 points permanently
Special: The book is consumed upon use
Usage: Place into quick item slot
Weight: 5~
LPF ALTER_ITEM_EFFECT INT_VAR match_opcode = 6 check_headers = 1 new_opcode = 104 parameter1 = 25000 parameter2 = 0 END
SET newref = RESOLVE_STR_REF (~<GABBER>has gained 25,000 experience points.~)
LPF ALTER_ITEM_EFFECT INT_VAR match_opcode = 139 check_headers = 1 parameter1 = newref END
IF_EXISTS
////////////////////////////////////// BG2EE ////////////////////////////////////////
BEGIN ~Tome of Experience BG2EE~
REQUIRE_PREDICATE GAME IS ~bg2ee~
COPY_EXISTING ~BOOK07.ITM~ ~override/WA3BOOK.ITM~
SAY NAME1 ~Book~
SAY NAME2 ~Tome of Experience~
SAY DESC ~Studying this tome teaches the reader skills and techniques never imagined possible. As if this isn't enough, the reader also gains 25,000 experience points. Unfortunately, the tome is consumed after a single use.
STATISTICS:
Experience: Raised by 250,000 points permanently
Special: The book is consumed upon use
Usage: Place into quick item slot
Weight: 5~
LPF ALTER_ITEM_EFFECT INT_VAR match_opcode = 6 check_headers = 1 new_opcode = 104 parameter1 = 250000 parameter2 = 0 END
SET newref = RESOLVE_STR_REF (~<GABBER>has gained 250,000 experience points.~)
LPF ALTER_ITEM_EFFECT INT_VAR match_opcode = 139 check_headers = 1 parameter1 = newref END
IF_EXISTS