Anyone know how this works? I opened it up in Near Infinity, as well as vanilla scroll cases, gem bags, etc... and I cannot find the mechanism used to distinguish between what kind of item can be placed inside.
What am I missing?
Its defined in the identically named Store file(.STO), as item categories it can "Buy".
Hi @sarge945, I already use this in IWDEE, I just console the item into my inventory (item code = WANDCASE). I suspect then that it would only need to be introduced into a store somewhere, or a drop, depending when or where you would like it.
It would make sense in every general store that holds other bags/cases. Would this be possible?
If someone can link to a tutorial to add items to a list, I think it would be a good example for a "first mod", so I could probably do it myself and then release it (if the original author is okay with that).
But looking at other mods is probably the best way to learn.
For example, this mod:
If you open GameFolder\Wandcase\wandcase.tp2, you would get the sense of how to add the item to a store. ie: this section adds the item to HighHedge in BG1:
// Add WandCase to BG1 stores
ACTION_IF GAME_IS ~BGEE BGT EET~ THEN BEGIN
COPY_EXISTING ~HIGHHEDG.sto~ ~override~
ADD_STORE_ITEM ~WANDCASE~ AFTER ~BAG06~ #0 #0 #0 ~IDENTIFIED~ #1
END ELSE ACTION_IF GAME_IS ~TUTU TUTU_TOTSC~ THEN BEGIN
COPY_EXISTING ~_IGHHEGD.sto~ ~override~
ADD_STORE_ITEM ~WANDCASE~ #0 #0 #0 ~IDENTIFIED~ #1
END
The thing you would need to add to the .tp2 is asking the question, is this IWDEE? Then which store you want to add to. Find the store you want to place it in and let the .tp2 know what to do if the game is IWDEE. As an example, this adds the Wandcase to Pomab's Emporium and Temple of Tempus (after the scroll case in both):
// Add WandCase to IWDEE stores
ACTION_IF GAME_IS ~IWDEE~ THEN BEGIN
COPY_EXISTING ~EHPOMAB.sto~ ~override~ // (Pomab's Emporium)
ADD_STORE_ITEM ~WANDCASE~ AFTER ~SCRCS01~ #0 #0 #0 ~IDENTIFIED~ #1
COPY_EXISTING ~EHTEMPLE.sto~ ~override~ // (Temple of Tempus)
ADD_STORE_ITEM ~WANDCASE~ AFTER ~SCRCS01~ #0 #0 #0 ~IDENTIFIED~ #1
END
Although it appears that every coder has their way of presenting things, there are alot of mods that contain information inside that makes it readable by you and I.
I have created a new version.
1. there is a german translation
2. the wandcase can't be sold now (as well as the other containers)
3. the price was adjusted to the other container
Comments
Gus
If someone can link to a tutorial to add items to a list, I think it would be a good example for a "first mod", so I could probably do it myself and then release it (if the original author is okay with that).
There are some info in the General Modding section like: How to do stuff in WeiDU.
But looking at other mods is probably the best way to learn.
For example, this mod:
If you open GameFolder\Wandcase\wandcase.tp2, you would get the sense of how to add the item to a store. ie: this section adds the item to HighHedge in BG1:
ACTION_IF GAME_IS ~BGEE BGT EET~ THEN BEGIN
COPY_EXISTING ~HIGHHEDG.sto~ ~override~
ADD_STORE_ITEM ~WANDCASE~ AFTER ~BAG06~ #0 #0 #0 ~IDENTIFIED~ #1
END ELSE ACTION_IF GAME_IS ~TUTU TUTU_TOTSC~ THEN BEGIN
COPY_EXISTING ~_IGHHEGD.sto~ ~override~
ADD_STORE_ITEM ~WANDCASE~ #0 #0 #0 ~IDENTIFIED~ #1
END
The thing you would need to add to the .tp2 is asking the question, is this IWDEE? Then which store you want to add to. Find the store you want to place it in and let the .tp2 know what to do if the game is IWDEE. As an example, this adds the Wandcase to Pomab's Emporium and Temple of Tempus (after the scroll case in both):
// Add WandCase to IWDEE stores
ACTION_IF GAME_IS ~IWDEE~ THEN BEGIN
COPY_EXISTING ~EHPOMAB.sto~ ~override~ // (Pomab's Emporium)
ADD_STORE_ITEM ~WANDCASE~ AFTER ~SCRCS01~ #0 #0 #0 ~IDENTIFIED~ #1
COPY_EXISTING ~EHTEMPLE.sto~ ~override~ // (Temple of Tempus)
ADD_STORE_ITEM ~WANDCASE~ AFTER ~SCRCS01~ #0 #0 #0 ~IDENTIFIED~ #1
END
Although it appears that every coder has their way of presenting things, there are alot of mods that contain information inside that makes it readable by you and I.
Hope that helps
Gus
ERROR: Failure("No rule to identify EET")
Use the More Style for Mages (MSFM) mod or EET Tweaks mod, each of which includes a scroll case and should be EET compatible!
1. there is a german translation
2. the wandcase can't be sold now (as well as the other containers)
3. the price was adjusted to the other container