a_bertrand Posted March 30, 2012 Share Posted March 30, 2012 We just released the version 1.0.1 of the engine, which contains of course all the fixes and improvement of the different modules, but as well an improvement in the lib/items.php (which is the only file of the engine to be modified beside the config.xml of the engine to show the version number). The difference is that now the functions Item::UnEquip($slot) will return the un-equipped object if any and Item:Equip($slot) will return the previously equipped object on that same slot. For example you have rags equipped and you equip yourself with a leather armor, it will automatically un-equip the rags and equip the leather armor (as previously) but now it will as well return the rags as object. This is used in the inventory module to store the info in the action logs. If you don't want this, you could as well skip the release and run with the 1.0.0 version and just updates the modules manually. To upgrade, you can unzip the release and replace your old files: modules/config.xml libs/items.php with the new one found in the zip file. This is valid for both the full engine as well as the dev version. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.