mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-03 00:18:20 +00:00
Update to kwdb 0.0.20240415000
Quite some new functions and constants.
This commit is contained in:
parent
f854e94349
commit
b7f16900ed
9 changed files with 193 additions and 39 deletions
|
@ -325,6 +325,12 @@ def llGetLinkName(link):
|
|||
return NULL_KEY
|
||||
raise ELSLCantCompute
|
||||
|
||||
def llGetLinkSitFlags(link):
|
||||
link = fi(link)
|
||||
if link > 256 or (link < 0 and link != -4):
|
||||
return 0
|
||||
raise ELSLCantCompute
|
||||
|
||||
def llGetObjectLinkKey(id, link):
|
||||
# TODO: Investigate behaviour with invalid key, invalid link etc.
|
||||
raise ELSLCantCompute
|
||||
|
@ -355,4 +361,10 @@ def llGetVisualParams(id, params):
|
|||
# return [u""] * len(params)
|
||||
raise ELSLCantCompute
|
||||
|
||||
def llIsFriend(id):
|
||||
id = fk(id)
|
||||
if not cond(id):
|
||||
return 0
|
||||
raise ELSLCantCompute
|
||||
|
||||
# TODO: Add more predictable functions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue