Notice to modders with item modifying codes. Rather than just saying 5 for your loops, you should adjust it to use the datablock's maxTools variable.(Which you should've been using anyways...)
Inventory Slot Count SupportAllows you to create/modify datablocks to have more or less slots.
DescriptionThis mod is completely server sided. No clients will need this to use extra slots.
To use this:
When making a datablock:
maxTools = ##;
(Note: Make sure to adjust maxWeapons, if maxWeapons is lower than maxtools, you will not be able to have a full inventory of weapons. To use:
maxWeapons = ##; )
Modifying a datablock:
datablockname.maxTools = ##;
(And for weapons:
datablockname.maxWeapons = ##; )
Example of a no-jet 10 slot player:
datablock PlayerData(PlayerNoJetTenSlots : PlayerStandardArmor)
{
minJetEnergy = 0;
jetEnergyDrain = 0;
canJet = 0;
uiName = "No-Jet 10 Slots";
showEnergyBar = false;
maxTools = 10;
maxWeapons = 10;
};
Example of modifying no-Jet player to have 10 slots:
PlayerNoJet.maxTools = 10;
PlayerNoJet.maxWeapons = 10;
DownloadSupport_InventorySlots.zip (Last Updated: Thu Dec 04, 2008 7:32 pm)
InstallationPut Support_InventorySlots.zip into the Add-Ons folder in your Blockland folder.
Click Here to view this file on the RTB Download Manager