diff --git a/cypress/integration/tutorial.spec.ts b/cypress/integration/tutorial.spec.ts index 1198bf7f9..a3d0c7d9d 100644 --- a/cypress/integration/tutorial.spec.ts +++ b/cypress/integration/tutorial.spec.ts @@ -60,7 +60,7 @@ describe("tutorial", () => { cy.findByText(/now we'll run the script/i); cy.findByRole("textbox").type("free{enter}"); - cy.findByText(/We have 4GB of free RAM on this machine/i); + cy.findByText(/We have 8GB of free RAM on this machine/i); cy.findByRole("textbox").type("run n00dles.script{enter}"); cy.findByText(/Your script is now running/i); diff --git a/src/ui/React/CharacterOverview.tsx b/src/ui/React/CharacterOverview.tsx index 1295576bb..2e9c3a7e9 100644 --- a/src/ui/React/CharacterOverview.tsx +++ b/src/ui/React/CharacterOverview.tsx @@ -41,6 +41,11 @@ function Intelligence(): React.ReactElement { {numeralWrapper.formatSkill(player.intelligence)} + + + {/*Hook for player scripts*/} + + ); } @@ -135,6 +140,11 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { {numeralWrapper.formatHp(player.hp)} / {numeralWrapper.formatHp(player.max_hp)} + + + {/*Hook for player scripts*/} + + @@ -146,6 +156,11 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { {numeralWrapper.formatMoney(player.money.toNumber())} + + + {/*Hook for player scripts*/} + + @@ -157,6 +172,11 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { {numeralWrapper.formatSkill(player.hacking_skill)} + + + {/*Hook for player scripts*/} + + @@ -168,6 +188,11 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { {numeralWrapper.formatSkill(player.strength)} + + + {/*Hook for player scripts*/} + + @@ -177,6 +202,11 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { {numeralWrapper.formatSkill(player.defense)} + + + {/*Hook for player scripts*/} + + @@ -188,6 +218,11 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { {numeralWrapper.formatSkill(player.dexterity)} + + + {/*Hook for player scripts*/} + + @@ -196,6 +231,11 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { {numeralWrapper.formatSkill(player.agility)} + + + {/*Hook for player scripts*/} + + @@ -205,8 +245,31 @@ export function CharacterOverview({ save }: IProps): React.ReactElement { {numeralWrapper.formatSkill(player.charisma)} + + + {/*Hook for player scripts*/} + + + + + + + {/*Hook for player scripts*/} + + + + + {/*Hook for player scripts*/} + + + + + {/*Hook for player scripts*/} + + +