I recently found the settings script for a bit of code I'd been messing with a while back. My problem is that while I have the settings, I need to rewrite the script. I forget how... :tongue:
I was wondering if someone could point me in the right direction... Here is what I have:
Any help would be appreciated.
I was wondering if someone could point me in the right direction... Here is what I have:
Code:
#=================================
#****Settings****
#=================================
module Soul
Word = 'Soul'
Word_Plural = 'Souls'
SClass = {} #Class of Soul
SClass_Name = {} #Name for the Class of Soul by ID
Increase_HP = {} #(Class ID) => (Number to increase Max HP)
Increase_MP = {} #(Class ID) => (Number to increase Max MP)
SClass.default = 1
SClass_Name.default = 'Basic'
Increase_HP.default = 1
Increase_MP.default = 1
end
class RPG::Enemy
Enemies_That_Have_Souls = {}
Enemies_That_Have_Souls.default = true
def have_soul?
return Enemies_That_Have_Souls[@id]
end
end
class RPG::Actor
Actors_That_Use_Souls = {}
Actors_That_Use_Souls.default = false
def uses_souls?
return Actors_That_Use_Souls[@id]
end
end
Any help would be appreciated.