[Library] Stats.lua - A basic RPG mechanics script

Share and discuss custom LunaLua code and content packs for SMBX2.
Dragon0307
Snifit
Snifit
Posts: 211
Joined: Sun Dec 08, 2019 8:21 am
Flair: I predicted Minecraft Legends!
Pronouns: He/Him

Re: [Library] Stats.lua - A basic RPG mechanics script

Postby Dragon0307 » Tue May 24, 2022 9:37 am

RadMetalMarioSMIX wrote:
Mon May 23, 2022 2:55 pm
For registering NPCs do I put it in the global and/or level Luna.lua file?
Would that also apply to healing Items?

P.S. Is there anything this isn’t compatible with?
Not sure about incompatabilities since I tested it on its own. You can register NPCs in both the local and global Luna.lua files, for example what I've done for my project is register common NPCs in the golbal script and level-specific ones in the level script. The same applies for healing items, although I would usually do those in the global file.

RadMetalMarioSMIX
Bit
Bit
Posts: 65
Joined: Sat Mar 14, 2015 6:42 pm
Flair: What kind of grave is this?
Pronouns: he/him

Re: [Library] Stats.lua - A basic RPG mechanics script

Postby RadMetalMarioSMIX » Wed May 25, 2022 7:03 pm

Okay, thank you.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest