<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Culture%3ACreate</id>
	<title>Culture:Create - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Culture%3ACreate"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Culture:Create&amp;action=history"/>
	<updated>2026-05-26T03:58:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=Culture:Create&amp;diff=1206&amp;oldid=prev</id>
		<title>Tayfunwiki at 11:50, 3 March 2024</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Culture:Create&amp;diff=1206&amp;oldid=prev"/>
		<updated>2024-03-03T11:50:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:50, 3 March 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             new[] { &amp;quot;Eleanor&amp;quot;, &amp;quot;Isabella&amp;quot;, &amp;quot;Margaret&amp;quot;, &amp;quot;Matilda&amp;quot;, &amp;quot;Beatrice&amp;quot; },&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             new[] { &amp;quot;Eleanor&amp;quot;, &amp;quot;Isabella&amp;quot;, &amp;quot;Margaret&amp;quot;, &amp;quot;Matilda&amp;quot;, &amp;quot;Beatrice&amp;quot; },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             new[] { &amp;quot;William&amp;quot;, &amp;quot;Henry&amp;quot;, &amp;quot;Richard&amp;quot;, &amp;quot;Edward&amp;quot;, &amp;quot;Geoffrey&amp;quot; });&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             new[] { &amp;quot;William&amp;quot;, &amp;quot;Henry&amp;quot;, &amp;quot;Richard&amp;quot;, &amp;quot;Edward&amp;quot;, &amp;quot;Geoffrey&amp;quot; });&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        IM.Player.SetCulture(newCulture);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=Culture:Create&amp;diff=1205&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;= Culture Creation Documentation =  == Overview == The &lt;code&gt;Culture&lt;/code&gt; class provides a method to create and manage cultural identities with specific attributes. This documentation focuses on the &lt;code&gt;Create&lt;/code&gt; method, explaining its usage, parameters, return types, and provides an example implementation for creating a culture.  == Create Method ==  ==== Description ==== Creates a new culture with specified attributes and integrates it into the system. This met...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Culture:Create&amp;diff=1205&amp;oldid=prev"/>
		<updated>2024-03-03T11:41:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Culture Creation Documentation =  == Overview == The &amp;lt;code&amp;gt;Culture&amp;lt;/code&amp;gt; class provides a method to create and manage cultural identities with specific attributes. This documentation focuses on the &amp;lt;code&amp;gt;Create&amp;lt;/code&amp;gt; method, explaining its usage, parameters, return types, and provides an example implementation for creating a culture.  == Create Method ==  ==== Description ==== Creates a new culture with specified attributes and integrates it into the system. This met...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Culture Creation Documentation =&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The &amp;lt;code&amp;gt;Culture&amp;lt;/code&amp;gt; class provides a method to create and manage cultural identities with specific attributes. This documentation focuses on the &amp;lt;code&amp;gt;Create&amp;lt;/code&amp;gt; method, explaining its usage, parameters, return types, and provides an example implementation for creating a culture.&lt;br /&gt;
&lt;br /&gt;
== Create Method ==&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
Creates a new culture with specified attributes and integrates it into the system. This method ensures that each culture is unique within the system and properly managed.&lt;br /&gt;
&lt;br /&gt;
==== Signature ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public static Culture Create(string cultureName, string description, Sprite icon = null, IEnumerable&amp;lt;string&amp;gt; femaleNames = null, IEnumerable&amp;lt;string&amp;gt; maleNames = null)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cultureName&amp;lt;/code&amp;gt; (string): The name of the culture.&lt;br /&gt;
* &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; (string): A brief description of the culture.&lt;br /&gt;
* &amp;lt;code&amp;gt;icon&amp;lt;/code&amp;gt; (Sprite, optional): A visual representation (icon) of the culture.&lt;br /&gt;
* &amp;lt;code&amp;gt;femaleNames&amp;lt;/code&amp;gt; (IEnumerable&amp;lt;string&amp;gt;, optional): A collection of common female names within the culture.&lt;br /&gt;
* &amp;lt;code&amp;gt;maleNames&amp;lt;/code&amp;gt; (IEnumerable&amp;lt;string&amp;gt;, optional): A collection of common male names within the culture.&lt;br /&gt;
&lt;br /&gt;
==== Returns ====&lt;br /&gt;
If a culture with the same name exists, it returns the existing culture; otherwise, it creates and returns a new culture.&lt;br /&gt;
&lt;br /&gt;
==== Example Usage ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
using Nullframes.Intrigues;&lt;br /&gt;
using UnityEngine;&lt;br /&gt;
&lt;br /&gt;
public class Runtime : MonoBehaviour {&lt;br /&gt;
    public Sprite icon;&lt;br /&gt;
&lt;br /&gt;
    private void Start() {&lt;br /&gt;
        CreateNewCulture();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private void CreateNewCulture() {&lt;br /&gt;
        Culture newCulture = Culture.Create(&amp;quot;Varag&amp;quot;, &amp;quot;Description&amp;quot;, icon,&lt;br /&gt;
            new[] { &amp;quot;Eleanor&amp;quot;, &amp;quot;Isabella&amp;quot;, &amp;quot;Margaret&amp;quot;, &amp;quot;Matilda&amp;quot;, &amp;quot;Beatrice&amp;quot; },&lt;br /&gt;
            new[] { &amp;quot;William&amp;quot;, &amp;quot;Henry&amp;quot;, &amp;quot;Richard&amp;quot;, &amp;quot;Edward&amp;quot;, &amp;quot;Geoffrey&amp;quot; });&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
&lt;br /&gt;
* Uniqueness Check: The method checks for the existence of a culture with the provided name to ensure uniqueness. If an existing culture is found, it logs a debug message and returns the existing culture to prevent duplication.&lt;br /&gt;
* Culture Attributes: The method allows for a flexible definition of a culture, including visual representation and gender-specific names, which can be used to enrich the cultural context within the system.&lt;br /&gt;
* Error Handling: It is advisable to implement error handling for scenarios where the culture creation process might encounter issues, such as missing attributes or system integration failures.&lt;br /&gt;
* System Integration: Once a culture is created, it can be integrated into various parts of the system, such as character creation, storytelling elements, or any other feature that requires cultural context.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>