Search results
From Civilization Modding Wiki
Jump to navigationJump to search
- <code>'''int''' Area:GetNumResources<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:627 bytes (86 words) - 17:04, 19 September 2012
- <code>'''int''' Player:GetResourceFromMinors<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:649 bytes (86 words) - 08:36, 20 September 2012
- <code>'''bool''' City:SetResourceDemanded<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:640 bytes (86 words) - 18:19, 19 September 2012
- <code>'''bool''' City:IsHasResourceLocal<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:637 bytes (86 words) - 18:07, 19 September 2012
- <code>'''void''' Deal:RemoveResourceTrade<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:923 bytes (116 words) - 18:41, 19 September 2012
- ...ResourceType}} Map.GetRandomResourceQuantity<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:986 bytes (117 words) - 20:56, 19 September 2012
- <code>'''void''' Player:ChangeNumResourceTotal<b>(</b>{{Type5|ResourceType}} resource, '''int''' change<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:771 bytes (101 words) - 07:39, 20 September 2012
- <code>'''int''' Player:GetHappinessFromLuxury<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:962 bytes (120 words) - 09:43, 20 September 2012
- <code>'''int''' Map.GetNumResourcesOnLand<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:1 KB (126 words) - 20:55, 19 September 2012
- ...YieldRateModifier<b>(</b>{{Type5|YieldType}} index, {{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:847 bytes (107 words) - 17:54, 19 September 2012
- |The internal name of this Resource. |A reference to the text files, which contain an entry for this resource.7 KB (932 words) - 20:53, 11 April 2012
- <code>'''int''' Map.GetNumResources<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:1 KB (145 words) - 20:54, 19 September 2012
- ...urceRequiredForUnit<b>(</b>{{Type5|UnitType}} unit, {{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:1 KB (137 words) - 19:47, 19 September 2012
- <code>'''int''' Player:GetNumResourceUsed<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:1 KB (135 words) - 08:27, 20 September 2012
- <code>'''int''' Player:GetResourceImport<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:1 KB (137 words) - 08:36, 20 September 2012
- <code>'''bool''' Plot:CanHaveResource<b>(</b>{{Type5|ResourceType}} resource, '''bool''' ignoreLatitude<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:1 KB (146 words) - 10:05, 20 September 2012
- ...}}<syntaxhighlight lang="lua">if plot:GetResourceType(-1) == -1 then -- No resource here, safe to proceed.</syntaxhighlight> ..."lua">if res_plot:GetResourceType(-1) == -1 then -- Placing this strategic resource in this plot.</syntaxhighlight>5 KB (557 words) - 10:16, 20 September 2012
- ...l:ChangeResourceTrade<b>(</b>{{Type5|PlayerID}} us, {{Type5|ResourceType}} resource, '''int''' numResource, {{Type5|ResourceType}} dealDuration<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:1 KB (183 words) - 18:38, 19 September 2012
- ...Deal:AddResourceTrade<b>(</b>{{Type5|PlayerID}} us, {{Type5|ResourceType}} resource, '''int''' amount, {{Type5|ResourceType}} dealDuration<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:1 KB (183 words) - 18:39, 19 September 2012
- <code>'''int''' Player:GetResourceExport<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:2 KB (196 words) - 08:35, 20 September 2012
- Puts a resource on this plot. |valign="top"| ''The integer ID of the resource to place.''4 KB (395 words) - 22:19, 30 January 2014
- <code>'''int''' Player:GetNumResourceTotal<b>(</b>{{Type5|ResourceType}} resource, '''bool''' includeImport<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:2 KB (207 words) - 08:26, 20 September 2012
- ...{Type5|Area}}:{{Func5|Area|GetNumResources}}<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> ...eldRateModifier}}<b>(</b>{{Type5|YieldType}} index, {{Type5|ResourceType}} resource<b>)</b></code>19 KB (2,435 words) - 14:54, 19 September 2012
- ::Resource Icon ::Resource ID15 KB (1,890 words) - 19:24, 18 October 2011
- ...ins definitions for the Regions and is used only during map generation for resource placement.590 bytes (79 words) - 23:39, 11 August 2011
- |This is the resource that the Corporation produces. Can be "NONE". |This defines the extra commerce that the corporation provides, per resource the corporation consumes, using the iCommerceProduced integer tag. (Ex. 1005 KB (614 words) - 03:48, 18 October 2012
- {{CodeLine5|0516}}<syntaxhighlight lang="lua">-- Set up data for resource ID shortcuts.</syntaxhighlight>1 KB (126 words) - 16:46, 19 September 2012
- <code>'''int''' Player:GetNumResourceAvailable<b>(</b>{{Type5|ResourceType}} resource, '''bool''' includeImport<b>)</b></code> |valign="top" style="padding-right:6px;"|resource:4 KB (379 words) - 08:26, 20 September 2012
- ...radeableItems.TRADE_ITEM_RESOURCES, i, 1); -- 1 here is 1 quanity of the Resource, which is the minimum possible</syntaxhighlight> ...leItems.TRADE_ITEM_RESOURCES, resType, 1); -- 1 here is 1 quanity of the Resource, which is the minimum possible</syntaxhighlight>7 KB (844 words) - 18:45, 19 September 2012
- ...%" |<code>{{FuncLabel5|Map|GetNumResources}}<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code> ...ode>{{FuncLabel5|Map|GetNumResourcesOnLand}}<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code>11 KB (1,408 words) - 04:45, 25 January 2014
- |A reference to the text files, which contain an entry for this resource. |The chance that the resource will be discovered on the improvement plot. Each turn that the tile is work8 KB (1,034 words) - 02:02, 15 February 2011
- ...eLine5|1178}}<syntaxhighlight lang="lua">-- Place one large source of each resource type in each region.</syntaxhighlight>2 KB (235 words) - 13:59, 20 September 2012
- ...1134}}<syntaxhighlight lang="lua">local diceroll = Map.Rand(10000, "Choose resource type - Assign Luxury To Region - Lua");</syntaxhighlight> {{CodeLine5|1390}}<syntaxhighlight lang="lua">local diceroll = Map.Rand(3, "Resource selection - Place Small Quantities LUA");</syntaxhighlight>11 KB (1,261 words) - 09:19, 5 February 2014
- ...al|AddResourceTrade}}<b>(</b>{{Type5|PlayerID}} us, {{Type5|ResourceType}} resource, '''int''' amount, {{Type5|ResourceType}} dealDuration<b>)</b></code> ...ChangeResourceTrade}}<b>(</b>{{Type5|PlayerID}} us, {{Type5|ResourceType}} resource, '''int''' numResource, {{Type5|ResourceType}} dealDuration<b>)</b></code>15 KB (2,017 words) - 16:09, 19 September 2012
- {{CodeLine5|9657}}<syntaxhighlight lang="lua">-- Adjust appearance rate per Resource Setting chosen by user.</syntaxhighlight>2 KB (284 words) - 13:44, 20 September 2012
- ...endent files or parts of packages (archives). The VFS behaves as a unified resource loader.3 KB (507 words) - 12:21, 25 September 2012
- * [[resource]]4 KB (289 words) - 01:17, 3 October 2011
- |Provides the city with ''iFreeBonus'' (see below) number of a certain resource, like Hit Musicals (BONUS_DRAMA), Hit Songs (BONUS_MUSIC), or Hit Movies (B |The building blocks the resource from being accessed in the city. (Ex: National Park blocks coal).26 KB (3,265 words) - 01:48, 16 November 2012
- *[http://forums.civfanatics.com/showthread.php?t=93986 Creation Resource Library] by sourboy5 KB (739 words) - 21:14, 24 August 2012
- ..." |<code>{{FuncLabel5|Area|GetNumResources}}<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code>9 KB (1,240 words) - 15:16, 19 September 2012
- ...ayed at a distance from a source. Most notably, when you are zoomed into a resource (e.g. cows) on the map screen, they are louder the closer you are zoomed in6 KB (789 words) - 01:39, 3 October 2011
- ..."lua">if res_plot:GetResourceType(-1) == -1 then -- Placing this strategic resource in this plot.</syntaxhighlight>9 KB (927 words) - 20:49, 19 September 2012
- ...rceType(-1) == -1 and featureType ~= FeatureTypes.FEATURE_OASIS then -- No resource or Oasis here, safe to proceed.</syntaxhighlight>10 KB (1,027 words) - 10:11, 20 September 2012
- |Specifies the city production modifier for this project, when a bonus resource is available. The possible values are defined in the Terrain\Civ4BonusInfos9 KB (1,146 words) - 03:26, 3 October 2011
- ...eldRateModifier}}<b>(</b>{{Type5|YieldType}} index, {{Type5|ResourceType}} resource<b>)</b></code>15 KB (1,888 words) - 16:07, 19 September 2012
- ...items. For example, Tech A requires (Tech-B AND Tech-C) OR (Tech-D AND NOT Resource-E).8 KB (1,174 words) - 18:50, 15 October 2011
- * {{Type5|ResourceType}} and a quantity value. It can be any resource: gold, gems, horses, fish, etc.9 KB (1,281 words) - 12:11, 25 September 2012
- ...ceRequiredForUnit}}<b>(</b>{{Type5|UnitType}} unit, {{Type5|ResourceType}} resource<b>)</b></code>19 KB (2,539 words) - 14:58, 19 September 2012
- ...{{FuncLabel5|Player|ChangeNumResourceTotal}}<b>(</b>{{Type5|ResourceType}} resource, '''int''' change<b>)</b></code> ...{{FuncLabel5|Player|GetHappinessFromLuxury}}<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code>166 KB (21,025 words) - 16:10, 19 September 2012
- ...eldRateModifier}}<b>(</b>{{Type5|YieldType}} index, {{Type5|ResourceType}} resource<b>)</b></code> ...<code>{{FuncLabel5|City|IsHasResourceLocal}}<b>(</b>{{Type5|ResourceType}} resource<b>)</b></code>98 KB (12,644 words) - 16:48, 6 January 2014
- |Is a bonus (resource) type identifier, NONE for no bonus. Sets the bonus type that the event wil22 KB (3,173 words) - 04:42, 7 August 2010
- |If non-empty, specifies the bonus (resource) types that the plot must have to meet the condition. So,24 KB (3,372 words) - 20:34, 29 December 2010
- ...al|AddResourceTrade}}<b>(</b>{{Type5|PlayerID}} us, {{Type5|ResourceType}} resource, '''int''' amount, {{Type5|ResourceType}} dealDuration<b>)</b></code> ...ChangeResourceTrade}}<b>(</b>{{Type5|PlayerID}} us, {{Type5|ResourceType}} resource, '''int''' numResource, {{Type5|ResourceType}} dealDuration<b>)</b></code>94 KB (11,907 words) - 15:06, 19 September 2012
- | The resource needed to build this unit.23 KB (3,105 words) - 01:16, 3 October 2011
- ...ceRequiredForUnit}}<b>(</b>{{Type5|UnitType}} unit, {{Type5|ResourceType}} resource<b>)</b></code>64 KB (8,462 words) - 16:09, 19 September 2012
- ..." |<code>{{FuncLabel5|Plot|CanHaveResource}}<b>(</b>{{Type5|ResourceType}} resource, '''bool''' ignoreLatitude<b>)</b></code>73 KB (9,696 words) - 14:06, 20 February 2014
- |Number of or resource prereqs a unit can have26 KB (4,203 words) - 04:42, 5 January 2013
- ...RCE_MULTIPLIER||Integer||3||weight used to pick best new city location per resource75 KB (9,755 words) - 20:35, 13 January 2012