Closed Wuzzy2 closed 7 years ago
ChatCommands.md
updated!update_map
removed!manip:get_param2_data()
I still don't like the “second argument” suggestion by HybridDog, see above.
Hey! Now what? First I was told I should remove update_map
, now I have to keep it? LOL.
Now do you want to keep legacy update_map
or not? You're confusing. xD
I want to keep legacy update_map()
, the one who suggested removing it was @HybridDog.
There. I just needed to revert a single commit. Easy.
This adds a command
/param2
and a functionworldedit.set_param2
which allow to bulk-set theparam2
value of an entire region.The nodes appearance is updated immediately. E.g. if a node with
facedir
gets itsparam2
changed using this method, it will immediately rotate accordingly.API docs are updated accordingly.
Use case: Creating and saving tree schematics in MTG. Here, you must force the
param2
of the leaves to be 0. Otherwise, leaves withparam2=1
will not have leafdecay which is not what you want for normal trees.