Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First pass CyberRealm #2215

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Conversation

Shiverwarp
Copy link
Contributor

Simplistic version just to use the free fights for now

Copy link
Contributor

@horrible-little-slime horrible-little-slime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few quick comments, some of which need action and most of which don't

{
name: "CyberRealm Overclock Fights",
ready: () =>
have($item`server room key`) && // TODO support day pass? Not require tanktop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To support the day pass, easiest way would be to use canAdventure, right?

ready: () =>
have($item`server room key`) && // TODO support day pass? Not require tanktop
have($item`zero-trust tanktop`) &&
have($skill`Torso Awareness`) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know some (unsupported) avatar paths have shirt access through another skill. Would it make more sense to use canEquip? ("No" is a perfectly fine answer here, I'm just spintballing)

completed: () => get("_cyberFreeFights") >= 10,
do: $location`Cyberzone 1`, // TODO Support other zones with better equipment and valuing hacker drops
tentacle: false,
choices: () => ({ 1545: 1 }), // Take damage, get 0's
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
choices: () => ({ 1545: 1 }), // Take damage, get 0's
choices: { 1545: 1 }, // Take damage, get 0's

doesn't matter too much, but if nothing ever changes it's nicer to not make it a function imo

@horrible-little-slime horrible-little-slime merged commit 08009f3 into loathers:main Jan 23, 2025
3 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
* First pass CyberRealm

* Trash and stick are in mafia breakfast

* nitpicks

---------

Co-authored-by: horrible little slime <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants