diff --git a/Forge/Forge.css b/Forge/Forge.css new file mode 100644 index 0000000000..f96d154d4f --- /dev/null +++ b/Forge/Forge.css @@ -0,0 +1,139 @@ + +.wrapper { + background-color: antiquewhite; + padding: 10px; +} + +/*Configure the tab buttons*/ +.tabs { + margin-left: 5px; + width: 22%; +} + +/* Chrome, Safari, Edge, Opera */ +input.x::-webkit-outer-spin-button, +input.x::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +/* Firefox */ +input[type=number].x { + -moz-appearance: textfield; +} + +.col { + min-width: 10%; + } + +.grid { + display: flex; + flex-wrap: wrap; +} +.colInput { + min-width: 30%; + min-width: 85%; + width: auto; + } + +.pilot, +.info, +.inv, +.grim { + display: none; + margin-top: 5px; +} + +.marginleft { + margin-left: 5%; +} + +/* show the selected tab */ +.tabstoggle[value="pilot"] ~ div.pilot, +.tabstoggle[value="info"] ~ div.info, +.tabstoggle[value="inv"] ~ div.inv, +.tabstoggle[value="grim"] ~ div.grim { + display: block; +} + +.twocolumns { + display: flex; +} + +.valuecolumn { + display: inline-grid; +} + +textarea { + max-height: 50px; + height: 50px; +} + +.weapon { + display: inline-flex; +} + +.weapon > label { + width: 200px; +} + +h3 { + margin-top: 2%; +} + +.ui-dialog .charsheet input { + height: 24px; +} + +.sheet-rolltemplate-rollhigh table, +.sheet-rolltemplate-rolllow table, +.sheet-rolltemplate-roll table, +.sheet-rolltemplate-spell table, +.sheet-rolltemplate-weapondmg table, +.sheet-rolltemplate-weapon table{ + background-color:antiquewhite; + border:1px solid #c1875d; + text-align: middle; + font-size: 1em; + width: 100%; + padding-right:5%; +} + +.sheet-rolltemplate-rollhigh table th, +.sheet-rolltemplate-rolllow table th, +.sheet-rolltemplate-roll table th, +.sheet-rolltemplate-spell table th, +.sheet-rolltemplate-weapondmg table th, +.sheet-rolltemplate-weapon table th{ + background-color:antiquewhite; + text-align:center; + margin:0px; + font-size:1em; +} + +.sheet-rolltemplate-rollhigh table td, +.sheet-rolltemplate-rolllow table td, +.sheet-rolltemplate-roll table td, +.sheet-rolltemplate-spell table td, +.sheet-rolltemplate-weapondmg table td, +.sheet-rolltemplate-weapon table td{ + padding: 2px; +} + +.sheet-rolltemplate-rollhigh table .inlinerollresult, +.sheet-rolltemplate-rolllow table .inlinerollresult, +.sheet-rolltemplate-roll table .inlinerollresult, +.sheet-rolltemplate-spell table .inlinerollresult, +.sheet-rolltemplate-weapondmg table .inlinerollresult, +.sheet-rolltemplate-weapon table .inlinerollresult{ + border:none !important; + background-color:inherit; +} + +.sheet-rolltemplate-spacer{ + display:block; + width:calc(100%+2px); + border:1px solid #550000; + margin:-1px -3px 0px -3px; + padding:1px; +} \ No newline at end of file diff --git a/Forge/Forge.html b/Forge/Forge.html new file mode 100644 index 0000000000..42ca45ef9f --- /dev/null +++ b/Forge/Forge.html @@ -0,0 +1,659 @@ +
| + {{name}} rolls {{stat}}: + | +
|---|
| + + | +
|
+ {{#rollTotal() roll 20}}
+ CRIT SUCCESS! ({{roll}}) + You succeed, and get really lucky! Optionally you can gamble with a high or low. Success means you double the effect. Fail means you just succeed. + {{/rollTotal() roll 20}} + + {{#rollBetween() roll 2 19}} + {{#rollGreater() total target}} + {{total}} is a Success against {{target}} + {{/rollGreater() total target}} + {{#rollTotal() total target}} + {{total}} is a Success against {{target}} + {{/rollTotal() total target}} + {{#rollLess() total target}} + {{total}} is a Fail against {{target}} + {{/rollLess() total target}} + {{/rollBetween() roll 2 19}} + + {{#rollTotal() roll 1}} + CRIT FAIL! ({{roll}}) + You auto fail. Succeed a "high or low" or something bad might happen to you + {{/rollTotal() roll 1}} + |
+
| + {{weaponname}} deals: + | +
|---|
| + + | +
| + {{damage}} + {{#rollLess() damage mindmg}} + Damage cannot be below your Damage stat: {{mindmg}} + {{/rollLess() damage mindmg}} + - DR + | +
| + {{name}} attacks with {{weaponname}} + | +
|---|
| + + | +
|
+ {{#rollTotal() roll 20}}
+ CRIT SUCCESS! ({{roll}}) + Your attack auto hits, and double Dmg or Add stun. Optionally you can gamble with a high or low. Success means you double the effect. Fail means you just succeed. + {{/rollTotal() roll 20}} + + {{#rollBetween() roll 2 19}} + Compare {{total}} to target Def + {{/rollBetween() roll 2 19}} + + {{#rollTotal() roll 1}} + CRIT FAIL! ({{roll}}) + Your attack auto fails, succeed a "high or low" or you dorp your weapon or fall to the floor + {{/rollTotal() roll 1}} + |
+
| + {{name}} attempts to cast spell {{weaponname}} Difficulty: {{diff}} + | +
|---|
| + + | +
|
+ {{#rollTotal() roll 20}}
+ CRIT SUCCESS! ({{roll}}) + Your attack auto hits, you can double dmg or add an additional effect (the GM approves), and mana is NOT consumed. + Optionally you can gamble with a high or low. Success means you double the effect. Fail means you just succeed. + + {{effect}} + {{/rollTotal() roll 20}} + + {{#rollTotal() roll 1}} + CRIT FAIL! ({{roll}}) + Your attack auto fails, succeed a "high or low" or your spell backfires. This also wastes mana. + {{/rollTotal() roll 1}} + + {{#rollBetween() roll 2 19}} + {{#rollLess() total diff}} + {{total}} Fails.... maneuver wasted. do NOT subtract mana. + {{/rollLess() total diff}} + {{#rollGreater() total diff}} + {{total}} Success, apply effect! Roll Dmg if necessary. Subtract {{cost}} mana. + + {{effect}} + {{/rollGreater() total diff}} + {{#rollTotal() total diff}} + {{total}} Success, apply effect! Roll Dmg if necessary. Subtract {{cost}} mana. + + {{effect}} + {{/rollTotal() total diff}} + {{/rollBetween() roll 2 19}} + |
+
| + {{name}} rolls for high! + | +
|---|
| + + | +
|
+ {{#rollBetween() roll 11 20}}
+ Nailed It! ({{roll}})
+ {{/rollBetween() roll 11 20}}
+
+ {{#rollBetween() roll 1 10}}
+ fail... ({{roll}})
+ {{/rollBetween() roll 1 10}}
+ + p.s. high/lows cannot crit + |
+
| + {{name}} rolls for low! + | +
|---|
| + + | +
|
+ {{#rollBetween() roll 11 20}}
+ fail... ({{roll}})
+ {{/rollBetween() roll 11 20}}
+
+ {{#rollBetween() roll 1 10}}
+ Nailed It! ({{roll}})
+ {{/rollBetween() roll 1 10}}
+ + p.s. high/lows cannot crit + |
+