Jump to content

camping.BaseballBat exists?


ExcentriCreation

Recommended Posts

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 :huh:

 

Seriously try making a test.lua file & add this line:

getPlayer():getInventory():AddItem("camping.BaseballBat");
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...