Instance Properties: Difference between revisions

From APICO Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "ell fill this in thanks")
 
No edit summary
Line 1: Line 1:
<div class="aw">
ell fill this in thanks

<div class="aw-panel">

<div class="aw-panel--left">
<p>Every single instance in the game falls under a specific category of instance. The main ones you will interact with are the Player, Items, Objects, Menu Objects, Menus, and Slots! </p>
<p>Each instance has a set of built-in properties that you can get/set with <span class="aw-inline--code">[https://wiki.apico.buzz/wiki/Modding_API#api_get_property() api_get_property()()]</span> and <span class="aw-inline--code">[https://wiki.apico.buzz/wiki/Modding_API#api_set_property() api_set_property()()]</span>. This page aims to list all the properties you may find useful.</p>
</div>

<div class="aw-panel--right">
<div class="aw-info">
<p class="h"><i>Modding</i></p>
<p class="sh">Instance Properties</p>
</div>
</div>

</div>

<h2>Player (ob_player)</h2>
<p>The Player is a special instance of which there is only ever one.</p>
{| class="wikitable
! Property Key !! Description
|-
| acorn1 || tree acorns
|}

</div>

</div>

Revision as of 13:32, 6 November 2021

Every single instance in the game falls under a specific category of instance. The main ones you will interact with are the Player, Items, Objects, Menu Objects, Menus, and Slots!

Each instance has a set of built-in properties that you can get/set with api_get_property()() and api_set_property()(). This page aims to list all the properties you may find useful.

Modding

Instance Properties

Player (ob_player)

The Player is a special instance of which there is only ever one.

Property Key Description
acorn1 tree acorns