Commit Graph
124 Commits
Author SHA1 Message Date
json-by-jason 7e429f98a1 Updating sheet json
I finally announce I can't devote my full time to this project, and add the running list of known issues. Maybe one day I'll come back to make use of the new features to improve the sheet further.
2024-12-07 23:15:08 -08:00
LukeMc b20d783150 Retrigger full upload 2024-06-03 13:15:14 -04:00
LukeMc 46edad2122 New line added to all html to trigger full reload of all sheets 2024-05-24 13:16:24 -04:00
johnmoney-code 2a9caf4ecf Fix accurate dmg DoS prompt not displaying
thanks ChtiKenny for the 2am announcement of exactly why my code  doesn't work
2021-07-08 02:09:55 -07:00
johnmoney-code 418710aaf9 fix accurate tohit bonus not working on normal weapons 2021-07-07 14:36:24 -07:00
johnmoney-code 4fbe6e37d4 Accurate +10 to hit as appropriate
Adds JS that checks for the Accurate prerequisites in Ranged Weapons and Vehicle Ranged Weapons, and appropriately adds +10 to hit.

Moved the Accurate damage DoS dialog to only appear when it's needed

Adds default values to attr_ammo (used for the ammo counter API), and vehicle weapons. [Thanks to ChtiKenny, now I know why default values are a thing.]
2021-07-05 11:07:10 -07:00
johnmoney-code da78d2afb5 Add accurate d10s to dmg roll
The accurate d10s were being tracked, but not where you could see
2021-06-04 17:14:37 -07:00
johnmoney-code 12eac0e76a Add "demeanor" to Comrades
I don't have Pro and none of my contacts texted back, so this change is actually completely untested! I'll try to fix any visual flaw with next week's update, but thanks for your patience in the meantime.

I wish Sheet Authors could at least get a single Sheet Sandbox just to test these changes.
2021-05-16 20:08:41 -07:00
johnmoney-code 9a870de332 fix hit location roller, hopefully
Added a space to {{loc=}}, to create {{loc= }}, which I have no idea if it'll work but it won't break anything to try

