donghuangyi Posted October 25, 2022 Share Posted October 25, 2022 I want put something which one player cannot created on the ground with using console commands. but i don't know the code of the item, so i searched it from "Don't Starve Wiki | Fandom" but no results found. Then i notice that sometimes you can find some codes in files like "tuning.lua" and the filename under the folder "prefabs" but not full.so i believe that there must be one way to get all item code by searching the game file contents.Is there someone can teach me how to get the code in game files ? Link to comment https://forums.kleientertainment.com/forums/topic/144069-how-to-get-item-codes-in-game-files/ Share on other sites More sharing options...
Haruhi Kawaii Posted October 26, 2022 Share Posted October 26, 2022 Not sure what you're looking for but on the Don't Starve Wiki | Fandom has most of the items, give items you can use [TMIP]Too Many Items Plus if you are admin, items on the ground can use c_select(), also you can use Prefab ID Concatenator 1 Link to comment https://forums.kleientertainment.com/forums/topic/144069-how-to-get-item-codes-in-game-files/#findComment-1604692 Share on other sites More sharing options...
donghuangyi Posted October 26, 2022 Author Share Posted October 26, 2022 11 hours ago, Haruhi Kawaii said: Not sure what you're looking for but on the Don't Starve Wiki | Fandom has most of the items, give items you can use [TMIP]Too Many Items Plus if you are admin, items on the ground can use c_select(), also you can use Prefab ID Concatenator Wonderful! Thanks! But i usually play the admin in the game, what do you mean ' use c_select() '?, can this command show the name of one item? how to do that? Teach me please! Link to comment https://forums.kleientertainment.com/forums/topic/144069-how-to-get-item-codes-in-game-files/#findComment-1604727 Share on other sites More sharing options...
Haruhi Kawaii Posted October 27, 2022 Share Posted October 27, 2022 (edited) 11 hours ago, donghuangyi said: Wonderful! Thanks! But i usually play the admin in the game, what do you mean ' use c_select() '?, can this command show the name of one item? how to do that? Teach me please! Move the mouse over the item, then type ~ > c_select() > ~ , there is also another manual way to get the prefab id of a mod, check client_log.txt and look for Registering prefabs Edited October 27, 2022 by Haruhi Kawaii Link to comment https://forums.kleientertainment.com/forums/topic/144069-how-to-get-item-codes-in-game-files/#findComment-1604781 Share on other sites More sharing options...
donghuangyi Posted October 27, 2022 Author Share Posted October 27, 2022 2 hours ago, Haruhi Kawaii said: Move the mouse over the item, then type ~ > c_select() > ~ , there is also another manual way to get the prefab id of a mod, check client_log.txt and look for Registering prefabs Desktop Thứ Năm 27-10-2022 8-03-04 SA.mp4 Thank you very much! Now i finally get it! Link to comment https://forums.kleientertainment.com/forums/topic/144069-how-to-get-item-codes-in-game-files/#findComment-1604797 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