Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add method llprim.ParamsSetter.extend

Open Beginner friendly
#95 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
lua
Domain
api, backend

Research direction

Look for the ParamsSetter class in the codebase, likely in files related to llprim. Understand how methods like primTypeBox, targetLink, and size are implemented. The extend method should combine parameter lists from another ParamsSetter instance. Check existing tests for ParamsSetter to see the pattern and add a test for the new extend method.

Written by the indexing model from the issue text.

Description

I'm writing a complex thing that builds up the primitive params entirely procedurally. It would be helpful to be able to compose primitive params lists together with ParamsSetter, like:


local boxPrimParams = llprim.ParamsSetter:new():primTypeBox(

    PRIM_HOLE_DEFAULT, vector(0, 1), 0,

    vector(0, 0), vector.one, vector.zero)

local primParams = llprim.ParamsSetter:new()

    :targetLink(2):size(vector(1, 2, 3)):extend(boxPrimParams)

    :targetLink(3):size(vector(3, 2, 1)):extend(boxPrimParams)

https://secondlife.canny.io/admin/feedback/slua-alpha/p/add-method-llprimparamssetterextend

Dominant language
C++
Stars
17
Forks
10
Avg merge
3d 14h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from secondlife/slua

All issues in secondlife/slua

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.