A library containing constants for animations, interfaces, graphics, items, networking, npcs, scenery, and sounds.
Find a file
Player Name ea3049fc60 Merge branch 'branch' into 'main'
Update constlib version

See merge request 2009scape/tools/rs09-constants-library!21
2025-10-05 13:22:33 +00:00
gradle/wrapper update gradle properties 2022-07-02 14:03:26 -05:00
src/main/kotlin/org/rs09/consts Added animation ID for breaking POH tabs 2025-10-05 05:21:54 +00:00
.gitignore Add the funny wrapper parappa the rappa 2022-07-02 13:59:18 -05:00
.gitlab-ci.yml Update .gitlab-ci.yml file 2024-07-02 15:24:29 +00:00
build.gradle This one is to make sure it works 2022-07-07 20:11:50 -05:00
gradle.properties Initial Commit 2021-12-19 03:37:49 -05:00
gradlew Add ability to publish to 2009scape maven repo 2022-07-02 13:42:27 -05:00
gradlew.bat Initial Commit 2021-12-19 03:37:49 -05:00
LICENSE Add LICENSE 2022-05-20 15:28:41 +00:00
README.md Update README.md 2022-07-02 20:03:07 +00:00
settings.gradle Initial Commit 2021-12-19 03:37:49 -05:00
version.properties Update constlib version 2025-10-05 15:21:10 +02:00

RS09 Constants Library

A library containing constants for animations, interfaces, graphics, items, networking, npcs, scenery, and sounds.

Note: Interfaces, Items, NPCs, and Scenery are already named. If you have a suggestion, or want to be more specific with the naming for one of those, post an issue.


Naming Conventions

Animations:

const val Entity/Scenery_Name_Describe_Animation_AnimationId = AnimationId

Example:

    const val HUMAN_FLAP_4280 = 4280
    const val TRAIBORN_SUMMON_CABINET_4602 = 4602

Graphics/Sounds:

const val Describe_Sound/GFX_Sound/GFXId = Sound/GFXId

Example:

    // GFX:
    const val RECEIVE_SILVERLIGHT_778 = 778
    const val ZOMBIE_HAND_1244 = 1244

    // Sound:
    const val OPEN_CABINET_44 = 44
    const val OPEN_HEAVY_54 = 54
    const val WATER_BEING_POURED_2982 = 2982

Varps

const val VARP_CATEGORY_DESCRIPTION = id

Example:

    const val VARP_IFACE_BANK_INSERT_MODE = 304

Varbits

const val VARBIT_CATEGORY_DESCRIPTION = id

Example:

    const val VARBIT_IFACE_BANK_INSERT_MODE = 7000