Blockland Files > Add-Ons
Inventory Slot Count Support - Modify/Create players with more slots.
(1/9) > >>
Chrono:
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 Support
Allows you to create/modify datablocks to have more or less slots.

Description
This 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;

Download
Support_InventorySlots.zip (Last Updated: Thu Dec 04, 2008 7:32 pm)

Installation
Put Support_InventorySlots.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager
Zenthos:
Yay
Agent 1:
these pwn!thanks for these  :cookie:  :cookie: now to have 10 slots of grenades.>:D
Chrono:

--- Quote from: Agent 1 on December 04, 2008, 07:36:14 PM ---these pwn!thanks for these  :cookie:  :cookie:

--- End quote ---
Question, do you know what this does?
Hugums:
lol saw this on suggestions 10 minutes ago, that was fast.
Navigation
Message Index
Next page

Go to full version