forked from mrkubax10/industrialtest
Introduce utility function for deriving table fields
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
local S=minetest.get_translator("industrialtest")
|
||||
industrialtest.SolarHelmet=table.copy(industrialtest.GearTool)
|
||||
industrialtest.internal.unpackTableInto(industrialtest.SolarHelmet,{
|
||||
industrialtest.SolarHelmet=industrialtest.internal.derive(industrialtest.GearTool,{
|
||||
name="industrialtest:solar_helmet",
|
||||
description=S("Solar Helmet"),
|
||||
inventoryImage="industrialtest_solar_helmet_inv.png",
|
||||
|
||||
Reference in New Issue
Block a user