View topic - realtime metal extraction info



All times are UTC + 1 hour


Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 16 Nov 2011, 05:23 
User avatar

Joined: 07 Sep 2010, 17:47
Is there a unit property of how much metal the unit is extracting? There is the unitDef "metalMake", but that only applies to metal makers and the commander. There is also the unitDef "extractsMetal", but that only tells me the fraction of the metal it extracts from a given spot. I'm making a widget that quantitatively assesses the economic importance of structures in a grid. (Eventually this function will be part of an AI.)


Top
 Offline Profile  
 
PostPosted: 16 Nov 2011, 12:56 
Moderator

Joined: 12 Oct 2007, 08:24
Spring.GetUnitResources or Spring.GetUnitMetalExtraction depending on exactly what you want to do.


Top
 Offline Profile  
 
PostPosted: 16 Nov 2011, 20:59 
User avatar

Joined: 07 Sep 2010, 17:47
Google_Frog wrote:
Spring.GetUnitResources or Spring.GetUnitMetalExtraction depending on exactly what you want to do.


Ah, thank you.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.