various cross-user script bits?
Posted: Thu Jun 05, 2014 10:59 pm
Couple different things I'm wonder if possible.
Sell to building script - storage capacity effected by different building.
Player A owns Building 1 and Building 2
Player B wants to sell something to Building 1
Can the script somehow see if the owner of Building 1 also owns Building 2?
To go along with this.
Production Script - Automated storage in external building
When the production script for Building 1 runs, can it see if the owner of Building 1 also owns a Building 2 and then remove items from Building 1 and add them to Building 2?
Ideally building proximity would also play a roll in all this, either same town or tile distance. Don't need somebody having main buildings in one city and all the support buildings halfway across the map.
Something that I'm hoping to do for zoric is that players can build separate storage buildings which will be used by buildings they own to basically increasestorage capacity for both demanded and produced items. Along with having many other cross-building effects, like increasing qty produced or decreasing time to produce or resources needed. Even needing to own a certain building before a different building can produce items. Like needing to build a Hen House before a farm can produce Eggs.
Sell to building script - storage capacity effected by different building.
Player A owns Building 1 and Building 2
Player B wants to sell something to Building 1
Can the script somehow see if the owner of Building 1 also owns Building 2?
To go along with this.
Production Script - Automated storage in external building
When the production script for Building 1 runs, can it see if the owner of Building 1 also owns a Building 2 and then remove items from Building 1 and add them to Building 2?
Ideally building proximity would also play a roll in all this, either same town or tile distance. Don't need somebody having main buildings in one city and all the support buildings halfway across the map.
Something that I'm hoping to do for zoric is that players can build separate storage buildings which will be used by buildings they own to basically increasestorage capacity for both demanded and produced items. Along with having many other cross-building effects, like increasing qty produced or decreasing time to produce or resources needed. Even needing to own a certain building before a different building can produce items. Like needing to build a Hen House before a farm can produce Eggs.