mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 08:42:53 +02:00
CORPORATION: Add new API to check if player can create corporation (#1598)
* CORPORATION: Add new API to check if player can create corporation * Update description of createCorporation API * Return enum instead of true/false * Use throwIfReachable * Fix typo in comment
This commit is contained in:
@@ -400,6 +400,7 @@ const grafting = {
|
||||
|
||||
const corporation = {
|
||||
hasCorporation: 0,
|
||||
canCreateCorporation: 0,
|
||||
createCorporation: RamCostConstants.CorporationAction,
|
||||
hasUnlock: RamCostConstants.CorporationInfo,
|
||||
getUnlockCost: RamCostConstants.CorporationInfo,
|
||||
|
||||
Reference in New Issue
Block a user