<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.play.eco/en/index.php?action=history&amp;feed=atom&amp;title=Home_D%C3%A9cor_Modding</id>
	<title>Home Décor Modding - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.play.eco/en/index.php?action=history&amp;feed=atom&amp;title=Home_D%C3%A9cor_Modding"/>
	<link rel="alternate" type="text/html" href="https://wiki.play.eco/en/index.php?title=Home_D%C3%A9cor_Modding&amp;action=history"/>
	<updated>2026-06-04T06:50:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.play.eco/en/index.php?title=Home_D%C3%A9cor_Modding&amp;diff=7102&amp;oldid=prev</id>
		<title>Thetestgame: Initial tutorial and documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.play.eco/en/index.php?title=Home_D%C3%A9cor_Modding&amp;diff=7102&amp;oldid=prev"/>
		<updated>2021-05-01T04:30:16Z</updated>

		<summary type="html">&lt;p&gt;Initial tutorial and documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039;: The modding system is under heavy development. APIs are expected to change, which may break existing mods!  Feel free to update any information on this wiki that is out of date.&lt;br /&gt;
&lt;br /&gt;
== Ecko Statue Modding Tutorial ==&lt;br /&gt;
Starting in version 9.4 you can adjust the values of housing décor items from the new UserCode overrides and partial hook systems. This introductory is an tutorial into the new WorldObject housing item mod features and will help teach through modding a core object using partials to reduce the SkillValue of the Ecko statue by half.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tools required for this tutorial&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* A text editor/IDE&lt;br /&gt;
&lt;br /&gt;
=== Adjusting the default Housing Décor  values ===&lt;br /&gt;
Starting in version 9.4 the mods directory is split up into two parts a __core__ folder and a UserCode folder. __core__ contains the base objects and files created by the Eco team. For this tutorial we will be working out of the new UserCode directory. This folder is guaranteed to not change across server updates. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To start we will create a &amp;#039;&amp;#039;&amp;#039;EckoStatue.cs&amp;#039;&amp;#039;&amp;#039; file in our UserCode directory and populate it with a base partial class for the game&amp;#039;s Ecko Statue with our &amp;#039;&amp;#039;&amp;#039;ModsPreInitialize&amp;#039;&amp;#039;&amp;#039; hook to access the HomeValue object.&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
namespace Eco.Mods.TechTree&lt;br /&gt;
{&lt;br /&gt;
    // Partial class extending the built in __core__ mod EckoStatue class&lt;br /&gt;
    public partial class EckoStatueObject&lt;br /&gt;
    {&lt;br /&gt;
        partial void ModsPreInitialize()&lt;br /&gt;
        {&lt;br /&gt;
            EckoStatueItem.HomeValue.SkillValue = 50; // Accesses the SkillValue of the Ecko Statue and reduces it by half its normal value (Default: 100)&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
[[Category:Modding]]&lt;/div&gt;</summary>
		<author><name>Thetestgame</name></author>
	</entry>
</feed>