Jump to content

Recommended Posts

I'm making a mod that set more loot for mob and boss 

this work:


AddPrefabPostInit("hound", function(inst)
local SetSharedLootTable = GLOBAL.SetSharedLootTable

 SetSharedLootTable( 'hound',
  {
    {'houndstooth',  1.0},
    {'houndstooth',  1.0},
    {'monstermeat',  1.0},
  })

end) 

but this isn't work :<


AddPrefabPostInit("deerclops", function(inst)
local SetSharedLootTable = GLOBAL.SetSharedLootTable

 SetSharedLootTable( 'deerclops',
  {
    {'deerclops_eyeball',  1.0},
    {'deerclops_eyeball',  1.0},
    {'meat',  1.0},
    {'meat',  1.0},
    {'meat',  1.0},
    {'meat',  1.0},
    {'meat',  1.0},
    {'meat',  1.0},
  }) end)

 

Edited by bobenhbenh

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...