Search results
From Civilization Modding Wiki
Jump to navigationJump to search
- ...or Modding.AnyActivatedModsContainPropertyValue("DisableQuickSave", "1");</syntaxhighlight> ...or Modding.AnyActivatedModsContainPropertyValue("DisableLoadGameOption", "1");</syntaxhighlight>2 KB (164 words) - 06:37, 20 September 2012
- ...light lang="lua">if (Game.GetFounder(GameInfoTypes["RELIGION_ORTHODOXY"], -1) == iPlayerLoop) then</syntaxhighlight> ...highlight lang="lua">if (Game.GetFounder(GameInfoTypes["RELIGION_ISLAM"], -1) == iPlayerLoop) then</syntaxhighlight>1 KB (179 words) - 20:17, 19 September 2012
- {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"3 KB (426 words) - 01:13, 3 October 2011
- ...<syntaxhighlight lang="lua">if(Teams[iTeam]:GetProjectCount(apolloProj) == 1) then</syntaxhighlight> ...ine5|0320}}<syntaxhighlight lang="lua">if(v:GetProjectCount(apolloProj) == 1) then</syntaxhighlight>2 KB (208 words) - 11:26, 20 September 2012
- ...integers. So do not use <code>true</code> or <code>false</code>, use <code>1</code> and <code>0</code>. <Red>0.1</Red>4 KB (457 words) - 12:09, 25 September 2012
- {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" | MaxGlobalInstances || integer|| -1||1 KB (172 words) - 01:44, 3 October 2011
- {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"2 KB (308 words) - 05:36, 5 January 2013
- ...lizeAndSetText( "TXT_KEY_MULTIPLAYER_DEFAULT_TEAM_NAME", g_pTeam:GetID() + 1 );</syntaxhighlight> ...eAndSetText( "TXT_KEY_MULTIPLAYER_DEFAULT_TEAM_NAME", pOtherTeam:GetID() + 1 );</syntaxhighlight>3 KB (336 words) - 11:22, 20 September 2012
- ...lyCity = Game.GetHolyCityForReligion(GameInfoTypes["RELIGION_ORTHODOXY"], -1);</syntaxhighlight> ...amHolyCity = Game.GetHolyCityForReligion(GameInfoTypes["RELIGION_ISLAM"], -1);</syntaxhighlight>2 KB (223 words) - 20:15, 19 September 2012
- {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"3 KB (403 words) - 22:26, 14 January 2013
- {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" '''Plural''' (optional) - 0 = singular, 1 = plural. Many text keys have 0:1 to include both singular and plural. Usually used where the plural is some2 KB (321 words) - 13:28, 18 May 2010
- ...n(a,b) return Locale.Compare(a.LeaderDescription, b.LeaderDescription) == -1; end);</syntaxhighlight> ...axhighlight lang="lua">return Locale.Compare(a.entryName, b.entryName) == -1;</syntaxhighlight>6 KB (741 words) - 20:39, 19 September 2012
- ...5|0092}}<syntaxhighlight lang="lua">pPlot:ChangeVisibilityCount(team, -1, -1, true, true);</syntaxhighlight> ...e5|0096}}<syntaxhighlight lang="lua">pPlot:ChangeVisibilityCount(team, 1, -1, true, true);</syntaxhighlight>2 KB (186 words) - 10:08, 20 September 2012
- ...ht lang="lua">pCity:SetNumRealBuilding(GameInfoTypes["BUILDING_MONUMENT"], 1);</syntaxhighlight> ...}}<syntaxhighlight lang="lua">pVaticanCity:SetNumRealBuilding(iBuildingID, 1);</syntaxhighlight>2 KB (171 words) - 18:18, 19 September 2012
- {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" All of these can either be 1 (on, or true) or 0 (off, or false). Be careful, as you can wind up with a2 KB (273 words) - 22:23, 14 January 2013
- {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"2 KB (281 words) - 18:19, 24 April 2010
- ...ine5|0398}}<syntaxhighlight lang="lua">plot:SetFeatureType(featureForest, -1);</syntaxhighlight> ...Line5|0407}}<syntaxhighlight lang="lua">plot:SetFeatureType(featureMarsh, -1);</syntaxhighlight>9 KB (888 words) - 10:40, 20 September 2012
- fromCity:'''''SetPopulation'''''(fromCity:GetPopulation() - 1, true); --decrease population in a source city toCity:'''''SetPopulation'''''(toCity:GetPopulation() + 1, true); --increase population in a destination city901 bytes (113 words) - 08:51, 16 February 2012
- ...iPlayer, g_iUs, TradeableItems.TRADE_ITEM_RESOURCES, i, 1); -- 1 here is 1 quanity of the Resource, which is the minimum possible</syntaxhighlight> ...adeItem(g_iUs, g_iThem, TradeableItems.TRADE_ITEM_GOLD, 1); -- 1 here is 1 Gold, which is the minimum possible</syntaxhighlight>7 KB (844 words) - 18:45, 19 September 2012
- local mountains = Fractal.Create(iW, iH, 3, {FRAC_WRAP_X = true}, -1, -1) mountains:BuildRidges((iW * iH) / 200, {}, 1, 1)4 KB (465 words) - 00:06, 26 January 2014