Open ROBOT0-VT opened 5 months ago
https://github.com/hellhub-collective/api/blob/main/src/static/json/stratagems.json
I'd be happy to contribute to upkeep if something like this was implemented
I have a manually-compiled excel sheet that I converted to JSON, which is out of date, but contains more info (handy short names, Defensive/Offensive/Supply, how it's deployed and it's in-game listed attributes (e.g. explosive)).
If I cleaned that up, updated it and put it into a format similar to weapons (but as a JSON array, rather than an object, since I don't know the in-game IDs) would that be sufficient?
Here's the format I have it in currently, before cleanup:
[
{
"name":"Ballistic Shield Backpack",
"short_name":"Ballistic Shield",
"designation":"SH-20",
"purpose":"Supply",
"category":"Backpack",
"traits":null,
"code":"DLDDUL",
"cooldown":300,
"uses":null,
"activation_time":5,
"deployment":"Hellpod"
} ...
definitely sounds like something we could add, @chatterchats thoughts?
Something we could do, and something we've talked about before, however I believe the last time it was something along the lines of - It's not something that's reflected in the API. I'm not against adding it, however @dealloc
if we can find a maintainable way of keeping the information up to date I don't mind too much
What problem is solved?
Being unable to access stratagem data
What is the solution?
Including a
stratagems.json
file with stratagem data, possibly under itemsWhat value does this add?
Stratagem information is generally static between updates; so a static source of stratagem data, rather than an API such as https://github.com/hellhub-collective/api, would be perfect
Any additional comments?
No response