ThorHammerz
zzz
- Joined
- Jul 31, 2014
- Messages
- 836
Hi all, quick (or not-so-quick ) question for those of you who have messed around with the resource placement logic:
Resource_FeatureBooleans
Resource_FeatureTerrainBooleans
Resource_TerrainBooleans
Are these tables actually referenced by whatever subroutine AssignStartingPlots.lua calls to check if a specific resource can be placed at a plot?
If so, does the game run an AND or a OR check on these tables (because some resources show up more than once, some do not show up at all) to determine plot validity?
And lastly, does anyone know which .lua script (and function) this is all processed in? It is not in ASP.lua as far as I can tell (apart from the logic pre-determining what types of resources can be initially placed in each 'region').
Resource_FeatureBooleans
Resource_FeatureTerrainBooleans
Resource_TerrainBooleans
Are these tables actually referenced by whatever subroutine AssignStartingPlots.lua calls to check if a specific resource can be placed at a plot?
If so, does the game run an AND or a OR check on these tables (because some resources show up more than once, some do not show up at all) to determine plot validity?
And lastly, does anyone know which .lua script (and function) this is all processed in? It is not in ASP.lua as far as I can tell (apart from the logic pre-determining what types of resources can be initially placed in each 'region').