add set_metadata, get_metadata script functions

This commit is contained in:
GenevensiS
2026-01-20 10:30:21 +01:00
parent ab4d79a686
commit c42068f918
11 changed files with 59 additions and 9 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ To see the required syntax, use an output of the [[fun:to_json]] function.
--Parameters--
! Parameter Type Description
| @input@ [[type:string]] JSON string to convert to an MSE script value.
| @set@ [[type:set]] The active set. This can be omited since "set" is a predefined variable.
| @set@ [[type:set]] The active set. This can be omitted since "set" is a predefined variable.
--Examples--
> add_card_to_set(from_json("\{\"mse_object_type\":\"card\", \"data\":\{\"name\":\"Ajani\", \"rarity\":\"mythic rare\"\}\}"))