# Database

The database in Punkland Studio allows you to edit and manage various game-related data, such as characters, jobs, items, monsters, skills, animations, states, compendiums, tilesets, common events, and system data.

**1. Opening the Database Editor**

* **Method 1**: Click **\[Tools]** in the top menu and then select **\[Database]**.
* **Method 2**: Click the **\[Database]** icon on the toolbar (refer to the red box in the screenshot).

After editing database items, click **\[Apply]** and **\[OK]** to save the settings and apply them to your current game.

<figure><img src="/files/gUrljiclykTpUmnc7uyV" alt=""><figcaption></figcaption></figure>

**2. Changing Maximum Values**

* Click **\[Set Maximum]** to open the **\[Set Maximum]** popup window.
* Adjust the maximum value in the popup and click **\[OK]** to save. The changes will be applied to the current game.

  * **Example**: Adjusting the character maximum value will open a **\[Set Maximum]** popup where you can modify the value. Click **\[OK]** to apply the changes.
  *

  ```
  <figure><img src="/files/GmOsqDoI4t7vc66ponCC" alt=""><figcaption></figcaption></figure>
  ```

**3. Character Settings**

* Editable Fields:

  * Name
  * Graphic
  * Movement Speed
  * Jump Power
  * Attributes
  * Notes

  <figure><img src="/files/TE3CvexWffnBob4Oxh6f" alt=""><figcaption></figcaption></figure>

**4. Job Settings**

* Editable Fields:

  * Name
  * Max Level
  * Max HP/MP
  * Attack/Defense
  * Magic Attack/Defense
  * Agility
  * Luck
  * Default Skills
  * Attributes
  * Notes

  <figure><img src="/files/wiIXXS7hESULQ2eaxmDn" alt=""><figcaption></figcaption></figure>

**5. Item Settings**

* Editable Fields:

  * Name
  * Icon
  * Description
  * Type
  * Price
  * Cooldown
  * Animation
  * Selling Price
  * Trade Permissions
  * Drop Permissions
  * Sale Permissions
  * Storage Transferability
  * Max Quantity
  * Action Name
  * Damage Type
  * Formula
  * Critical Option
  * Attributes
  * Notes

  <figure><img src="/files/IfmcGOBmK1stD7Tg6r12" alt=""><figcaption></figcaption></figure>

**6. Monster Settings**

* Editable Fields:

  * Name
  * Graphic
  * Experience Points
  * Attack Type
  * Player Collision
  * Terrain Collision
  * Max HP/MP
  * Attack/Defense
  * Magic Attack/Defense
  * Agility
  * Luck
  * Min/Max Gold
  * Min/Max Level
  * Team Tags
  * Attributes
  * Notes

  <figure><img src="/files/ThLSrSMOJLBJsVNaxnbv" alt=""><figcaption></figcaption></figure>

**7. Skill Settings**

* Editable Fields:

  * Name
  * Icon
  * Description
  * Animation
  * Cooldown
  * HP/MP Consumption
  * Action Name
  * Skill Type
  * Damage Type
  * Damage Formula
  * Critical Option
  * Attributes
  * Notes

  <figure><img src="/files/iy168oWvEDO3r3sBbpkl" alt=""><figcaption></figcaption></figure>

**8. Animation Settings**

* Editable Fields:

  * Name
  * Graphic
  * Add/Delete/Copy Commands
  * Play Animation
  * Toggle Collision Area Display
  * Toggle SE Playback
  * Attributes

  <figure><img src="/files/aP97eDYSigh7O0GdfBwI" alt=""><figcaption></figcaption></figure>

**9. State Settings**

* Editable Fields:

  * Name
  * Icon
  * Description
  * Type
  * Animation Toggle
  * Duration
  * Removal Upon Death
  * Continuous Effects (Type, Time, Formula, Critical Option)
  * Attributes
  * Notes

  <figure><img src="/files/yj4PdHsceDEq4H0r9djj" alt=""><figcaption></figcaption></figure>

**10. Compendium Settings**

* Editable Fields:

  * Name
  * Icon
  * Description
  * Item ID/Quantity
  * Reward Item/Quantity
  * Reward Gold
  * Attributes
  * Notes

  <figure><img src="/files/ey8dU8gz4oGUYDcQhjmR" alt=""><figcaption></figcaption></figure>

**11. Tileset Settings**

* Editable Fields:

  * Name
  * Tileset
  * Autotiles
  * Fog
  * Panorama
  * Movement Permissions
  * Four-Directional Movement Permissions
  * Priority
  * Bushes
  * Tags

  <figure><img src="/files/pOXkval69r8CSaNu585O" alt=""><figcaption></figcaption></figure>

**12. Common Events Settings**

* Editable Fields:

  * Name
  * Trigger Conditions
  * Conditional Variables
  * Commands

  <figure><img src="/files/Z872MWzHNhb2FqRTk8VK" alt=""><figcaption></figcaption></figure>

**13. System Settings**

* Editable Fields:

  * Default Character
  * Game Name
  * Control Settings
  * Fatigue Settings
  * System Settings:
    * Title Image
    * Window Skin
    * Button Skin
    * Screen Resolution
    * Button SE
    * Damage SE
    * Critical Damage SE
  * Terminology

  <figure><img src="/files/4yWAzViwBK7WQwhY7gmj" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.punkland.io/punkland-studio/start/database.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
