Introduce utility function for deriving table fields
This commit is contained in:
@@ -14,8 +14,7 @@
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
industrialtest.ElectricTool=table.copy(industrialtest.Tool)
|
||||
industrialtest.internal.unpackTableInto(industrialtest.ElectricTool,{
|
||||
industrialtest.ElectricTool=industrialtest.internal.derive(industrialtest.Tool,{
|
||||
prepare=industrialtest.ElectricItem.prepare
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user