bcirpggithubmirror/Phase2/Godot ===(Game Code)===/MergedMaster/bcirpg_mergedMaster_20220918A/globalScripts/playerCharacterTemplate.gd
MacDugRPG d5a2e1fcf6 BCR-RPG SRIS stats added with percentage ability checks
This adds the ability to run percentage ability checks from the JSON module file working on the BCR-RPG SRIS ability scores taken off a new sample CSV char sheet in _userFiles. Needs heavy refactoring and cleanup still.
2022-09-25 16:46:10 -04:00

58 lines
1.1 KiB
GDScript

#PLAYER CHARACTER TEMPLATE:
# Template for holding loaded/current character
extends Resource
class_name playerCharacterTemplate
var pcText = ""
#BCO-RPG SRIS system (percentile):
var viableCharStats = ["AG",
"APP",
"CO",
"QU",
"MD",
"ST",
"CH",
"EM",
"IN",
"ME",
"MX",
"PR",
"RE",
"SD"]
var agility = 0
var appearance = 0
var constitution = 0
var quickness = 0
var manual_dexterity = 0
var strength = 0
var chutzpah = 0
var empathy = 0
var intuition = 0
var memory = 0
var moxie = 0
var presence = 0
var reasoning = 0
var self_discipline = 0
func toString() -> String:
return("pcText: " + str(pcText) +
"; Agility: " + str(agility) +
"; Appearance: " + str(appearance) +
"; Constitution: " + str(constitution) +
"; Quickness: " + str(quickness) +
"; Manual_dexterity: " + str(manual_dexterity) +
"; Strength: " + str(strength) +
"; Chutzpah: " + str(chutzpah) +
"; Empathy: " + str(empathy) +
"; Intuition: " + str(intuition) +
"; Memory: " + str(memory) +
"; Moxie: " + str(moxie) +
"; Presence: " + str(presence) +
"; Reasoning: " + str(reasoning) +
"; Self_discipline: " + str(self_discipline)
)