MetallicSomber said:
I been using this for a while now myself, but the main issue players seem to have is, they can't place it anywhere but inside their houses. is there any way to allow for a version that will let players build their gardens, outside their houses, or on farm tiles? or garden deeds, like the Harvest System uses? Just allowing them the freedom of placeing them on any farm tile would help out alot.
There are parameters you can change in VinePlacement.cs, that will allow players to place vines outside there house. The default values for these only allow in house placement.
AllowPlayerYards - (default = false) - Option if your shard allows players to build outside their house foundation. Currently set to allow players to place within 5 tiles of house
AllowAllHouseTiles - (default = false) - Option to allow players to place on all house tiles or only on dirt or vinyard ground addon.
AllowAllYardTiles - (default = false) - Option to work when AllowPlayerYards is true. To allow players to place on any type of tile or only on ground and dirt tiles.
To allow players to place outside, but near their house, simply change AllowPlayerYards to true.
To increase the yard size to something larger than 5, change all of the 5's in the following code segment (in VinePlacement.cs...
Code:
if( loc.Y > m_From.Location.Y+5 || loc.Y < m_From.Location.Y-5 ) //Change the dimensions of the yard HERE
{
m_From.SendMessage( "This is outside of your yard. Please re-try the placement" );
return false;
}
if( loc.X > m_From.Location.X+5 || loc.X < m_From.Location.X-5 ) //and HERE
{
m_From.SendMessage( "This is outside of your yard. Please re-try the placement" );
return false;
}
If you really want to allow players to create vines anywhere on your shard (on farm, dirt, etc.), comment out the code above, set AllowPlayerYards to true, and leave AllowAllYardTiles = false.
Hope this helps