<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=SetHasPolicy</id>
	<title>SetHasPolicy - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=SetHasPolicy"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=SetHasPolicy&amp;action=history"/>
	<updated>2026-04-06T19:08:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=SetHasPolicy&amp;diff=9431&amp;oldid=prev</id>
		<title>Killmeplease: Created page with &quot;==Description== Sets player having a specified policy. Increases next policy cost.  ==Example== ([http://forums.civfanatics.com/showpost.php?p=11268848&amp;postcount=12 by Androrc th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=SetHasPolicy&amp;diff=9431&amp;oldid=prev"/>
		<updated>2012-02-18T04:42:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Description== Sets player having a specified policy. Increases next policy cost.  ==Example== ([http://forums.civfanatics.com/showpost.php?p=11268848&amp;amp;postcount=12 by Androrc th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
Sets player having a specified policy. Increases next policy cost. &lt;br /&gt;
==Example==&lt;br /&gt;
([http://forums.civfanatics.com/showpost.php?p=11268848&amp;amp;postcount=12 by Androrc the Orc])&lt;br /&gt;
  function TheHumanGenomeProjectEffects( iPlayer )&lt;br /&gt;
  	local player = Players[iPlayer]&lt;br /&gt;
  	local team = Teams[player:GetTeam()]&lt;br /&gt;
  	local data = load( player, &amp;quot;TheHumanGenomeProjectApplied&amp;quot; ) or false&lt;br /&gt;
  &lt;br /&gt;
  	if (team:GetProjectCount(GameInfo.Projects[&amp;quot;PROJECT_THE_HUMAN_GENOME_PROJECT&amp;quot;].ID) &amp;gt; 0 and not data) then&lt;br /&gt;
  		player:SetHasPolicy(GameInfo.Policies[&amp;quot;POLICY_PROJECT_THE_HUMAN_GENOME_PROJECT&amp;quot;].ID, true)&lt;br /&gt;
  		save( player, &amp;quot;TheHumanGenomeProjectApplied&amp;quot;, true )&lt;br /&gt;
  	end&lt;br /&gt;
  end&lt;br /&gt;
  &lt;br /&gt;
  GameEvents.PlayerDoTurn.Add( TheHumanGenomeProjectEffects )&lt;/div&gt;</summary>
		<author><name>Killmeplease</name></author>
	</entry>
</feed>