diff --git a/doc/source/netscript/singularityfunctions/getCharacterInformation.rst b/doc/source/netscript/singularityfunctions/getCharacterInformation.rst index 5d43daf00..c3a4da4b7 100644 --- a/doc/source/netscript/singularityfunctions/getCharacterInformation.rst +++ b/doc/source/netscript/singularityfunctions/getCharacterInformation.rst @@ -49,4 +49,10 @@ getCharacterInformation() Netscript Function workChaExpGain: Cha experience earned so far from work workRepGain: Reputation earned so far from work, if applicable workMoneyGain: Money earned so far from work, if applicable + hackingExp: Total hacking experience + strengthExp: Total strength experience + defenseExp: Total defense experience + dexterityExp: Total dexterity experience + agilityExp: Total agility experience + charismaExp: Total charisma experience } diff --git a/src/Constants.ts b/src/Constants.ts index d288a77a5..0df7ee009 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -236,6 +236,7 @@ export let CONSTANTS: IMap = { regardless of if the player has bought augmentations or not. * getAugmentationStats is a new netscript function that returns the stats of an augmentation. + * getCharacterInformation now additionally returns exp Misc. * Fixed an issue where SF3 was listed as infinitly repeatable and SF12 as diff --git a/src/NetscriptFunctions.js b/src/NetscriptFunctions.js index a752e7393..689d834b0 100644 --- a/src/NetscriptFunctions.js +++ b/src/NetscriptFunctions.js @@ -2743,6 +2743,12 @@ function NetscriptFunctions(workerScript) { workChaExpGain: Player.workChaExpGained, workRepGain: Player.workRepGained, workMoneyGain: Player.workMoneyGained, + hackingExp: Player.hacking_exp, + strengthExp: Player.strength_exp, + defenseExp: Player.defense_exp, + dexterityExp: Player.dexterity_exp, + agilityExp: Player.agility_exp, + charismaExp: Player.charisma_exp, }; }, isBusy: function() {