Commit Graph

402 Commits

Author SHA1 Message Date
Adil El Farissi
ca722ecdd8 Add some OSSL functions related to child prims inventory manipulations
Add functions:

+ osGiveLinkInventory(integer linkNumber, key destination, string inventory)
Give an item located in a child prim inventory.

+ osGetInventoryNames(integer type)
Return a list of items names by type (or INVENTORY_ALL) located in the prim inventory.

+ osGetLinkInventoryNames(integer linkNumber, integer type)
Return a list of items names by type (or INVENTORY_ALL) located in a child prim inventory.

+ osGetInventoryKeys(integer type)
Return a list of the items UUIDs by type (or INVENTORY_ALL) located in the prim inventory.

+ osGetLinkInventoryKeys(integer linkNumber, integer type)
Return a list of the items UUIDs by type (or INVENTORY_ALL) located in a child prim inventory.

+ osGetLinkInventoryKey(integer linkNumber, string name)
Return the UUID of the specified item name located in a child prim inventory.

+ osGetLinkInventoryDesc(integer linkNumber, string itemNameorid)
Return the description of an item located in a child prim inventory.

+ osGetLinkInventoryName(integer linkNumber, key itemId)
Return the name of an item located in a child prim inventory.

Note: the LinkInventory functions don't have access to the root prim contents. This may change if requested by the community...
2024-02-20 17:36:33 +00:00
UbitUmarov
4e2bea288a add llIsFriend 2024-02-16 17:17:59 +00:00
UbitUmarov
2e26b8a8bb add LinksetData support. Untested and still does not store in dbs. Not as spec. See mantis 9081 (runprebuild) 2024-02-06 23:45:11 +00:00
UbitUmarov
2849e57920 add osGetPrimCount([key primKey]) and osGetSittingAvatarsCount([key primkey]) that just do want name says unlike ll mess, absent primKey argument means current linkset 2023-06-14 22:45:37 +01:00
UbitUmarov
52bd6a443e make llLinkPlaySound() closer to spec 2023-05-31 19:27:43 +01:00
Jeff Kelley
b96ef0d00c osSetPenColor
osSetPenColor1

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2023-05-05 10:45:02 +01:00
UbitUmarov
35962d8c39 add llListFindStrided; llListFindList change to be more as spec 2023-04-29 11:06:35 +01:00
UbitUmarov
7dbedecd88 add LSL llLinear2sRGB and llsRGB2Linear 2023-04-28 01:55:35 +01:00
UbitUmarov
549ebc1025 add old llList2ListStrided renamed osOldList2ListStrided to easy any possible script fixes 2023-04-27 22:15:19 +01:00
UbitUmarov
46831b086e add llList2ListSlice 2023-04-27 21:55:55 +01:00
UbitUmarov
7b7071f778 fix bad c&p 2023-04-26 21:05:16 +01:00
UbitUmarov
4c061a0602 add llListSortStrided and osListSortInPlaceStrided 2023-04-26 20:26:01 +01:00
UbitUmarov
93e06f87f6 add list osGetParcelIDs() and key osGetParcelID(), plus a few changes to previus commits 2023-04-16 20:00:35 +01:00
UbitUmarov
a2db2c7ed3 mantis 9065: rename llObjectGetLink as spec llGetObjectLink 2023-02-28 09:58:19 +00:00
UbitUmarov
45beb824af add llLinkSetSoundQueueing and llLinkSetSoundRadius 2023-02-09 10:59:24 +00:00
UbitUmarov
44b4fe523b add llLinkAdjustSoundVolume, llLinkPlaySound and llLinkStopSound 2023-02-06 18:55:06 +00:00
UbitUmarov
6a2d9e8ec3 mantis 9056: add llReplaceSubString() 2023-01-31 17:16:33 +00:00
Jeff Kelley
1e3cbd42ba add llGetInventoryAcquireTime
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2023-01-26 14:48:01 +00:00
UbitUmarov
a28c875ce4 add llSHA256String() same as osSHA256 2022-10-22 14:10:07 +01:00
UbitUmarov
0d35531200 add llObjectGetLinkKey(...) 2022-10-22 12:13:44 +01:00
UbitUmarov
e78caeeac8 add explicit osMakeNotecard(string notecardName, LSL_String contents) so it does not depend on implicit cast from string to list, as before 2022-01-06 20:42:50 +00:00
UbitUmarov
74a0bb3837 simplify combatmodule npc kill check 2021-10-24 21:06:42 +01:00
UbitUmarov
68efbfc603 add llOrd, llChar llHash 2021-10-02 14:17:11 +01:00
UbitUmarov
916e981214 precision issues 2021-09-16 17:28:03 +01:00
UbitUmarov
4855e11346 a few more changes to lsl list; add osListSortInPlace(LSL_List src, LSL_Integer stride, LSL_Integer ascending), does the sort directly on src, avoiding creation on a new list when that is not needed 2021-05-31 18:12:33 +01:00
UbitUmarov
15d0b02ba9 add LSL_Integer osAvatarType(string firts, string last) 2021-04-21 16:25:58 +01:00
UbitUmarov
9d1bd02d12 add LSL_Integer osAvatarType(LSL_Key avkey) 2021-04-21 15:52:09 +01:00
UbitUmarov
1c29f3378d mantis 8865: add experimental osNpcLookAt 2021-02-16 03:16:54 +00:00
UbitUmarov
e25b05a454 remove the expire argument from os[Link]ParticleSystem.. expire is controled by maxage != 0 2021-01-12 16:12:44 +00:00
UbitUmarov
72f7009b10 add os[Link]ParticleSystem with expire option. If expire true and system MaxAge > 0, the system will be be (lazy) removed from the prim after that MaxAge 2021-01-12 15:38:10 +00:00
UbitUmarov
a3b26255dd add vector variant of osSlerp; update script syntax 2021-01-06 16:32:51 +00:00
UbitUmarov
0e8ea0486d better also add llXorBase64 to lsl api 2020-12-29 13:38:19 +00:00
UbitUmarov
8fa28d96f5 clean tabs from osSHA256 patch (mantis 8839) 2020-12-29 13:31:08 +00:00
Mike Higgins
0da43a8ef5 added a new function string=osSHA256(string)
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2020-12-29 13:17:29 +00:00
UbitUmarov
64fea8f20c mantis 8770: let osGetSunParam(day_length) return the same as llGetDayLength() ie day length at prim location 2020-09-12 16:14:14 +01:00
UbitUmarov
b64e1792ff wt* remove osSetStateEvents, any script using it must just DIE 2020-08-31 15:01:26 +01:00
UbitUmarov
421cc0c018 change llName2Key and add llRequestUserKey (not the patch on mantis 8369, now utdated). some testing needed.. 2020-08-16 20:01:00 +01:00
UbitUmarov
bce206e6dc change a few more 2020-08-15 04:53:30 +01:00
UbitUmarov
f1cd3aa007 change llRequestDisplayName and llGetDisplayName 2020-08-15 04:21:54 +01:00
UbitUmarov
991b97db58 change llRequestUsername 2020-08-15 04:05:41 +01:00
UbitUmarov
cd5ac2eae9 some cleanup to last patch from Bill Blight and Vincent (mantis 8738) 2020-08-08 18:27:45 +01:00
Vincent Sylvester
4eee476423 osSetParcelMusicURL
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2020-08-08 18:16:15 +01:00
UbitUmarov
baf94f1af5 several changes to llTargetedEmail 2020-08-08 17:37:48 +01:00
StolenRuby
d022891cc1 Added llTargetedEmail
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2020-08-08 15:50:03 +01:00
UbitUmarov
5b87347476 and add some untested ossl 2020-06-21 12:41:10 +01:00
UbitUmarov
5b56a09cb2 some fixes on env protocol, forced env, etc 2020-06-21 01:41:14 +01:00
UbitUmarov
e3ecf0ddbe add LSL_Integer osReplaceAgentEnvironment(LSL_Key agentkey, LSL_Integer transition, LSL_String environment). note this is a hack, we cant do the ll* one 2020-06-19 19:55:40 +01:00
UbitUmarov
d1ecccfaca add some ossl 2020-06-11 19:55:12 +01:00
UbitUmarov
e8b9735f95 add some lsl functions 2020-06-11 17:12:22 +01:00
UbitUmarov
9bd5310fe8 expose the option to save HUDs into notecard on the API 2020-06-01 21:05:57 +01:00