Giter Site home page Giter Site logo

loathers / greenbox Goto Github PK

View Code? Open in Web Editor NEW
6.0 10.0 7.0 14.22 MB

Script for examining and sharing a player's loadout of skills and items in the Kingdom of Loathing

Home Page: https://greenbox.loathers.net

License: Apache License 2.0

JavaScript 1.01% TypeScript 98.81% HTML 0.18%
kol kolmafia kingdom-of-loathing typescript

greenbox's People

Contributors

ajcoppa avatar docrostov avatar gausie avatar horrible-little-slime avatar lewismd13 avatar rinn avatar slifty avatar soolar avatar tokoeka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

greenbox's Issues

Paths max is undercounting

Example

Looking at the page source I'm seeing 271 / 226 path rewards completely earned. This probably had something to do when I added the standard equipment and those aren't being counted maybe. The web side of greenbox is pretty outside of my comfort zone so not sure what the issue is.

<g class="recharts-layer recharts-label-list">
  <text name="271 / 226 path rewards completely earned" class="recharts-text recharts-label" x="145.89808153477216" y="20" offset="5" text-anchor="middle" font-size="40%">
    <title>271 / 226 path rewards completely earned</title>
    <tspan x="145.89808153477216" dy="0.355em">80</tspan>
  </text>
</g>

[RFC] Presets

I'm proposing a set of shareable filter "presets" that make it possible to view a greenbox profile showing only the boxen that are important for a specific scope.

Proposed Implementation

A new package would be added to the repository with the following structure

.
└── packages/
    └── greenbox-presets/
        ├── package.json
        ├── garbo.yml
        ├── standard23.yml
        └── hccs70.yml

These yml files are formatted like this

version: 1 # Just so we can change this file's structure if necessary
name: Preset name
description: |
  Markdown for description
  Multilines or whatever!
items:
  - 104 # For ease of editing this file you could add names for these ids as comments
  - id: 154
    reason: Optional reasons!
    priority: required # "required" and "recommended"?
skills:
  - 55
  - id: 105
    reason: Optional reasons!
  - 7004

When viewing a profile, you can add &p=garbo (for example) and have the view filtered to only the items and skills specified in the file.

adding items of the year

i am not adding it today because i'm fasting for yom kippur and only sporadically online but this is a personal reminder that i need to add IOTYs to greenbox.

Missed ItoMs in my case.

Just run greenbox and I'm in aftercore and the code missed 4 items that I see:

[1. LT&T telegraph office deed should go green when you don't have the deed but do have LT&T Office on the right side of the tracks.
2. Detective School application should go green when you don't have the form but do have 11th Precinct Headquarters on the wrong side of the tracks.
3. Heart-shaped crated should go green when you don't have the item but do have a Tunnel of L.O.V.E. on the wrong side of the tracks.
These 3 were also an issue with the old cc_snapshot but I'm reporting it here.
4. antique nutcracker figurine that becomes the antique nutcracker was not detected in Hagnk's when other proto-familiars were.
This did work in the old tool.] - Addressed below.

If these issues are not to be fixed is there way to manually trigger recognition?

I will say the code runs very, very fast.

UI issues:
I miss the smaller output and layout from the old, abandoned snapshot. Things like the skill table showing pre and post class revamp and the level was handy. Also the different sizes of images in each section seems a little strange.

Maybe to make the output more concise would a text only version work?

Finally the old snapshot tool did have / output. This made it easy to share your status. If it's not planned I would like to see, at some point, the same ability. This would mean the data would need to be saved on the server, obviously, rather than the current dynamic URL shown in Mafia.

These are all quite minor issues and congratulations on getting a replacement going.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.