Would it be possible to have the import list simplified by something along the lines of
import all ".lua"
This would make mods a lot easier to plug and play.
I'm basically wondering if it's possible, or if it would be easy to implement in an update.
init.lua Efficiency Question
init.lua Efficiency Question
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
Re: init.lua Efficiency Question
oo can you just "import script folder?"
Grimrock Community 'FrankenDungeon 2012. Submit your entry now!: http://tinyurl.com/cnupr7h
SUBMIT YOUR ASSETS! Community Asset Pack (C.A.P.): http://tinyurl.com/bqvykrp
Behold! The HeroQuest Revival!: http://tinyurl.com/cu52ksc
SUBMIT YOUR ASSETS! Community Asset Pack (C.A.P.): http://tinyurl.com/bqvykrp
Behold! The HeroQuest Revival!: http://tinyurl.com/cu52ksc
Re: init.lua Efficiency Question
Unfortunately the dat filesystem does not support enumerating contents of directories so it can't be done (without changing the format of the dat file).
Re: init.lua Efficiency Question
Okie dokes. Thanks, Petri.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!