Adds a few SDQL2 list wrappers (#30574)
* Update SDQL_2_wrappers.dm * Update SDQL_2_wrappers.dm * Update SDQL_2_wrappers.dm
This commit is contained in:
committed by
CitadelStationBot
parent
8ee6fdb76a
commit
9b0e43f7c3
@@ -170,5 +170,13 @@
|
||||
return
|
||||
L -= args.Copy(2)
|
||||
|
||||
/proc/_list_set(list/L, key, value)
|
||||
L[key] = value
|
||||
|
||||
/proc/_list_numerical_add(L, key, num)
|
||||
L[key] += num
|
||||
|
||||
/proc/_list_swap(list/L, Index1, Index2)
|
||||
L.Swap(Index1, Index2)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user