Add Life Support, CP Gain fields to ship sheet.
This commit is contained in:
@@ -1057,7 +1057,7 @@ input[type=text].sheet-inherit {
|
|||||||
}
|
}
|
||||||
.sheet-ship {
|
.sheet-ship {
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
grid: auto/ 2fr 1fr 1fr;
|
grid: auto/ 4fr 3fr 2fr;
|
||||||
.sheet-menus {
|
.sheet-menus {
|
||||||
h3 { line-height: 1 }
|
h3 { line-height: 1 }
|
||||||
button[type=roll].btn { line-height: 1 }
|
button[type=roll].btn { line-height: 1 }
|
||||||
@@ -1077,12 +1077,20 @@ input[type=text].sheet-inherit {
|
|||||||
}
|
}
|
||||||
.sheet-data {
|
.sheet-data {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid: auto / repeat(3, 1fr);
|
grid: auto / repeat(6, 1fr);
|
||||||
.sheet-text-input, .sheet-text-input input[type=number] { text-align: center }
|
.sheet-text-input, .sheet-text-input input[type=number] { text-align: center }
|
||||||
|
.sheet-duo {
|
||||||
|
grid-column-start: 1;
|
||||||
|
grid-column-end: 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.sheet-trio {
|
.sheet-trio {
|
||||||
grid-column-start: 1;
|
grid-column-start: 3;
|
||||||
grid-column-end: 3;
|
grid-column-end: 7;
|
||||||
|
grid: auto / 0 1fr 5px 1fr 5px 1fr 0
|
||||||
|
}
|
||||||
|
.sheet-duo {
|
||||||
|
grid: auto / 0 1fr 5px 1fr 0
|
||||||
}
|
}
|
||||||
.sheet-stats {
|
.sheet-stats {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|||||||
@@ -36,9 +36,22 @@ input(type="hidden", name="attr_ship_vehicle_type", value="SHIP").input-type
|
|||||||
+text-input("ship_maintenance_cost", "MAINTENANCE COST").col20.grow
|
+text-input("ship_maintenance_cost", "MAINTENANCE COST").col20.grow
|
||||||
+text-input("ship_last_maintenance", "LAST_MAINTENANCE").col20.grow
|
+text-input("ship_last_maintenance", "LAST_MAINTENANCE").col20.grow
|
||||||
.data.core-box-text
|
.data.core-box-text
|
||||||
|
+text-input-duo(
|
||||||
|
"ship_fuel",
|
||||||
|
"ship_fuel_max",
|
||||||
|
"FUEL",
|
||||||
|
{type: "number", min: 0, value: 0})(type="number" min="0" value="0")
|
||||||
|
.vehicle-type.vehicle-type-ship.vehicle-type-custom Fuel
|
||||||
+text-input("ship_speed", "SPEED")(type="number", min="0")
|
+text-input("ship_speed", "SPEED")(type="number", min="0")
|
||||||
+text-input("ship_ac", "AC")(type="number", min="0")
|
+text-input("ship_ac", "AC")(type="number", min="0")
|
||||||
+text-input("ship_armor", "ARMOR")(type="number", min="0")
|
+text-input("ship_armor", "ARMOR")(type="number", min="0")
|
||||||
|
+text-input("ship_command_points", "CP_GAIN")(type="number", min="0", value="0") CP Gain
|
||||||
|
+text-input-duo(
|
||||||
|
"ship_life_support",
|
||||||
|
"ship_life_support_max",
|
||||||
|
"LIFE_SUPPORT",
|
||||||
|
{type: "number", min: 0, value: 0})(type="number" min="0" value="0")
|
||||||
|
.vehicle-type.vehicle-type-ship.vehicle-type-custom Life Support
|
||||||
+text-input-trio(
|
+text-input-trio(
|
||||||
"ship_crew_min",
|
"ship_crew_min",
|
||||||
"ship_crew",
|
"ship_crew",
|
||||||
@@ -47,12 +60,6 @@ input(type="hidden", name="attr_ship_vehicle_type", value="SHIP").input-type
|
|||||||
{type: "number", min: 0},
|
{type: "number", min: 0},
|
||||||
{type: "number", min: 0})(type="number", min="0")
|
{type: "number", min: 0})(type="number", min="0")
|
||||||
.vehicle-type.vehicle-type-ship.vehicle-type-custom Crew Min/Current/Max
|
.vehicle-type.vehicle-type-ship.vehicle-type-custom Crew Min/Current/Max
|
||||||
+text-input-duo(
|
|
||||||
"ship_fuel",
|
|
||||||
"ship_fuel_max",
|
|
||||||
"FUEL",
|
|
||||||
{type: "number", min: 0})(type="number" value="0")
|
|
||||||
.vehicle-type.vehicle-type-ship.vehicle-type-custom Fuel
|
|
||||||
//+text-input("ship_crew_min", "CREW_MIN")(type="number", min="0").vehicle-type.vehicle-type-ship.vehicle-type-custom
|
//+text-input("ship_crew_min", "CREW_MIN")(type="number", min="0").vehicle-type.vehicle-type-ship.vehicle-type-custom
|
||||||
//+text-input("ship_crew", "CURRENT")(type="number", min="0", value="0").vehicle-type.vehicle-type-ship.vehicle-type-custom
|
//+text-input("ship_crew", "CURRENT")(type="number", min="0", value="0").vehicle-type.vehicle-type-ship.vehicle-type-custom
|
||||||
//+text-input("ship_crew_max", "MAX")(type="number", min="0").vehicle-type.vehicle-type-ship.vehicle-type-custom
|
//+text-input("ship_crew_max", "MAX")(type="number", min="0").vehicle-type.vehicle-type-ship.vehicle-type-custom
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -212,6 +212,7 @@
|
|||||||
"CORE_STATISTICS": "Core Statistics",
|
"CORE_STATISTICS": "Core Statistics",
|
||||||
"CORE_TECHNIQUE": "Core technique",
|
"CORE_TECHNIQUE": "Core technique",
|
||||||
"CORVETTE": "Corvette",
|
"CORVETTE": "Corvette",
|
||||||
|
"CP_GAIN": "CP Gain",
|
||||||
"CREDITS": "Credits",
|
"CREDITS": "Credits",
|
||||||
"CREDITS_OWED": "Credits Owed",
|
"CREDITS_OWED": "Credits Owed",
|
||||||
"CREW_MIN": "Crew Min",
|
"CREW_MIN": "Crew Min",
|
||||||
@@ -507,6 +508,7 @@
|
|||||||
"LEGENDARY_FIGHTER": "Legendary Fighter",
|
"LEGENDARY_FIGHTER": "Legendary Fighter",
|
||||||
"LESSER_LONE_PREDATOR": "Lesser Lone Predator",
|
"LESSER_LONE_PREDATOR": "Lesser Lone Predator",
|
||||||
"LEVEL": "Level",
|
"LEVEL": "Level",
|
||||||
|
"LIFE_SUPPORT": "Life Support",
|
||||||
"LIFEBOATS": "Lifeboats",
|
"LIFEBOATS": "Lifeboats",
|
||||||
"LIFEBOATS_DESC": "Emergency escape craft for ship's crew.",
|
"LIFEBOATS_DESC": "Emergency escape craft for ship's crew.",
|
||||||
"LIFT": "Lift",
|
"LIFT": "Lift",
|
||||||
|
|||||||
Reference in New Issue
Block a user