separated {{@{settings_hitroll}} to have a space before and after, for readability

adjusted whitespacing for hitroller
2021-05-05 14:39:40 -07:00
johnmoney-code e79a059999 improperly closed comment
broke the js
2021-04-26 15:40:49 -07:00
johnmoney-code d29dbe14e4 unsuccessful import/export
I've got things to learn about unit testing, clearly.

My Pro runs out this week so it'll be awhile before I get around to any other improvements.
2021-04-25 22:38:13 -07:00
johnmoney-code b1e8d9ec03 exporter added
credit to ChtiKenny for his IDE or whatever he used to create a baseline Exporter to retool for my sheet

you'll see when it's done
2021-04-24 15:13:13 -07:00
johnmoney-code b03d88ed8b Brute forced hit location
I'm so sorry baby, the community said it needed to be done

also credit to ChtiKenny for a shortened regex
2021-04-23 22:50:19 -07:00
johnmoney-code b5af0b18ce Fixed Scatter, etc
Added inlinemod to righteous fury
Fixed Scatter to ask for XdX and have use inlinemod (Thanks RageBob from 40k discord for bringing this to my attention)
Added Shock button to vehicle page, just because
2021-04-23 21:56:47 -07:00
johnmoney-code e8cadd687d starting up
added ChtiKenny's unedited json css, and Importer. We'll tailor this to fit in coming days

Added a movement mod, it's like an Agility Bonus modifier that only works on movement
2021-04-12 14:39:47 -07:00
johnmoney-code 46e027e1fb fatigue check added to rolltemplate
you get the -10 added to the rolltemplate so you can check math
2021-04-11 16:25:56 -07:00
johnmoney-code b0f30776bc fatigue penalty
adds a fatigue threshold. If current fatigue pts are above the threshold, all Tests get a -10
2021-04-11 01:30:32 -07:00
johnmoney-code 901ebae3a8 fix psy focus not showing a number 2021-04-06 14:58:55 -07:00
johnmoney-code 1098997494 updated hit counter code
hit counter now tracks {{burstwin}} rather than counting one thing for every two dos

it's more complicated, but less bloated :)
2021-04-06 14:53:31 -07:00
johnmoney-code ee20d9f8c7 added vehicle ranged options
separated statname and advancement

now can pick between BS and an Operate skill for vehicle ranged weapons
2021-04-06 14:07:45 -07:00
johnmoney-code 56d491204a fixes to previous commit, preparing for next one
Re-added hidden class to hidden parts, removed TODO

Added commented-out prototypes for the vehicle weapons dropdown
2021-04-06 13:30:48 -07:00
johnmoney-code 98b6b5919c psychic abilities improvement
WP_unnat no longer needs to be hardcoded, the sheetworker picks up values now

Massive thanks to ChtiKenny for taking 2hrs to help me troubleshoot every layer of this thing, I literally could not have done it without his help
2021-04-06 13:24:17 -07:00
johnmoney-code 849394c887 fixed WS roll preview error 2021-04-05 17:07:56 -07:00
johnmoney-code eb13f96b9f hit counter added
adds a small hit counter beneath attack DoS.
Called Shot will proc the Suppressing Fire line, but fixing it will be pretty bloat heavy, so I'm leaving it for now.
2021-04-05 17:06:15 -07:00
johnmoney-code 017980c758 make Characteristics roll buttons show correct value 2021-04-05 13:58:37 -07:00
johnmoney-code 78859f9194 remove line about "we don't have unnat DoS"
yes we do
2021-04-05 13:50:15 -07:00
johnmoney-code 362be5ea28 last min checksz
fixed armor display not displaying total soak
made another attempt at the psyker thing, but it failed again. I went to go phone for help, we'll get em next time. In the meantime, the dropdown works as usual, but DoS adds willpower's unnat at the end. That should fit 80% of people's needs, and we'll have a more permanent fix soon.
2021-04-05 00:04:51 -07:00
johnmoney-code 47680e1cee removals
removed old TODO
removed erroneous "inlinerollresult". The css wasn't listening, anyway
2021-04-04 21:46:14 -07:00
johnmoney-code a255c43f3a rolltemplate light fixes
changed rolltemplate border color
changed attack text slightly
2021-04-04 20:47:12 -07:00
johnmoney-code 7e8048972b many updates
refactored vehicle grid
vehicles now have left/right armor
vehicle Operate rolls take Limiter and Maneuverability into account
melee attacks now have Called Shot
removed erroneous "carry?" from vehicle weapons
added vestigial psy focus sheetworker, here's hoping i can get it to work before tonight's over
2021-04-04 20:25:38 -07:00
johnmoney-code b3c3d6b04d preliminary added cool stuff to psyker rolls
removed unused focus mod in rolltemplate

set psyroll to cf0 so fettered users don't see "psychic phenomena" on a nat 1

added "not an attack" to psy_multi, for the hypothetical hit counter

limiter, available on psy rolls

unnat WP is hardcoded, for now.
2021-04-04 14:17:01 -07:00
johnmoney-code bc34f25b8a refactored Psychic Abilities
changed psychic abilities grid structure to match weapons

psychic abilities now have collapse button

up next: revamp the attack button
2021-04-03 23:14:51 -07:00
johnmoney-code b1967e0141 Weapons copied over to vehicle, Accurate fix
Accurate DoS cannot roll crits (important if checking for Righteous Fury)

weapon blocks have now been copied to Vehicles
2021-04-03 22:26:15 -07:00
johnmoney-code 5f1d5351b7 select-correction change to bottomless
While playing with the Inspector, I found out that the select menu ugliness was due to bottom margin. When they can run around bottomless, things just work.
2021-04-03 21:25:37 -07:00
johnmoney-code 81587d0e42 Made collapse buttons work on weapons
Finally! only took like 4 hrs of staring at the screen and comparing code screenshots back and forth.

Marks the first time I've perfected a weapon stat block change on Melee, then carried over to Ranged. Normally I get it the other way around.
2021-04-03 14:25:56 -07:00
johnmoney-code ce188992b5 removed psyker power Disclaimer
Truth is, the EPR has been counted in rolls since the January updates
2021-04-03 01:28:34 -07:00
johnmoney-code 55eecc2d18 getting rid of Special Weapon Dice Rolls outright
I meant to just keep Tearing, but it turns out the textarea on existing sheets already has text so it won't update. Easier to just get rid of the offending section.
2021-04-03 01:24:36 -07:00
johnmoney-code 12a814edd1 optional "AGI limited by armor" box
if you run those kinds of game.
Credit to ChtiKenny, that code commonality really helps with just lifting powerful features over.
(oh no i'm not fixing these grid locations, this might come back for me later)
2021-04-03 01:21:55 -07:00
johnmoney-code aa9038d2d3 changed autoroll hit location default
The independent 1d100 hit location is inconsistent with OW rules, but traditionally there has been no easy way to find the true value. Now that the actual attack rolls are easily visible, it's easier for players to see the proper values for themselves.
2021-04-03 01:04:03 -07:00
johnmoney-code 4d02312234 Update sheet.json
reminder that the hit location 1d100 is independent of the actual attack die.
2021-04-03 01:00:58 -07:00
johnmoney-code 18c7bc8a6c Revert "Revert "added carry button to inventory""
This reverts commit f816fcd5f5.
2021-04-03 00:46:15 -07:00
johnmoney-code f816fcd5f5 Revert "added carry button to inventory"
This reverts commit 182080fe72.
2021-04-03 00:46:06 -07:00
johnmoney-code 182080fe72 added carry button to inventory 2021-04-03 00:45:44 -07:00
johnmoney-code a32da77f3e another weapons template overhaul
Added a Carried button. If it's not checked, its weight doesn't count against carry limits.

Spray now counts into damage rolls, and will announce a jam on a natural 9.

What we don't have: working collapse buttons. (you'll know what those are if they ever get to work)

[we have the skeleton of that system though]
2021-04-03 00:12:46 -07:00
johnmoney-code 2859c47a90 assorted weapon section updates
Changed Shadowbane's Accurate DoS to match OW rules

Added special weapon dmg settings next to weapon Special bar

weapon attacks can now be dragged to macro bar, if you're into that
2021-04-02 21:11:14 -07:00
johnmoney-code 85df9f318b fixes on rolltemplates
Weapon Trained now correctly sends 0 or -20, instead of 20 and 0

skill rolls now show red on a natural 100, and green on a natural 1
2021-04-02 13:29:50 -07:00
johnmoney-code 619ec18f9c assorted
correcting the attack rolltemplate, almost done

imported the ammo API script in case it's tied to the sheet's function

also testing if we can shrink the Special bar
2021-04-02 13:14:17 -07:00
johnmoney-code bb92d3cd44 Weapons unnat, and primitive/proven/vengeful
I got it working after like 4 hours.

In the course, I've incurred some technical debt: at least 3 other sheetworkers were glued in with no modification because I can't figure out where I'm going wrong. I hope I can get this sorted, and everything else handled, before next week
2021-04-02 01:44:27 -07:00
johnmoney-code d46be69593 Proven, Primitive, Vengeful, Accurate bar 2021-04-02 00:31:00 -07:00
johnmoney-code fecf4d5065 Weapons grids refactor
I've wanted to do this for so long, but wasn't confident enough in my code to do so. I hated needing to count to 40 every single time I added a feature. I'm not about that life.

Credit to me. I did this.
2021-04-02 00:13:34 -07:00