rs09-constants-library/README.md
2022-07-02 20:03:07 +00:00

1.1 KiB

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