Basic items that need no special functionality (think sticks or sugar) don’t need custom classes. You can create an item by instantiate the <code><nowiki>Item</nowiki></code> class with an <code><nowiki>Item$Properties</nowiki></code> object. This <code><nowiki>Item$Properties</nowiki></code> object can be made calling the constructor and it can be customised by calling its methods. For instance:
+
Basic items that need no special functionality (think sticks or sugar) don’t need custom classes. You can create an item by instantiating the <code><nowiki>Item</nowiki></code> class with an <code><nowiki>Item$Properties</nowiki></code> object. This <code><nowiki>Item$Properties</nowiki></code> object can be made by calling the constructor and can be customised by calling its methods. For instance:
{| class="wikitable sortable" border=1
{| class="wikitable sortable" border=1
!Method !!Description
!Method !!Description
Line 24:
Line 24:
−
The above methods are chainable meaning they <code><nowiki>return this</nowiki></code> to facilitate calling them in series.
+
The above methods are chainable, meaning they <code><nowiki>return this</nowiki></code> to facilitate calling them in series.