ExcentriCreation Posted March 27, 2014 Share Posted March 27, 2014 SO, for lack of a general discussion area for modding I thought I would post this here....While writing a "parser" (for lack of a better word) for NecroForge, I found myself with a list of item type data with no module references. So, Ok, fair enough, I'll record all of the module names used in the distribution tables then test them against the type data to see which ones make real items.... It turns out ALL of them could use ANY of the existing module references & successfully spawn that item Seriously try making a test.lua file & add this line:getPlayer():getInventory():AddItem("camping.BaseballBat"); Link to comment Share on other sites More sharing options...
ExcentriCreation Posted March 28, 2014 Author Share Posted March 28, 2014 Oh come on.... I can't seriously be the only person shocked by the fact that the module reference is irrelevant Link to comment Share on other sites More sharing options...
Japer Posted March 28, 2014 Share Posted March 28, 2014 Im in the same boat, but I also found that for stuff in the camping module you cannot use base reference.Maybe if said item is in the base module then the module reference is irrelevant? Link to comment Share on other sites More sharing options...
ExcentriCreation Posted March 28, 2014 Author Share Posted March 28, 2014 Really?.... Before I fix up my "parser" I'll write it to check exactly what Items can use what module references. Although I'm only getting one reference for for Flint & Steel knuckle so, yeah, your probably right.... Still weird though Link to comment Share on other sites More sharing options...
Japer Posted March 28, 2014 Share Posted March 28, 2014 It could just be how the game loads and references items, im a noob when it comes to coding but it seems a logical way, loads up the base items then has to have referenced items to other modules, much like modded items. 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