mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
getCharacterInformation() Singularity fn now returns multiplier information
This commit is contained in:
parent
9b8701d7d3
commit
762726bf53
@ -162,24 +162,43 @@ getCharacterInformation
|
|||||||
Returns an object with various information about your character. The object has the following properties::
|
Returns an object with various information about your character. The object has the following properties::
|
||||||
|
|
||||||
{
|
{
|
||||||
bitnode: Current BitNode number
|
bitnode: Current BitNode number
|
||||||
company: Name of company
|
city: Name of city you are currently in
|
||||||
jobTitle: Name of job
|
company: Name of company
|
||||||
city: Name of city you are currently in
|
factions: Array of factions you are currently a member of
|
||||||
factions: Array of factions you are currently a member of
|
jobTitle: Name of job
|
||||||
tor: Boolean indicating whether or not you have a tor router
|
tor: Boolean indicating whether or not you have a tor router
|
||||||
|
|
||||||
//The following apply to when the character is performing
|
// The following is an object with many of the player's multipliers from Augmentations/Source Files
|
||||||
//some type of working action, such as working for a company/faction
|
mult: {
|
||||||
timeWorked: Timed worked in ms
|
agility: Agility stat
|
||||||
workHackExpGain: Hacking experience earned so far from work
|
agilityExp: Agility exp
|
||||||
workStrExpGain: Str experience earned so far from work
|
companyRep: Company reputation
|
||||||
workDefExpGain: Def experience earned so far from work
|
crimeMoney: Money earned from crimes
|
||||||
workDexExpGain: Dex experience earned so far from work
|
crimeSuccess: Crime success chance
|
||||||
workAgiExpGain: Agi experience earned so far from work
|
defense: Defense stat
|
||||||
workChaExpGain: Cha experience earned so far from work
|
defenseExp: Defense exp
|
||||||
workRepGain: Reputation earned so far from work, if applicable
|
dexterity: Dexterity stat
|
||||||
workMoneyGain: Money earned so far from work, if applicable
|
dexterityExp: Dexterity exp
|
||||||
|
factionRep: Faction reputation
|
||||||
|
hacking: Hacking stat
|
||||||
|
hackingExp: Hacking exp
|
||||||
|
strength: Strength stat
|
||||||
|
strengthExp: Strength exp
|
||||||
|
workMoney: Money earned from jobs
|
||||||
|
},
|
||||||
|
|
||||||
|
// The following apply only to when the character is performing
|
||||||
|
// some type of working action, such as working for a company/faction
|
||||||
|
timeWorked: Timed worked in ms
|
||||||
|
workHackExpGain: Hacking experience earned so far from work
|
||||||
|
workStrExpGain: Str experience earned so far from work
|
||||||
|
workDefExpGain: Def experience earned so far from work
|
||||||
|
workDexExpGain: Dex experience earned so far from work
|
||||||
|
workAgiExpGain: Agi experience earned so far from work
|
||||||
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
isBusy
|
isBusy
|
||||||
|
@ -2680,12 +2680,29 @@ function NetscriptFunctions(workerScript) {
|
|||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
bitnode: Player.bitNodeN,
|
bitnode: Player.bitNodeN,
|
||||||
company: Player.companyName,
|
|
||||||
jobTitle: companyPositionTitle,
|
|
||||||
city: Player.city,
|
city: Player.city,
|
||||||
|
company: Player.companyName,
|
||||||
factions: Player.factions.slice(),
|
factions: Player.factions.slice(),
|
||||||
tor: SpecialServerIps.hasOwnProperty("Darkweb Server"),
|
jobTitle: companyPositionTitle,
|
||||||
|
mults: {
|
||||||
|
agility: Player.agility_mult,
|
||||||
|
agilityExp: Player.agility_exp_mult,
|
||||||
|
companyRep: Player.company_rep_mult,
|
||||||
|
crimeMoney: Player.crime_money_mult,
|
||||||
|
crimeSuccess: Player.crime_success_mult,
|
||||||
|
defense: Player.defense_mult,
|
||||||
|
defenseExp: Player.defense_exp_mult,
|
||||||
|
dexterity: Player.dexterity_mult,
|
||||||
|
dexterityExp: Player.dexterity_exp_mult,
|
||||||
|
factionRep: Player.faction_rep_mult,
|
||||||
|
hacking: Player.hacking_mult,
|
||||||
|
hackingExp: Player.hacking_exp_mult,
|
||||||
|
strength: Player.strength_mult,
|
||||||
|
strengthExp: Player.strength_exp_mult,
|
||||||
|
workMoney: Player.work_money_mult,
|
||||||
|
},
|
||||||
timeWorked: Player.timeWorked,
|
timeWorked: Player.timeWorked,
|
||||||
|
tor: SpecialServerIps.hasOwnProperty("Darkweb Server"),
|
||||||
workHackExpGain: Player.workHackExpGained,
|
workHackExpGain: Player.workHackExpGained,
|
||||||
workStrExpGain: Player.workStrExpGained,
|
workStrExpGain: Player.workStrExpGained,
|
||||||
workDefExpGain: Player.workDefExpGained,
|
workDefExpGain: Player.workDefExpGained,
|
||||||
|
Loading…
Reference in New Issue
Block a user