Skip to content

Propsal: Add for-use-with as a field to constants and functionsΒ #23

@WolfGangS

Description

@WolfGangS

I think it would be useful to include information for what things are meant to be used with in the generated files.

Some sort of for-use-with parameter

for example

constants:
  REZ_FLAGS:
    tooltip: Rez flags to set on the newly rezzed object. [integer flags]
    type: integer
    value: '1'
    for-use-with:
      - llRezObjectWithParams
  REZ_FLAG_TEMP:
    tooltip: Flag the object as temp on rez.
    type: integer
    value: '0x0001'
    for-use-with:
      - REZ_FLAGS

Or for Detected functions

functions:
  llDetectedDamage:
    arguments:
    - Number:
        index-semantics: true
        tooltip: ''
        type: integer
    energy: 10.0
    func-id: 554
    return: list
    sleep: 0.0
    tooltip: Returns a list containing the current damage for the event, the damage
      type and the original damage delivered.
    for-use-with:
      - on_damage
      - final_damage

Maybe broken out into multiple parameters or subsections

for-use-with-function:
  - ...
for-use-with-constant:
  - ...
for-use-with-event:
  - ...

Or

for-use-with:
  constants:
    - ...
  functions:
    - ...
  events:
    - ...

I'd be happy to try contributing this information if it's desirable.


This repo is using Opire - what does it mean? πŸ‘‡
πŸ’΅ Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
πŸ•΅οΈβ€β™‚οΈ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
πŸ™Œ And when they open the PR, they can comment /claim #23 either in the PR description or in a PR's comment.

πŸͺ™ Also, everyone can tip any user commenting /tip 20 @WolfGangS (replace 20 with the amount, and @WolfGangS with the user to tip).

πŸ“– If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions