mirror of
https://bitbucket.org/grumdrig/pq-web.git
synced 2026-09-29 00:34:00 -06:00
Move char sheet to roster screen
This commit is contained in:
@@ -179,31 +179,4 @@ Cheat
|
||||
</body>
|
||||
|
||||
|
||||
<script type="text/charsheet" id="sheet">
|
||||
$Traits.Name the $Traits.Race [$hostname]
|
||||
"$motto"
|
||||
|
||||
Level $Traits.Level $Traits.Class (exp. $ExpBar.position/$ExpBar.max)
|
||||
|
||||
Plot stage: $Plots.last ($PlotBar.hint)
|
||||
Quest: $Quests.last ($QuestBar.hint)
|
||||
|
||||
Stats:
|
||||
STR $Stats.STR
|
||||
CON $Stats.CON
|
||||
DEX $Stats.DEX
|
||||
INT $Stats.INT
|
||||
WIS $Stats.WIS HP Max $Stats.HP_Max
|
||||
CHA $Stats.CHA MP Max $Stats.MP_Max
|
||||
|
||||
Equipment:
|
||||
$Equips.___
|
||||
Spell Book:
|
||||
$Spells.___
|
||||
Inventory ($EncumBar.hint):
|
||||
$Inventory.___
|
||||
-- $date
|
||||
-- Progress Quest 6.3.web - http://progressquest.com/
|
||||
</script>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -837,12 +837,6 @@ function Log(line) {
|
||||
// TODO: and now what?
|
||||
}
|
||||
|
||||
function CharSheet() {
|
||||
return template($("#sheet").html(), game);
|
||||
// TODO: make this a separate page
|
||||
}
|
||||
|
||||
|
||||
function Task(caption, msec) {
|
||||
Kill.text(caption + '...');
|
||||
Log(Kill.text());
|
||||
@@ -1177,11 +1171,6 @@ function InputBox(message, def) {
|
||||
}
|
||||
|
||||
function FormKeyDown(e) {
|
||||
if (e.which == 1) { // ^A
|
||||
SaveGame();
|
||||
alert(CharSheet());
|
||||
}
|
||||
|
||||
if (e.which == 13) { // ^M
|
||||
game.motto = InputBox('Declare your motto!', game.motto);
|
||||
// Brag('m');
|
||||
@@ -1218,8 +1207,6 @@ function LFSR(pt, salt) {
|
||||
function Brag(trigger) {
|
||||
/* TODO
|
||||
var flat = 1;
|
||||
if (FExportSheets)
|
||||
ExportCharSheet;
|
||||
if (GetPasskey() == 0) return; // not a online game!
|
||||
var url = 'cmd=b&t=' + trigger;
|
||||
with (Traits) for (i = 0; i <= Items.length()-1; ++i)
|
||||
|
||||
+33
-2
@@ -44,7 +44,7 @@ body {
|
||||
a.icon {
|
||||
font-size: 3em;
|
||||
}
|
||||
a.x {
|
||||
a.x, a.sheet {
|
||||
font-size: 12pt;
|
||||
}
|
||||
</style>
|
||||
@@ -83,10 +83,41 @@ a.x {
|
||||
<div class="rc">Level $Traits.Level $Traits.Class</div>
|
||||
<div class="bs">$Equips.best / $Spells.best / $Stats.best</div>
|
||||
</td>
|
||||
<td><a class="x" href="#">☠</a></td>
|
||||
<td>
|
||||
<a class="x" href="#">☠</a><br>
|
||||
<a class="sheet" href="#">✏</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/charsheet" id="sheet">
|
||||
$Traits.Name the $Traits.Race [$hostname]
|
||||
"$motto"
|
||||
|
||||
Level $Traits.Level $Traits.Class (exp. $ExpBar.position/$ExpBar.max)
|
||||
|
||||
Plot stage: $Plots.last ($PlotBar.hint)
|
||||
Quest: $Quests.last ($QuestBar.hint)
|
||||
|
||||
Stats:
|
||||
STR $Stats.STR
|
||||
CON $Stats.CON
|
||||
DEX $Stats.DEX
|
||||
INT $Stats.INT
|
||||
WIS $Stats.WIS HP Max $Stats.HP_Max
|
||||
CHA $Stats.CHA MP Max $Stats.MP_Max
|
||||
|
||||
Equipment:
|
||||
$Equips.___
|
||||
Spell Book:
|
||||
$Spells.___
|
||||
Inventory ($EncumBar.hint):
|
||||
$Inventory.___
|
||||
-- $date
|
||||
-- Progress Quest 6.3.web - http://progressquest.com/
|
||||
</script>
|
||||
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user