#module script question

1 messages · Page 1 of 1 (latest)

fringe forge
#

Not sure how it works exactly but I was gonna make my code readable by dedicating an ability to its own module script and then requiring it in the main module script setup. or should I js stick all the ability functions in one module script

wraith epoch
copper skyBOT
#

studio** You are now Level 14! **studio

fringe forge
#

its own module script

wraith epoch
#

I would stick with one module script for all abilities

#

Because you might have some stuff that's gonna repeat in another abilities, so with one module script it's easier to maintain and less duplicated code

fringe forge
#

🤔 alr thats true

copper skyBOT
#

studio** You are now Level 12! **studio

fringe forge
#

only reason i thought of this was readability

wraith epoch
#

You just gonna end up with a lot of module scripts

haughty flicker
#

you can create a module for every ability if the code is long

pine wing
#

tho

#

even if the code is long