Rivecoder Posted March 29, 2019 Share Posted March 29, 2019 So i'm pretty much a newbie with the modding stuff Recently i made a custom chest and i really want it to get highlighted with the 'show me' mod enabled, like if you select any item and if the chest has that item storaged, it will get that green color "Show me" mod has a .txt providing this code: TUNING.MONITOR_CHESTS = TUNING.MONITOR_CHESTS or {} TUNING.MONITOR_CHESTS.custom_chest = true -- For highlighting. in my case, 'custom_chest' is 'wavis_chest' However i don't really get where i have to put that code to make it work, can somebody help me? is it on the modmain, on the prefab file of the chest? if so, where exactly? Link to comment Share on other sites More sharing options...
Ultroman Posted March 29, 2019 Share Posted March 29, 2019 Just put it in modmain.lua Link to comment Share on other sites More sharing options...
Rivecoder Posted March 29, 2019 Author Share Posted March 29, 2019 6 minutes ago, Ultroman said: Just put it in modmain.lua I did and no changes at all Link to comment Share on other sites More sharing options...
Ultroman Posted March 29, 2019 Share Posted March 29, 2019 Did you do these two? Note: You should do this on client AND on the server, i.e. your mod should be "all clients require mod". Note 2: Your mod should have lower priority than mine. Priority of this mod = 0.00666155465 Also, since they don't seem to be using GLOBAL in their example, it looks like the code is instead meant to go in your prefab lua file. Try pasting it in at the top of that instead. Link to comment Share on other sites More sharing options...
Rivecoder Posted March 29, 2019 Author Share Posted March 29, 2019 3 minutes ago, Ultroman said: Did you do these two? Note: You should do this on client AND on the server, i.e. your mod should be "all clients require mod". Note 2: Your mod should have lower priority than mine. Priority of this mod = 0.00666155465 I didn't, what do i have to do then? 1 minute ago, Rivecoder said: I didn't, what do i have to do then? Nevermind i did it, Thanks a lot! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now