temnix Posted May 16, 2021 Share Posted May 16, 2021 I want to go through all areas and replace all items there - with the same resource names, but with a flag set now. If I only wanted to patch one concrete area and specific items there, I could use the REPLACE_AREA_ITEM function, but this one's doesn't seem to understand regular expressions, although the Weidu readme says otherwise. When I give it LPF REPLACE_AREA_ITEM STR_VAR old_item = ~\(.+\)~ new_item = ~\1~ flags = ~STOLEN~ END, I end up with \1.ITM items everywhere. I do use COPY_EXISTING_REGEXP GLOB. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.