#1
|
||||
|
||||
Alchemy Mod
Well I've had the idea of working on an alchemy system since the initial Mys v1.3.0 release, but did not carry out for numerous reasons. Now I finally decided to give it a try and it took me only about 4-5 hours.
The idea of Alchemy is to mix two old items(called ingredients) to create a new item, which is normally rarer and more valuable(otherwise it does not justify the economics lol). The Alchemy Mod allows you to achieve just that, you can create some items that are rare or even impossible to obtain without performing alchemy. This will make your site considerably more interesting to a good number of your users, it also offers incentives for the act of item collection. Below is a screenshot of the basic alchemy page, which allows you to choose two items to produce a new one. Note at this time being only two items can be used to produce a new item, there is no way to mix more than two: This mod also comes with ACP integration, in which the admins can create alchemy practices that allow users to create new items from the old ones. Admins can also manipulate the settings for Alchemy System on their sites. The entire system can be turned on/off at will, while admins can specify whether alchemy success chance is 100% always or less. Other settings such as cost of action, recipe/license requirement for performing alchemy are also configurable. To install the mod, simply run the installer script located at yoursite.com/install/alchemy.php. If your site is in a subdirectory, just change the example url accordingly. I assume you all know what I mean by this so I wont explain further. If you have a brand new site or have never ever modified any part of the script, you may simply download the .rar file I provided and uploading them to your server through ftp. If the only changes you made are the mods I've offered lately(gender ratio and item drop), you may give a try just uploading the files as well as good chance my mods are compatible with each other. However, for advanced users who have heavily modified sites, you will need to make some changes manually. I will post a brief description on how to do that in the next post. At last, I hope you enjoy the new mod I've made for Mys v1.3.4, unlike the old ones like gender ratio which were simply revised to be compatible with the new version. You can edit the alchemy system to as you wish, maybe altering its user interface or adding more functionality(such as multiple item mix rather than just two), its all up to you. Hall of Famer
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#2
|
||||
|
||||
For advanced users who have heavily modified sites, you may follow the procedure below to install this mod on your site. Ignore this post if your site works fine with simply uploading/overwriting files.
First of all, upload and run the installer script at yoursite.com/install/alchemy.php. This step is identical for all users, unless you wish to create tables/insert rows into database manually, but will be a pain with this mod. Second, upload the following new files to your server. Most of these files do not exist in the base script so you wont run into file overwriting problems. The new files are: /admincp/alchemy.php /admincp/view/alchemyview.php /classes/class_alchemy.php /classes/class_alchemysetting.php /classes/class_alchemyvalidator.php /lang/admincp/lang_alchemy.php You may do the same for the lang file: lang_inventory.php since I assume nobody has ever modified it. If the answer is opposite however, you may wish to search through the differences of the two lang files to see how to append new lang vars to your site. It shouldnt be difficult. Alright then, in the next step you will need to modify some old script files. I hope you are ready. Now go to file /classes/class_adminsidebar.php and find these line: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
Simply amazing HOF =)
Thanks, might do something like this for evolution stones or something |
#4
|
||||
|
||||
I don't suppose it'd be possible to also share a .zip file? I can't work with .rar files :(
__________________
My Mods Site (1.3.4, 2020 Mods) |
#5
|
||||
|
||||
Sure I can, although an .rar file is not that hard to work with if you download winrar.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#6
|
||||
|
||||
O.O I love it!
|
#7
|
||||
|
||||
Oh thanks. ^^ I hope this will be a valuable tiny little addition to your site.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#8
|
|||
|
|||
Yeh that is an awesome idea, I wanted something like that on mine ages ago, but I think my coders on hiatus and my photoshops been refusing to work, and I've been busy so I havent had much time for it. ^_^' I know I was playing with the idea of using a system like this to create potions, or make jewellery and trinkets, ect. Is there any chance of this being compatible with older versions of Mysidia? >.>'
__________________
Chocolate butterfly cat pudding. o.o And since even the programming on this forum doesnt like me anymore heres my sites address. XD http://felkyocreatures.com/index.php |
#9
|
||||
|
||||
What version of Mysidia Adoptables are you using? It shouldnt be difficult to get it to work with Mys v1.3.3, but not sure for even older versions.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#10
|
|||
|
|||
Lol I'm sticking with 1.3.2... unless I go insane and try to upgrade. XD I was alright until I lost contact with my coder... I'm just praying nothing breaks now. >.>' And its okay if its too hard or difficult, I'll just have to either figure out something else, or just not do it. ^_^'
EDIT: My coders still around! :D She's just busy working on her own site, she said she'll take a quick look at this sometime. ^_^
__________________
Chocolate butterfly cat pudding. o.o And since even the programming on this forum doesnt like me anymore heres my sites address. XD http://felkyocreatures.com/index.php Last edited by Ruinily; 02-12-2014 at 02:11 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alchemy Mod - HoF | Nieth | Questions and Supports | 4 | 11-13-2015 11:52 AM |
What's New? |
What's Hot? |
What's Popular? |