# 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2FbUwKuvtnY6JI7mBuK7fp%2FCapture31.PNG?alt=media&#x26;token=08a8f8fb-86c4-43cd-9962-755d56e82965" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2F60QO3r1PUIV5HsrzwEYZ%2FCapture32.PNG?alt=media&#x26;token=c132d437-cac0-4d8a-a208-12f1506bade0" alt=""><figcaption></figcaption></figure>
  ```

**3. Character Settings**

* Editable Fields:

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

  <figure><img src="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2Ft3vvoI5eH1s9asAsw2PC%2FCapture33.PNG?alt=media&#x26;token=6d00e17e-0e71-4518-b825-17a1ba74660c" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2FXpHmEJwhzANvWO7i1xtS%2FCapture34.PNG?alt=media&#x26;token=f0fd4e2d-2e13-4e3f-85e1-6d697b35feb5" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2FpRxsBOjPEroIYq5ZNfVV%2FCapture35.PNG?alt=media&#x26;token=43c8722c-74dd-4696-8bc9-48b4b3781ded" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2FwslsTVGMYnh24rK34YjE%2FCapture36.PNG?alt=media&#x26;token=1f15c728-9922-46ff-b70e-d367faf0df27" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2F3IGI5lpFOjDIPvwTVchA%2FCapture37.PNG?alt=media&#x26;token=ae0a392f-9ab1-4046-9f02-9d4c028acbac" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2FmCAkp6wK4bokDjJYVgo6%2FCapture38.PNG?alt=media&#x26;token=8fd97cda-e541-46ee-9437-160ee09bd6ef" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2F2WB6SE54GPJz74UygVZY%2FCapture39.PNG?alt=media&#x26;token=1734d345-f259-4f07-9e7d-82e2b20f28af" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2Fxl0A4d5zulx9jsbVJXRK%2FCapture40.PNG?alt=media&#x26;token=1f2764b4-b012-4311-b11e-a18f2fecb3f9" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2FR5pppZtsR6INeLBVMfKD%2FCapture41.PNG?alt=media&#x26;token=d1065059-f100-4109-acd0-e116966941e3" alt=""><figcaption></figcaption></figure>

**12. Common Events Settings**

* Editable Fields:

  * Name
  * Trigger Conditions
  * Conditional Variables
  * Commands

  <figure><img src="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2FE1t2ngUvQPggjsOkmBsU%2FCapture42.PNG?alt=media&#x26;token=57d4ea4a-3213-418c-bf2c-bafceec30bac" 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="https://2238012829-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2Ka7Zw6XRkhbp2nH2Oz3%2Fuploads%2FQtZqw4McqyzVKTQI1dsp%2FCapture43.PNG?alt=media&#x26;token=a675d8da-ec3c-4232-882b-eb8c825c7837" alt=""><figcaption></figcaption></figure>
