Files
andors-trail/AndorsTrailEdit/edititems.html
2010-11-25 13:06:44 +00:00

58 lines
2.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<link href="styles.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="editor.js"></script>
<title>Item Editor</title>
<script type="text/javascript">
var imagepath = "../AndorsTrail/res/drawable/";
var tileimages = [
{ name: "items_tiles", numtilesx: "14", numtilesy: "30" }
];
var fields = [
{ name: "Tag", type: "text" }
, { name: "Icon", type: "image" }
, { name: "Name", type: "longtext" }
, { name: "Category", type: "select", values: [ "WEAPON:0", "SHIELD:1", "WEARABLE_HEAD:2", "WEARABLE_BODY:3", "WEARABLE_HAND:4", "WEARABLE_FEET:5", "WEARABLE_NECK:6", "WEARABLE_RING:7", "POTION:20", "FOOD:21", "MONEY:30", "OTHER:31" ]}
, { name: "Cost", type: "int" }
, { name: "HP", type: "range" }
, { name: "AtkCost", type: "int" }
, { name: "AtkPct", type: "int" }
, { name: "CritPct", type: "int" }
, { name: "CritMult", type: "int" }
, { name: "DMG", type: "range" }
, { name: "BlkPct", type: "int" }
, { name: "DMG_res", type: "int" }
];
</script>
</head>
<body>
<div id="editarea">
Items:<br />
<div id="inputarea">
<table id="datatable" cellspacing="0">
<thead>
<tr id="headerrow"> </tr>
</thead>
<tbody id="datarows">
</tbody>
</table>
</div>
<div id="buttons"> </div>
</div>
<br />
<div id="output">
<textarea id="result" cols="80" rows="10">serialized output goes here</textarea>
</div>
<div id="invisible"></div>
<div id="selecticon_dialog" title="Select image">
<div id="selecticon_dialog_tileset"> </div>
</div>
</body>
</html>