Preperations have started to launch V8.2, which will go live soon™. Whilst this update might not look like much on the surface to most, A LOT has changed under the hood. All the code involving items has changed.
Item rework
Items have been completely reworked. Rather than being all over the place in the script and stored in various ways, they're now all in one place and fully dynamic. Items also have various properties that sort-off emulate how they previously worked. You can find information about items and their properties
HERE
It's now also possible to dynamically assign "effects" to new items. Effects like healing, giving weapons, armour and much more can now be assigned to items and will trigger when an item is used (/use <item name>). All items may be used through /use.
Inventory and houselockers
Along the item rework, inventories and houselockers have also changed. These are now seperate entities as well, just like items. This allows us to assign a inventory to new or existing features with ease.
Player inventories have 15 slots. (+5 for premium level 5 and above).
Houselockers have 30 inventory slots.
If a player's premium expires, the items will remain available, however any item excess of the default 15 slots will be marked with a red background. You won't be able to withdraw/get any new items as your inventory would be considered "full".
Commands
Some commands have changed, and some have been added/removed.
New commands:
- /use
- Usage: /use <item name>
- Use an item in your inventory
- /items
- Usage: /items
- See a list of all items, selecting an option displays the item's properties.
Updated commands:
These commands might have their syntax changed. e.g.
/houselocker take materials 100 became
/houselocker take 100 materials.
- /houselocker
- /inventory
- /give
- /take
- /drop
- /frisk
- /sell
- And probably more that I forgot.
Removed commands:
- /usedrugs (replaced with /use)
- /myitems
New login screen
The old login screen felt a bit bland. Therefore I gave it some love and added an animation that roughly indicates how long you have left to log in, added some nice background music and some more info such as the script version and the date it was compiled.
Bugfixes/other changes
- - Fixed self-uninvite from team warning for t0.
- - Fixed first aid kit not resetting on death.
- - Fixed refueling a filled car not resetting refuel status, preventing you from refueling any other vehicle further.
- - Added numeric formatting to /wh take/deposit materials
- - /cuffjail message now shows the illegal items the player had on him.
- - Fixed a typo in the /sellhouse dialog.
Screenshots