mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
getCharacterInformation() Singularity fn now returns multiplier information
This commit is contained in:
parent
f30602ce5d
commit
9b5147da8c
@ -163,13 +163,32 @@ getCharacterInformation
|
||||
|
||||
{
|
||||
bitnode: Current BitNode number
|
||||
company: Name of company
|
||||
jobTitle: Name of job
|
||||
city: Name of city you are currently in
|
||||
company: Name of company
|
||||
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
|
||||
|
||||
//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
|
||||
mult: {
|
||||
agility: Agility stat
|
||||
agilityExp: Agility exp
|
||||
companyRep: Company reputation
|
||||
crimeMoney: Money earned from crimes
|
||||
crimeSuccess: Crime success chance
|
||||
defense: Defense stat
|
||||
defenseExp: Defense exp
|
||||
dexterity: Dexterity stat
|
||||
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
|
||||
|
@ -2680,12 +2680,29 @@ function NetscriptFunctions(workerScript) {
|
||||
}
|
||||
return {
|
||||
bitnode: Player.bitNodeN,
|
||||
company: Player.companyName,
|
||||
jobTitle: companyPositionTitle,
|
||||
city: Player.city,
|
||||
company: Player.companyName,
|
||||
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,
|
||||
tor: SpecialServerIps.hasOwnProperty("Darkweb Server"),
|
||||
workHackExpGain: Player.workHackExpGained,
|
||||
workStrExpGain: Player.workStrExpGained,
|
||||
workDefExpGain: Player.workDefExpGained,
|
||||
|
Loading…
Reference in New Issue
Block a user