Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Obtaining Block Base Names/Types In Code For Modded Blocks?

$
0
0
I am working on a rename script which reorders/names parts of your ship so they are nice and neat.

For example:
Thruster 1, Thruster 2, Thruster 3
vs
Thruster, Thruster 10, Thruster 23

The problem is on the server I play on there are currently 4 Thruster mods. I don't want to rename the modded thrusters to the same name as the vanailla ones. Is there a way to programmically tell one apart from the other on the same grid without resorting to going by what its name is set to or by trying to...

Obtaining Block Base Names/Types In Code For Modded Blocks?

Viewing all articles
Browse latest Browse all 903

Trending Articles