macmac88 Posted May 18, 2021 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 05/15/21 Last Seen: August 30, 2021 Share Posted May 18, 2021 hi, can someone help me change multiple entry in item_db_equip.yml like changing only weapons to 4 slots and armor to 2 slots. what is the correct search query for this new item_db_equip.yml? Quote Link to comment Share on other sites More sharing options...
0 Magnetix Posted June 7, 2021 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share Posted June 7, 2021 If you're using Notepad++, try using regular expressions (regex) OR you can import item_db_equip then run an SQL command, something like UPDATE `item_db` SET `slots` = 4 WHERE `type` = 'Weapon'; ^this is for weapons, just change `type` for armors. Take note that using the above will make ALL weapons/armors 4 slotted. After making changes, you can export as csv and use the included tool csv2yaml. <---- not sure if it'll work since I haven't tried it myself I'm sure there are better ways of doing it. Quote Link to comment Share on other sites More sharing options...
Question
macmac88
hi,
can someone help me change multiple entry in item_db_equip.yml like
changing only weapons to 4 slots and armor to 2 slots.
what is the correct search query for this new item_db_equip.yml?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.