OSI Plant Growing (Updated 12/20)
Click here to download
Summary:
OSI plant growing system, including resources gathered from plants.
Description:
This is 100% exact to OSI plant gorwing system. Includes plant resources (green thorns, orange petals and red leaves). Also includes fertile dirt, vines and the codex of wisdom packet.
Installation:
Read the README.txt included in the zip file. It contains instructions on how to set up the plant system and how to add the changes to playermobile to have the orange petals work (poison immuninty).
NOTE: I didn't want to edit any base scripts but the only way to get the poison immunity for orange petals to work was by editing playermobile. However I did not change wipping vines and vorpal bunnies to be exact to OSI. So you'll have to add the vines on wipping vines yourself, the readme explains how. Also I did not edit the basebeverage script so you can only add water to plants thru the plant gump. Hopwfully if the devs see it fit for the distro they'll make the change to basebeverage so you can doubleclick a water pitcher and pour water on the plant.
Special thanks to silverwolfe and his shard for helping me gather the info on OSI and testing this package.
[EDIT] If you add the orange petals code into your custom playermobile (dovPlayerMobile for example) you'll also need to to change the following lines in PlantResources.cs from PlayerMobile to your custom Mobile (ie dovPlayerMobile):
line 582
line 584
line 605
line 607
Those should be the only change you need to make.
Updated 11/11 Fixed a small bug that dealt with healing diseased and poisoned plants and a bug regarding potion kegs. Only files you need to replace is PlantBowls.cs and Plantgumps.cs. Link to new zip updated.
Update 12/20 Fixed bug when target water pitcher it would not consume water. Fixed bugged that allowed duping deco plants.
If you don't feel like downloading the whole package you can make the changes manually to PlantGump.cs to fix these bug.
Right after line 526 which is [code:1]pot.Water = pot.Water + 1;[/code:1]add[code:1]bb.Quantity--;[/code:1]then at line 834 right before [code:1]from.SendGump( new ConfirmDecoMode ( from, pot ) );[/code:1] add [code:1]if ( !pot.Deleted )[/code:1]then what should be line 1131 (if you added the previous changes) change [code:1]if ( pot.Hits > 0 )[/code:1]to[code:1]if ( pot.Hits > 0 && !pot.Deleted )[/code:1]
Click here to download
Summary:
OSI plant growing system, including resources gathered from plants.
Description:
This is 100% exact to OSI plant gorwing system. Includes plant resources (green thorns, orange petals and red leaves). Also includes fertile dirt, vines and the codex of wisdom packet.
Installation:
Read the README.txt included in the zip file. It contains instructions on how to set up the plant system and how to add the changes to playermobile to have the orange petals work (poison immuninty).
NOTE: I didn't want to edit any base scripts but the only way to get the poison immunity for orange petals to work was by editing playermobile. However I did not change wipping vines and vorpal bunnies to be exact to OSI. So you'll have to add the vines on wipping vines yourself, the readme explains how. Also I did not edit the basebeverage script so you can only add water to plants thru the plant gump. Hopwfully if the devs see it fit for the distro they'll make the change to basebeverage so you can doubleclick a water pitcher and pour water on the plant.
Special thanks to silverwolfe and his shard for helping me gather the info on OSI and testing this package.
[EDIT] If you add the orange petals code into your custom playermobile (dovPlayerMobile for example) you'll also need to to change the following lines in PlantResources.cs from PlayerMobile to your custom Mobile (ie dovPlayerMobile):
line 582
line 584
line 605
line 607
Those should be the only change you need to make.
Updated 11/11 Fixed a small bug that dealt with healing diseased and poisoned plants and a bug regarding potion kegs. Only files you need to replace is PlantBowls.cs and Plantgumps.cs. Link to new zip updated.
Update 12/20 Fixed bug when target water pitcher it would not consume water. Fixed bugged that allowed duping deco plants.
If you don't feel like downloading the whole package you can make the changes manually to PlantGump.cs to fix these bug.
Right after line 526 which is [code:1]pot.Water = pot.Water + 1;[/code:1]add[code:1]bb.Quantity--;[/code:1]then at line 834 right before [code:1]from.SendGump( new ConfirmDecoMode ( from, pot ) );[/code:1] add [code:1]if ( !pot.Deleted )[/code:1]then what should be line 1131 (if you added the previous changes) change [code:1]if ( pot.Hits > 0 )[/code:1]to[code:1]if ( pot.Hits > 0 && !pot.Deleted )[/code:1]