Archaegeo / DualUniverseLuaIssues

DualUniverse LUA Issue Tracking
GNU General Public License v3.0
5 stars 0 forks source link

Retrieve the name of the current construct #19

Closed tiramon closed 2 years ago

tiramon commented 3 years ago

I was working on some lua code and wanted to show the name of the current construct ... but it is not possible It is possible to get the name of every element also the name of the core.

But there is no way to get the name of the construct represented by the core

would suggest something like core.getConstructName()

EasternGamer commented 2 years ago

Dev Blog 3 has added getting the construct name, whoop.

EasternGamer commented 2 years ago

@Archaegeo, close the issue.

tiramon commented 2 years ago

As EasternGamer said ... it's implemented now so i close this

core.getConstructName() : Returns the name of the construct.