6r1d / minetest_new_glass

New glass mod for the Minetest game
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Suggest string messages #11

Closed SwissalpS closed 4 years ago

SwissalpS commented 4 years ago

@S-S-X is this what you meant by adding both string and table messages in a clean way?

S-S-X commented 4 years ago

~not exactly, my suggestion was simpler API and -5 LOC not +16 LOC~

edit. and actually this was not part of code I talked about in chat, did not read other parts at all... only those few lines that caused crash. So above was actually for another commit.

Maybe it was someone else suggesting string messages. But yes would still agree that strings are useful in some situations as that allows using digiline buttons or keyboard etc. to send messages directly to nodes without using lua controller.

SwissalpS commented 4 years ago

buttons or keyboard etc. to send messages directly to nodes without using lua controller

exactly :)