DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • May 20, 2013, 09:26:53 PM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: IITEMS - Improbable Island Item System  (Read 1576 times)
0 Members and 1 Guest are viewing this topic.
CavemanJoe
Mod God
*****
Offline Offline

Posts: 555


Opener of WormCans


View Profile WWW
« on: June 07, 2010, 11:56:03 PM »

This is the item system in use on Improbable Island.

I need to write some documentation for this... honestly I don't know where to begin, so look for edits to this post. Smiley

In a nutshell: This is the most flexible item system available for LotGD today.  Out of the box it can support multiple inventories with soft or hard weight limits (soft weight limits require my Stamina system, updated version available soon), item images, verbose descriptions, application of buffs, the ability to use the item in admin-defined areas, and so on and so forth.

All iitems are basically serialized arrays.  The philosophy behind this is that any stat can be assigned to any iitem, with the eventual goal of replacing the core weapons and armour systems.  Let's take a throwing axe, for example - you might assign a buff that gets triggered when the player throws the axe in combat.  Later on, you write a system where the player can chop down trees to build things - well, now you can assign a value of, say, five to tree-chopping for the throwing axe.  Any of these stats can be read from the master iitem in the database, or read from the player's iitem stored in their inventory - so by specifying which stats get carried over into individual iitems, you can hook into the iitem as it is used and increment a "uses" counter, or decrement a "hitpoints" counter.  The axe can become rusty or dull over time.  You can override any of the default values you like on a per-iitem basis.

As of right now, it doesn't come with any pre-built iitems - I'll be posting a SQL statement for an iitem that'll really show off what the system can do.  Right now, you might want to just head over to improbableisland.com to see it in action for yourself. Smiley

File Submission Thread
Improbable Labs
Improbable Island
Logged

Astarael|Jack
Codemeister
****
Offline Offline

Posts: 440


Lord Procrastinator and King of Cheap


View Profile
« Reply #1 on: June 08, 2010, 01:56:32 AM »

says in his american-colonel voice*
Joe, you've done it again! Your fellow community is proud of you.

Honestly, now I want to play Improbable Island
Logged

TechnoWolf
Militia
**
Offline Offline

Posts: 19



View Profile
« Reply #2 on: July 15, 2010, 01:10:21 PM »

Awesome work Caveman Joe!!

Eagerly awaiting documentation / sql example!!!!
Logged
Loscil Derails
Militia
**
Offline Offline

Posts: 51



View Profile
« Reply #3 on: August 13, 2012, 05:15:05 PM »

Poked around with this module for a few days, can't seem to get it working properly. It is very unclear what to do, and a lot of things don't work.
Logged

Your specimen is being processed...
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
27 Guests, 2 Users
Fearme987, Aeo
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search