1
Events / Re: Team Card Design: New Weapons
« on: April 21, 2024, 09:08:46 pm »
Been a bit slow to start on putting these on test server
Went to try implement one a day & have it done in a week, but decided it's annoying enough figuring out the next code (tbf, I already have a script to grab this, but let's ignore that)
https://github.com/serprex/openEtG/commit/453cf30a968c64027a407b49dd1ed6b3184db1b7
So wrote this change to have cards be csv. Full circle from when card data was originally from a google spreadsheet. Switched to JSON since it was easier to process in browser (no need to parse csv in js compared to calling `JSON.parse`) but now card data is compiled to Rust during build phase so moved it back to csv which also allowed bringing openetg/legacy card data into same column ordering. Now I can easily add a couple lines to add a new card, but will have to get around to implementing card effects. Will probably start with some simple implementations that might not match text. Been a bit swamped lately & I had to swap out my keyboard since it was causing finger pain but now the old keyboard is on my linux box which I use for openetg development so that also makes me procrastinate more
Went to try implement one a day & have it done in a week, but decided it's annoying enough figuring out the next code (tbf, I already have a script to grab this, but let's ignore that)
https://github.com/serprex/openEtG/commit/453cf30a968c64027a407b49dd1ed6b3184db1b7
So wrote this change to have cards be csv. Full circle from when card data was originally from a google spreadsheet. Switched to JSON since it was easier to process in browser (no need to parse csv in js compared to calling `JSON.parse`) but now card data is compiled to Rust during build phase so moved it back to csv which also allowed bringing openetg/legacy card data into same column ordering. Now I can easily add a couple lines to add a new card, but will have to get around to implementing card effects. Will probably start with some simple implementations that might not match text. Been a bit swamped lately & I had to swap out my keyboard since it was causing finger pain but now the old keyboard is on my linux box which I use for openetg development so that also makes me procrastinate more