creating classes

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: creating classes

Post by akroma222 »

Technically speaking (afaik), as long as you import the .lua file from your init.lua,....

Code: Select all

import "mod_assets/scripts/doesntmatterwhatthisiscalled.lua"
...you can put the definitions in whatever .lua file you want
I guess it depends how you want to organize your files
Post Reply

Return to “Mod Creation”