Importers ready
This commit is contained in:
114
assets/json_data/armors.json
Normal file
114
assets/json_data/armors.json
Normal file
@@ -0,0 +1,114 @@
|
||||
[
|
||||
{
|
||||
"name": "Leather",
|
||||
"protection": 2,
|
||||
"cost": 50,
|
||||
"enc": 1,
|
||||
"techAge": "Early Primitive",
|
||||
"description": "Made from Boiled animal hide or other non-metallic material, this armor can be worn as regular clothing. When facing firearms or other weapons from the Early Mechanical Eras or later, this armor provides 1 point of Protection [1]."
|
||||
},
|
||||
{
|
||||
"name": "Chainmail",
|
||||
"protection": 4,
|
||||
"cost": 300,
|
||||
"enc": 2,
|
||||
"techAge": "Late Primitive",
|
||||
"description": "Manufactured from rings of iron or primitive steel woven together. Typically, chainmail covers the upper body and hangs to the knees. When facing firearms or other weapons from the Early Mechanical Age or later, this armor provides 2 points of Protection [2]."
|
||||
},
|
||||
{
|
||||
"name": "Plate Mail",
|
||||
"protection": 6,
|
||||
"cost": 1000,
|
||||
"enc": 3,
|
||||
"techAge": "Late Primitive",
|
||||
"description": "A full suit of metal plated armor with a thick woven undergarment to reduce irritation. Plate mail is normally only worn by the wealthy nobles. When facing firearms or other weapons from the Early Mechanical Eras or later, this armor provides 2 points of Protection [3]."
|
||||
},
|
||||
{
|
||||
"name": "Bulletproof Vest",
|
||||
"protection": 4,
|
||||
"cost": 150,
|
||||
"enc": 1,
|
||||
"techAge": "Early Atomic",
|
||||
"description": "A lightweight ballistic armor for torso protection. Bulletproof vests are easy to wear under clothes and are quite concealable [3]."
|
||||
},
|
||||
{
|
||||
"name": "Ceramic Plates",
|
||||
"protection": 8,
|
||||
"cost": 300,
|
||||
"enc": 2,
|
||||
"techAge": "Early Atomic",
|
||||
"description": "Modern heavy-duty ballistic-cloth armor. Commonly worn by soldiers, well-equipped security, and Atomic Age mercenaries. Ceramic Plate counts as two Items for encumbrance purposes and is not concealable [4]."
|
||||
},
|
||||
{
|
||||
"name": "Synthsilk Armor",
|
||||
"protection": 7,
|
||||
"cost": 6000,
|
||||
"enc": 0,
|
||||
"techAge": "Early Interstellar",
|
||||
"description": "This advanced personal armor is bio-engineered from spider silk. Synthsilk is easily concealable and does not count as an item for Encumbrance [5]."
|
||||
},
|
||||
{
|
||||
"name": "Energy Shield",
|
||||
"protection": 0,
|
||||
"cost": 20000,
|
||||
"enc": 1,
|
||||
"techAge": "Late Galactic",
|
||||
"description": "This high-energy emitter is worn on a belt clip. The energy shield is capable of stopping massive amounts of damage and may be worn with other armor. An energy shield completely negates the first hit it receives in combat but is then depleted. Roll 1d6 every following combat round; on a result of 4-6, the shield regenerates on the wearer’s turn, and may negate another hit afterwards [6]."
|
||||
},
|
||||
{
|
||||
"name": "Envirosuit",
|
||||
"protection": 4,
|
||||
"cost": 700,
|
||||
"enc": 2,
|
||||
"techAge": "Early Atomic",
|
||||
"description": "A full body sealed suit with attached filters and ports to attach oxygen tanks as well. The Envirosuit fully protects against airborne toxins and pathogens. An Envirosuit will absorb the first 20 rads of radiation exposure [6]."
|
||||
},
|
||||
{
|
||||
"name": "Spacesuit",
|
||||
"protection": 6,
|
||||
"cost": 2000,
|
||||
"enc": 2,
|
||||
"techAge": "Early Space",
|
||||
"description": "This is a standard space suit, much lighter and cheaper than a 20th Century Terran space suit. A space suit carries life support supplies for up to 6 hours. It protects against Vacuum, Tainted, and Exotic atmospheres, as well as airborne pathogens. Absorbs 60 rads [7]."
|
||||
},
|
||||
{
|
||||
"name": "Spacesuit, Advanced",
|
||||
"protection": 6,
|
||||
"cost": 4000,
|
||||
"enc": 0,
|
||||
"techAge": "Early Interstellar",
|
||||
"description": "This represents the final evolution of the space suit. An advanced space suit does not count as an item for encumbrance and provides life support for 12 hours. It offers the same protection as a regular space suit [7]."
|
||||
},
|
||||
{
|
||||
"name": "Spacesuit, Hostile Environment",
|
||||
"protection": 10,
|
||||
"cost": 10000,
|
||||
"enc": 3,
|
||||
"techAge": "Late Space",
|
||||
"description": "A heavy-duty and reinforced space suit designed for extreme conditions. It protects against vacuum and corrosive atmospheres, as well as airborne pathogens and toxins, and provides 2d6 hours of protection from highly corrosive atmospheres. The Hostile Environment space suit carries life support supplies for 6 hours and absorbs 150 rads’ worth of radiation [5]."
|
||||
},
|
||||
{
|
||||
"name": "Envirosuit, Advanced",
|
||||
"protection": 6,
|
||||
"cost": 5000,
|
||||
"enc": 0,
|
||||
"techAge": "Early Interstellar",
|
||||
"description": "This is a much higher-tech version of the Enrivosuit, and works the same way, but is ultra-light. It can absorb 40 rads’ worth of radiation [8]."
|
||||
},
|
||||
{
|
||||
"name": "Encased Armor",
|
||||
"protection": 10,
|
||||
"cost": 10000,
|
||||
"enc": 2,
|
||||
"techAge": "Late Space",
|
||||
"description": "A suit of heavy, full body rigid armor, often used by corporate SWAT and high-end mercenaries. The suit offers environmental protection as an Envirosuit (see below) and includes integrated comms and a Heads-Up Display [4]."
|
||||
},
|
||||
{
|
||||
"name": "Powered Armor",
|
||||
"protection": 14,
|
||||
"cost": 200000,
|
||||
"enc": 0,
|
||||
"techAge": "Late Interstellar",
|
||||
"description": "This is servo-assisted, fully enclosed, combat armor. This powerful armor grants +3D to all Physical checks related to brute strength and doubles the wearer’s normal Encumbrance limits. Powered armor grants +1D to all melee damage done by its wearer. It also removes the Bulky aspect from any weapons the wearer is using. Powered Armor protects against vacuum and hostile environments, as a space suit, with 6 hours of life support, and absorbs 50 rads of radiation. Powered armor does not count as an item for encumbrance when worn. It counts as 3 encumbrance items when carried [8]."
|
||||
}
|
||||
]
|
268
assets/json_data/starships.json
Normal file
268
assets/json_data/starships.json
Normal file
@@ -0,0 +1,268 @@
|
||||
[
|
||||
{
|
||||
"name": "Orbital Transit Vehicle",
|
||||
"agility": "+1",
|
||||
"hullType": "Pod",
|
||||
"endurance": "1 week Travel x2",
|
||||
"armor": "2/4",
|
||||
"crew": "1 (3)",
|
||||
"cargo": "8",
|
||||
"guns": "0",
|
||||
"travelMultiplier": "x2",
|
||||
"cost": 66000,
|
||||
"monthlyCost": 4970,
|
||||
"description": "The OTV (Orbital Transfer Vehicle) is a larger and slower version of a standard pod. It trades acceleration and travel velocity for a larger life module that holds a pilot and three passengers. It also has more Endurance, and more Cargo. OTV Pods are often used for moving cargo and passengers from planets to vessels in orbit. They are often carried by colony ships. Often, OTVs double as landers, and are able to convert into a shelter for its four occupants who rely on the OTV’s extended Endurance while waiting for resupply."
|
||||
},
|
||||
{
|
||||
"name": "Defense Fighter",
|
||||
"agility": "+4",
|
||||
"hullType": "Micro",
|
||||
"endurance": "1 Day Travel x2",
|
||||
"armor": "14/17",
|
||||
"crew": "1",
|
||||
"cargo": "0.5",
|
||||
"guns": "5d6",
|
||||
"travelMultiplier": "x2",
|
||||
"cost": 1120000,
|
||||
"monthlyCost": 5300,
|
||||
"description": "The Defense Fighter is a common sight on frontier worlds. Tough little vessels, these fighters have excellent acceleration, and the cutting edge FTL drive provides additional inertial dampening for truly breakneck maneuvers. The ship is otherwise incapable of FTL travel. The ship has minimal cargo space but carries decent guns making it a serious threat to small and medium-sized craft. Any colony world and many settled planets will have these ships on hand to deter pirate, and force down questionable ships for inspection."
|
||||
},
|
||||
{
|
||||
"name": "Shuttle",
|
||||
"agility": "+3",
|
||||
"hullType": "Small",
|
||||
"endurance": "1 Week",
|
||||
"armor": "7/9",
|
||||
"crew": "3 (7)",
|
||||
"cargo": "8",
|
||||
"guns": "2d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 2500000,
|
||||
"monthlyCost": 22500,
|
||||
"description": "A lightly armored and armed transfer vehicle. This shuttle is designed to move people and cargo to and from space. Shuttles take up a bit of cargo space, they are typically only found on larger vessels or based at a space station or spaceport. It lacks the armor or weapons for rougher frontier areas."
|
||||
},
|
||||
{
|
||||
"name": "Tramp Freighter",
|
||||
"agility": "0",
|
||||
"hullType": "Scout",
|
||||
"endurance": "1 Month",
|
||||
"armor": "14/17",
|
||||
"crew": "4 (6)",
|
||||
"cargo": "64",
|
||||
"guns": "4d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 6800000,
|
||||
"monthlyCost": 39000,
|
||||
"description": "The tramp freighter sacrifices Agility, Armor, and Guns for Cargo. Typically, a vessel like this can make a tidy profit of 6000-7000 credits a month, more if the crew/owners forego part of their salary to buy off the ship’s debt. This version retains some weapons and armor to deal with unsavory types and is suited to Frontier regions. Running cargo in risky systems can pay off: freight and passenger rates are liable to be two or three time the normal rate for emergency shipments via these dangerous systems."
|
||||
},
|
||||
{
|
||||
"name": "Merchant",
|
||||
"agility": "0",
|
||||
"hullType": "Picket",
|
||||
"endurance": "3 Months",
|
||||
"armor": "18/21",
|
||||
"crew": "10 (15)",
|
||||
"cargo": "125",
|
||||
"guns": "4d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 23800000,
|
||||
"monthlyCost": 98000,
|
||||
"description": "Merchant pickets are bought outright by mid-sized independent companies. They carry vital supplies to new colonies and outposts, something no large corporation wants to deal with. They are often stripped down former military ships. The largest hull capable of landing, they are very handy for frontier worlds. Many captains crew these ships at half strength to carry five more passengers and make an extra 40000 credits a month. This amounts to working the crew to the point of burn-out. Crew turnover on these vessels is exceedingly high."
|
||||
},
|
||||
{
|
||||
"name": "Explorer",
|
||||
"agility": "0",
|
||||
"hullType": "Picket",
|
||||
"endurance": "6 Months",
|
||||
"armor": "18/21",
|
||||
"crew": "10 (15)",
|
||||
"cargo": "64",
|
||||
"guns": "4d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 27700000,
|
||||
"monthlyCost": 138500,
|
||||
"description": "The Explorer is an under-gunned picket hull that possesses increased Endurance but reduces the armament even more. Propellant is sacrificed as well to allow a suite of advanced sensors. The 15 passengers are explorers and scientists. The shuttle can ferry field teams around a planet being investigated. Some missions forgo this for more cargo and simply land the ship."
|
||||
},
|
||||
{
|
||||
"name": "Gunship",
|
||||
"agility": "+1",
|
||||
"hullType": "Picket",
|
||||
"endurance": "3 Months",
|
||||
"armor": "18/21",
|
||||
"crew": "10 (15)",
|
||||
"cargo": "32",
|
||||
"guns": "6d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 28000000,
|
||||
"monthlyCost": 98000,
|
||||
"description": "The gunship is a vessel much-loved by pirates. Small enough to land on a planet for a raid of opportunity, yet with large enough guns to terrorize a small convoy or space station. Its light armor does mean that it must flee when larger escorts arrive. The 15 passengers comprise the boarding/looting party. The gunship is an all-too-common sight on the wild frontier."
|
||||
},
|
||||
{
|
||||
"name": "Force Transport",
|
||||
"agility": "0",
|
||||
"hullType": "Destroyer",
|
||||
"endurance": "6 Months",
|
||||
"armor": "21/24",
|
||||
"crew": "25 (75)",
|
||||
"cargo": "177",
|
||||
"guns": "6d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 102570000,
|
||||
"monthlyCost": 331500,
|
||||
"description": "The Force Transport is designed to deliver ground troops to serve as garrisons and pacify low-intensity conflicts: civil disorder, unrest, and similar situations. Its guns are supplemented by seven torpedoes to deal with space-borne threats. Torpedo reloads are stored as cargo. Since this hull is too large to land on a planet, three shuttles serve to deliver troops to all but the hottest landing zones."
|
||||
},
|
||||
{
|
||||
"name": "Assault",
|
||||
"agility": "0",
|
||||
"hullType": "Destroyer",
|
||||
"endurance": "3 Months",
|
||||
"armor": "25/28",
|
||||
"crew": "25",
|
||||
"cargo": "7",
|
||||
"guns": "8d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 145700000,
|
||||
"monthlyCost": 264000,
|
||||
"description": "The Assault ship is a powerful ship that is designed to do one thing: go into hot spots, fight the enemy, and win! Its powerful guns make it dangerous to smaller craft, and its compliment of torpedoes make it a threat to larger ships. This ship is common in all space forces anticipating sharp engagements. Force Transports are often paired with Assault ships: the Assault ships clear a path to a planet, and the Transports offload their troops to establish a beachhead."
|
||||
},
|
||||
{
|
||||
"name": "Colonizer",
|
||||
"agility": "-2",
|
||||
"hullType": "Cruiser",
|
||||
"endurance": "2 Years Travel x2",
|
||||
"armor": "25/28",
|
||||
"crew": "100 (1100)",
|
||||
"cargo": "528",
|
||||
"guns": "6d6",
|
||||
"travelMultiplier": "x2",
|
||||
"cost": 381400000,
|
||||
"monthlyCost": 1532000,
|
||||
"description": "Colonizer cruisers are the vanguard of colonization and immigration efforts. They carry the OTV pods and colonists to a hopefully promising planet and carries all the necessary supplies for the initial colony to be established. The colonists are transported in tight confines and spend their days training and preparing for their new lives. Some Colonizers carry cryo-tubes to transport even more colonists at a fraction of the life support cost. By the time the Colonizer arrives over the new planet, the crew will have programmed the on-board OTV pods with descent parameters. Occasionally a colonist will receive a week of training to fly the OTV pod. The pods descend, each with four passengers, and eight tons of supplies. The pods are designed to be dismantled and used to create permanent shelters. The colonizer remains in orbit for four to five months to assist the fledgling colony by using its shuttles to move additional colonists, supplies, and heavier equipment down to the planet. The ship has enough firepower to dissuade all but the most aggressive raiders. This is an older and slower colonizer. One thousand colonist are transported awake, while 800 more are in cryo-tubes!"
|
||||
},
|
||||
{
|
||||
"name": "Miner",
|
||||
"agility": "-1",
|
||||
"hullType": "Scout",
|
||||
"endurance": "1 Month Travel x1.5",
|
||||
"armor": "18/21",
|
||||
"crew": "4",
|
||||
"cargo": "32",
|
||||
"guns": "2d6",
|
||||
"travelMultiplier": "x1.5",
|
||||
"cost": 7600000,
|
||||
"monthlyCost": 32000,
|
||||
"description": "The Mining Scout sacrifices Guns, travel speed and acceleration to mount mining gear and an enlarged cargo hold. It retains the Scout’s armor for protection against mining debris. The Scout is seldom troubled by pirates, who prefer looting a hold of luxury items to raw minerals. In areas where mining operations are harassed, these ships are guarded by interceptors. These ships regularly operate with military operations to provide fuel."
|
||||
},
|
||||
{
|
||||
"name": "Escort Tender",
|
||||
"agility": "0",
|
||||
"hullType": "Picket",
|
||||
"endurance": "1 Month Travel x0.75",
|
||||
"armor": "18/21",
|
||||
"crew": "19 (6)",
|
||||
"cargo": "16",
|
||||
"guns": "4d6",
|
||||
"travelMultiplier": "x0.75",
|
||||
"cost": 30520000,
|
||||
"monthlyCost": 218800,
|
||||
"description": "Escort tenders are the unglamorous workhorses of many navies, as they transport Defense Fighters, the agile combat craft with low Travel Multipliers, to a fight. Tenders are built around large propellant tanks, and very little else. The tenders will deploy their fighters and hang back while the fighters deploy to deal with threats. The six fighters’ pilots are considered passengers in this entry. Attacks that incapacitate crew if a tender while it is operating fighters will soon leave it under-crewed."
|
||||
},
|
||||
{
|
||||
"name": "Express Picket",
|
||||
"agility": "+2",
|
||||
"hullType": "Picket",
|
||||
"endurance": "1 Month Travel x1",
|
||||
"armor": "21/24",
|
||||
"crew": "4 Auto.",
|
||||
"cargo": "32 (10 Cryo)",
|
||||
"guns": "6d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 30800000,
|
||||
"monthlyCost": 69000,
|
||||
"description": "Express pickets are high speed craft that are designed to move vital information, supplies, and individuals over vast distances with very little external support. To reduce the logistical burden and simplify matters, many VIPs are placed in cryo-tubes for the entirety of the voyage. Express Pickets often possess redundant FTL Drives that permit two FTL voyages in rapid succession before requiring recharge. Another unique feature of this vessel is the use of an advanced Artificial Intelligence to reduce crew size to the bare minimum. Meanwhile, with such valuable components and the presence of sensitive information and persons, Express Pickets are armored and armed well enough to deter pirates."
|
||||
},
|
||||
{
|
||||
"name": "Racer Rocket",
|
||||
"agility": "+1",
|
||||
"hullType": "Destroyer",
|
||||
"endurance": "6 months Travel x0.5",
|
||||
"armor": "7/9",
|
||||
"crew": "25",
|
||||
"cargo": "16",
|
||||
"guns": "1d6",
|
||||
"travelMultiplier": "x0.5",
|
||||
"cost": 50000000,
|
||||
"monthlyCost": 450000,
|
||||
"description": "Competitive rocket racing is a popular and profitable sport, with many clubs and racing circuits across many sectors. The Racing Rocket is a standard high-speed, long-distance racer, though other types of rockets also exist for shorter races. This particular rocket is outfitted for dangerous and cutting-edge antimatter fuel. The Agility increases to +3 and the Travel Multiplier increases to x0.33 (faster!) when antimatter fuel is available. Racing rockets are also used as an emergency express courier to quickly send help or supplies to remote outposts in a given system."
|
||||
},
|
||||
{
|
||||
"name": "Pleasure Craft",
|
||||
"agility": "+1",
|
||||
"hullType": "Picket",
|
||||
"endurance": "3 months",
|
||||
"armor": "18/21",
|
||||
"crew": "10(20/70)",
|
||||
"cargo": "16",
|
||||
"guns": "4d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 33732000,
|
||||
"monthlyCost": 167940,
|
||||
"description": "Pleasure craft are popular among the elite and leaders of worlds. The ship is designed to carry many passengers. The ten crew are supported by another twenty stewards who tend to the seventy or so passengers. Of course, many of the passengers are themselves guards, agents, and other members of a wealthy VIP’s household or entourage. It is rare for these vessels to be attacked, but if an attack does occur, the ship uses its Agility to stay out of the field of fire, and launches its torpedoes before fleeing."
|
||||
},
|
||||
{
|
||||
"name": "Refinery",
|
||||
"agility": "-1",
|
||||
"hullType": "Battleship",
|
||||
"endurance": "6 Months Travel x2",
|
||||
"armor": "32/35",
|
||||
"crew": "300",
|
||||
"cargo": "4000",
|
||||
"guns": "6d6",
|
||||
"travelMultiplier": "x2",
|
||||
"cost": 4400000000,
|
||||
"monthlyCost": 2364000,
|
||||
"description": "A Refinery Ship costs is a large and costly vessel. Those that aren’t constructed outright by corporations or governments to serve as the lynchpins of resource exploitation projects are usually hobbled together by several clans of belters pooling together their hard-won resources. A Refinery ship will have huge cargo holds and often have an entire fleet of smaller mining ships operating out of its hangars. Refinery ships are heavily reinforced designs and are constructed to withstand the nearby explosion of an asteroid. They have enough defensive systems to carefully guard their resources. Many belter communities also hire mercenary ships to further bolster their refinery’s defenses. A refinery ship has never been successfully boarded or looted."
|
||||
},
|
||||
{
|
||||
"name": "Prison Ship",
|
||||
"agility": "+1",
|
||||
"hullType": "Picket",
|
||||
"endurance": "6 Months",
|
||||
"armor": "18/21",
|
||||
"crew": "10(15)",
|
||||
"cargo": "22",
|
||||
"guns": "5d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 28020000,
|
||||
"monthlyCost": 116000,
|
||||
"description": "This prison ship serves as a mobile base and prison for affiliated bounty hunters. Five of the passengers are guards, the rest prisoners. Many crews will store extra prisoners on ice in cryo-tubes in the hold. The ship sacrifices some armor and firepower for the larger life support system, and it cannot stand up to similar military ships. However, it remains a credible threat to most pirates who may want to mount a rescue. The guards on such a vessel are often replaced by robots, the likes of which are not likely to be bribed or coerced."
|
||||
},
|
||||
{
|
||||
"name": "Torpedo Boat",
|
||||
"agility": "+2",
|
||||
"hullType": "Scout",
|
||||
"endurance": "1 Week",
|
||||
"armor": "18/21",
|
||||
"crew": "4",
|
||||
"cargo": "0",
|
||||
"guns": "6d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 8000000,
|
||||
"monthlyCost": 39000,
|
||||
"description": "Torpedo Boats serve as a defensive vessel for mid-sized colonies that are occasionally the targets of larger pirate raids. The Torpedo Boat uses its high Agility to maintain an advantageous position, while launching torpedo after torpedo at pirate pickets. Torpedo Boats are often used with Defense Fighters or Gunships. They are also carried by larger ships like Cruisers."
|
||||
},
|
||||
{
|
||||
"name": "Drop Ship",
|
||||
"agility": "+3",
|
||||
"hullType": "Scout",
|
||||
"endurance": "1 Day",
|
||||
"armor": "18/21",
|
||||
"crew": "4(21)",
|
||||
"cargo": "2",
|
||||
"guns": "6d6",
|
||||
"travelMultiplier": "x1",
|
||||
"cost": 9600000,
|
||||
"monthlyCost": 37175,
|
||||
"description": "The Drop Ship is a large, militarized shuttle bristling with weapons. Its primary task is to deliver a platoon of 20 soldiers to a hostile planetary surface in very little time. Its engines give it excellent acceleration, hopefully enough to evade fire—any trooper will tell you that a Drop Ship ride is never a restful experience."
|
||||
}
|
||||
]
|
254
assets/json_data/vehicles.json
Normal file
254
assets/json_data/vehicles.json
Normal file
@@ -0,0 +1,254 @@
|
||||
[
|
||||
{
|
||||
"name": "Ground Car",
|
||||
"agility": 0,
|
||||
"armor": "6/8",
|
||||
"cargo": "250kg",
|
||||
"crew": "1/4",
|
||||
"force": 0,
|
||||
"range": "400km",
|
||||
"speed": "160km/h",
|
||||
"techAge": "Early Mechanical",
|
||||
"tonnage": "2 Tons",
|
||||
"cost": 10000,
|
||||
"description": "The ground car is popular with civilians on many worlds due to its rugged and simple construction. They are ubiquitous with models for sale or rental everywhere. Typically has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Pickup Truck",
|
||||
"agility": 0,
|
||||
"armor": "6/8",
|
||||
"cargo": "1 ton",
|
||||
"crew": "1/6",
|
||||
"force": 1,
|
||||
"range": "400km",
|
||||
"speed": "120km/h",
|
||||
"techAge": "Early Mechanical",
|
||||
"tonnage": "4 Tons",
|
||||
"cost": 15000,
|
||||
"description": "A bigger version of the ground car with a flat-bed cargo bay instead of passenger seating. Any passengers would sit in the open bay. This is a ubiquitous vehicle and has a notable reputation for being able to go anywhere, and in any condition. Many mercenary teams desperately get their hands on pickup trucks and fit any manner of weapons onto their flatbed. Some manufacturers are happy to see a new market for their vehicles. Others are less enthusiastic. Typically has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Armored Personnel Carrier",
|
||||
"agility": -1,
|
||||
"armor": "12/16",
|
||||
"cargo": "2 tons",
|
||||
"crew": "2/8",
|
||||
"force": 2,
|
||||
"range": "400km",
|
||||
"speed": "60km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "5 Tons",
|
||||
"cost": 177250,
|
||||
"description": "Introduced in the Mechanical Age, Armored Personnel Carriers are essential to modern warfare, allowing infantry to keep pace with armored units. Weapons include a Heavy Machinegun (Damage 5d6, Auto, AV 3d6). Some mount a Light Autocannon (Damage 5d6, Auto, AV 4d6)."
|
||||
},
|
||||
{
|
||||
"name": "Light Tank",
|
||||
"agility": -1,
|
||||
"armor": "14/20",
|
||||
"cargo": "1 ton",
|
||||
"crew": "2/8",
|
||||
"force": 2,
|
||||
"range": "500km",
|
||||
"speed": "60km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "10 Tons",
|
||||
"cost": 177250,
|
||||
"description": "The light tank is popular in various low-tech worlds for internal security and counter insurgency. In wartime they are used to reconnoiter for heavier armored vehicles. Later models include IR sensors and fire suppression systems for the crew. Weapons include a Heavy Machinegun (Dam 5d6, Auto, AV 3d6), Light Cannon (Dam 4d6, AV 4d6)."
|
||||
},
|
||||
{
|
||||
"name": "Sports Car",
|
||||
"agility": 0,
|
||||
"armor": "5/7",
|
||||
"cargo": "200kg",
|
||||
"crew": "1/1",
|
||||
"force": 1,
|
||||
"range": "360km",
|
||||
"speed": "240km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "2 Tons",
|
||||
"cost": 14825,
|
||||
"description": "The sports car is popular with the wealthy on many worlds due to its speed and comfort. Typically has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Explorer",
|
||||
"agility": -2,
|
||||
"armor": "7/10",
|
||||
"cargo": "1500kg",
|
||||
"crew": "2/2",
|
||||
"force": 2,
|
||||
"range": "Unlimited",
|
||||
"speed": "60km/h",
|
||||
"techAge": "Early Interstellar",
|
||||
"tonnage": "10 Tons",
|
||||
"cost": 159300,
|
||||
"description": "Explorers are popular ground vehicles in Early Interstellar Age cultures. It is powered by a Fusion pack which provides effectively unlimited range. The Explorer carries a driver, a sensor technician, and two passengers in cramped seats. The sensor operator has dual controls for driving. Two bunks allow sleeping in rotation to recover from fatigue. Life Support lasts indefinitely. The ample cargo bay, rest accommodations, and amenities make the Explorer very popular with survey crews. Sensors: IR, Radar, Ladar, Dynamometer. Has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Hovercraft",
|
||||
"agility": -1,
|
||||
"armor": "6/8",
|
||||
"cargo": "1750kg",
|
||||
"crew": "1/5",
|
||||
"force": 1,
|
||||
"range": "400km",
|
||||
"speed": "160km/h",
|
||||
"techAge": "Early Atomic",
|
||||
"tonnage": "10 Tons",
|
||||
"cost": 40800,
|
||||
"description": "Hovercraft can travel over virtually any terrain or water. This civilian hovercraft has an unarmored chassis, and transports five passengers in cramped seats alongside the driver. This vehicle also has a waterproof body, allowing it to float. Has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Cabin Cruiser",
|
||||
"agility": -2,
|
||||
"armor": "6/8",
|
||||
"cargo": "2000kg",
|
||||
"crew": "2/3",
|
||||
"force": 2,
|
||||
"range": "1080km",
|
||||
"speed": "15 km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "10 Tons",
|
||||
"cost": 25100,
|
||||
"description": "The Cabin Cruiser serves for fishing and other leisure activities. It also can be fitted with weapons and used for security duties (shown in the example). The below-deck area is popular with crew, though a galley is not provided. A skipper, gunner, and three passengers are carried above deck. There are two bunks below-decks. The civilian version removes the weapon station and adds 0.5 tons of cargo and costs 13,600 Credits. Weapon is GP Machinegun (Damage 3d6+3, Auto, AV 2d6)."
|
||||
},
|
||||
{
|
||||
"name": "Speedboat",
|
||||
"agility": 0,
|
||||
"armor": "6/8",
|
||||
"cargo": "750kg",
|
||||
"crew": "1/4",
|
||||
"force": 0,
|
||||
"range": "600km",
|
||||
"speed": "120km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "2 Tons",
|
||||
"cost": 14750,
|
||||
"description": "The Speed Boat was designed for harbor and coastal patrol, as well as for leisure activities during the Late Mechanical Age. There is no below deck area. A skipper and four passengers are carried above deck. Has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Mini-Sub",
|
||||
"agility": -3,
|
||||
"armor": "9/12 (pressure hull)",
|
||||
"cargo": "1150kg",
|
||||
"crew": "1/4",
|
||||
"force": 1,
|
||||
"range": "1080km",
|
||||
"speed": "40km/h surface, 20km/h submerged",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "10 Tons",
|
||||
"cost": 358000,
|
||||
"description": "This mini-sub can carry a pilot and four passengers in cramped seats. It has no airlock. Underwater, the mini-sub travels at 20kph up to two hours before having to surface and recharge its batteries. It has a maximum diving depth of 100 meters. Has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Biplane",
|
||||
"agility": 1,
|
||||
"armor": "6/9",
|
||||
"cargo": "Negligible",
|
||||
"crew": "1/1",
|
||||
"force": 0,
|
||||
"range": "1000km",
|
||||
"speed": "250km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "2 Tons",
|
||||
"cost": 61000,
|
||||
"description": "Biplanes are simple aircraft, using twin wings to generate lift. They have a maximum speed of 250km/h, and a Stall Speed of 80km/h. Armed variants carry machineguns, while unarmed variants gain 100kg of cargo space. Weapon is GP Machinegun (Damage 3d6+3, Auto, AV2d6)."
|
||||
},
|
||||
{
|
||||
"name": "Propeller Plane",
|
||||
"agility": 1,
|
||||
"armor": "7/10",
|
||||
"cargo": "500kg",
|
||||
"crew": "2/3",
|
||||
"force": 0,
|
||||
"range": "2000km",
|
||||
"speed": "400km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "10 Tons",
|
||||
"cost": 166000,
|
||||
"description": "The propeller-driven monoplane soon supersedes the biplane in the Late Mechanical Age. This variant is used for urgent errands on frontier planets, and can carry a pilot, co-pilot, and four passengers (one being a gunner). This aircraft has a stall speed of 120km/h and requires a landing strip. Weapon is GP Machinegun (Damage 3d6+3, Auto, AV2d6)."
|
||||
},
|
||||
{
|
||||
"name": "Cargo Plane",
|
||||
"agility": 0,
|
||||
"armor": "8/11",
|
||||
"cargo": "4000kg",
|
||||
"crew": "2/20",
|
||||
"force": 1,
|
||||
"range": "2000km",
|
||||
"speed": "400km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "20 Tons",
|
||||
"cost": 250000,
|
||||
"description": "This is a medium sized cargo plane driven by two, three, or four propellers. It is very reliable and rugged and can be found on any world where aircraft are useful and cheap to operate. Has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Helicopter",
|
||||
"agility": 1,
|
||||
"armor": "7/10",
|
||||
"cargo": "500kg",
|
||||
"crew": "1/1",
|
||||
"force": 1,
|
||||
"range": "2100km",
|
||||
"speed": "250km/h",
|
||||
"techAge": "Late Mechanical",
|
||||
"tonnage": "10 Tons",
|
||||
"cost": 193500,
|
||||
"description": "Introduced in the Late Mechanical Age, the Helicopter is the first heavier-than-air aircraft capable of hovering and vertical flight. It is popular on Earth-like worlds for search and rescue, law enforcement, and supply runs to remote settlements since it doesn’t need a landing strip. Has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Jump Jet",
|
||||
"agility": 1,
|
||||
"armor": "7/10",
|
||||
"cargo": "1250kg",
|
||||
"crew": "2/3",
|
||||
"force": 1,
|
||||
"range": "2500km",
|
||||
"speed": "800km/h",
|
||||
"techAge": "Early Atomic",
|
||||
"tonnage": "12 Tons",
|
||||
"cost": 656000,
|
||||
"description": "Jump Jets became feasible in the Early Atomic Age. They provide the high speed and high-altitude flight of normal jet aircraft, as well as the hovering, take-off, and landing capabilities of a helicopter. This version carries a pilot, flight engineer/electronics specialist, and three passengers. A commercial passenger version removes the advanced sensors and carries a pilot and 8 passengers with 1.5 tons of cargo. It costs 647000 Credits. Has no weapon."
|
||||
},
|
||||
{
|
||||
"name": "Sky Car",
|
||||
"agility": 2,
|
||||
"armor": "7/9",
|
||||
"cargo": "500kg",
|
||||
"crew": "1/3",
|
||||
"force": 1,
|
||||
"range": "8000km",
|
||||
"speed": "800km/h",
|
||||
"techAge": "Early Space",
|
||||
"tonnage": "5 Tons",
|
||||
"cost": 170000,
|
||||
"description": "This Space Age Skycar or “Buzzer” is a small, lightly armored vehicle. Skycars are often used by the authorities, emergency services, and the super-rich. This vehicle can hover in place. It holds a pilot and three passengers in cramped seats. Has no weapon (as per its listed stats, though an example later states it can be equipped with a Support Laser)."
|
||||
},
|
||||
{
|
||||
"name": "Jet Fighter",
|
||||
"agility": 1,
|
||||
"armor": "7/10",
|
||||
"cargo": "Nil",
|
||||
"crew": "2/0",
|
||||
"force": 1,
|
||||
"range": "5000km",
|
||||
"speed": "2000km/h",
|
||||
"techAge": "Early Atomic",
|
||||
"tonnage": "10 Tons",
|
||||
"cost": 454000,
|
||||
"description": "Jet fighters are a crucial defense against raiders and invasion. First introduced in the Early Atomic Age, they continue to improve until the Interstellar Age and are vital to planets with little or no space presence. This fighter has a crew of two: a pilot and electronics specialist, who both must wear oxygen masks. Jet fighters require extensive landing strips and maintenance to keep them flying. The aircraft’s stall speed is 300km/h, and they cannot reach their top speed without being at very high altitudes. Sensors: IR, Radar. Weapons include Light Autocannon (5d6, Auto, AV 3d6+1), 2x Anti-Tank Missile (5d6, Blast, AV 5d6), 2x Anti-Aircraft Missile (4d6, Blast, AV 3d6)."
|
||||
},
|
||||
{
|
||||
"name": "Grav Car",
|
||||
"agility": 2,
|
||||
"armor": "7/9",
|
||||
"cargo": "1750kg",
|
||||
"crew": "1/5",
|
||||
"force": 1,
|
||||
"range": "Unlimited",
|
||||
"speed": "1000km/h",
|
||||
"techAge": "Late Galactic",
|
||||
"tonnage": "5 Tons",
|
||||
"cost": 170000,
|
||||
"description": "The Grav Car is civilian transportation in the Late Galactic Age. It is built on a small, unarmored chassis. Its gravity drive gives it an impressive top speed and allows hovering or vertical flight. The grav car can reach orbit in 1d6 hours. Its cabin is sealed. Has no weapon."
|
||||
}
|
||||
]
|
File diff suppressed because it is too large
Load Diff
14
lang/en.json
14
lang/en.json
@@ -190,6 +190,18 @@
|
||||
"Shallows" : "Shallows"
|
||||
},
|
||||
"FIELDS": {
|
||||
"health": {
|
||||
"staminaValue": {
|
||||
"label": "Cur."
|
||||
},
|
||||
"staminaMax": {
|
||||
"label": "Max"
|
||||
},
|
||||
"wounds": {
|
||||
"label": "Wounds"
|
||||
},
|
||||
"label": "Stamina"
|
||||
},
|
||||
"damage": {
|
||||
"label": "Damage"
|
||||
},
|
||||
@@ -563,7 +575,9 @@
|
||||
"addSkill" : "Add Skill",
|
||||
"addWeapon" : "Add Weapon",
|
||||
"addArmor" : "Add Armor",
|
||||
"addAbility" : "Add Ability",
|
||||
"addEquipment" : "Add Equipment",
|
||||
"addTrait" : "Add Trait",
|
||||
"addImplant" : "Add Implant",
|
||||
"addLanguage" : "Add Language",
|
||||
"addPsionic" : "Add Psionic",
|
||||
|
@@ -62,11 +62,9 @@ export default class FTLNomadRoll extends Roll {
|
||||
|
||||
static updateFullFormula(options) {
|
||||
let fullFormula
|
||||
if ( options.numericModifier >= 0) {
|
||||
fullFormula = `${options.formula} + ${options.rollItem.value} + ${options.numericModifier}D`
|
||||
} else {
|
||||
fullFormula = `${options.formula} + ${options.rollItem.value} - ${Math.abs(options.numericModifier)}D`
|
||||
}
|
||||
fullFormula = `${options.formula} + ${options.rollItem.value} + ${options.skillModifier}D + ${options.rangeModifier}D + ${options.numericModifier}D`
|
||||
// Replace all the "+ -" with "-"
|
||||
fullFormula = fullFormula.replace(/\+\s*-/g, "- ")
|
||||
$('#roll-dialog-full-formula').text(fullFormula)
|
||||
options.fullFormula = fullFormula
|
||||
}
|
||||
@@ -130,14 +128,12 @@ export default class FTLNomadRoll extends Roll {
|
||||
}
|
||||
|
||||
let modifier = "0"
|
||||
options.numericModifier = rangeModifier
|
||||
options.skillModifier = 0
|
||||
options.numericModifier = 0
|
||||
options.rangeModifier = rangeModifier
|
||||
let fullFormula = `${formula} + ${options.rollItem.value}`
|
||||
if (options.isEncumbered) {
|
||||
options.numericModifier += -1
|
||||
fullFormula += ` - ${options.numericModifier}D`
|
||||
} else {
|
||||
options.numericModifier += 0
|
||||
fullFormula += ` + ${options.numericModifier}D`
|
||||
fullFormula += ` - 1D`
|
||||
}
|
||||
options.fullFormula = fullFormula
|
||||
options.formula = formula
|
||||
@@ -184,16 +180,16 @@ export default class FTLNomadRoll extends Roll {
|
||||
},
|
||||
rejectClose: false, // Click on Close button will not launch an error
|
||||
render: (event, dialog) => {
|
||||
FTLNomadRoll.updateFullFormula(options)
|
||||
$(".roll-skill-modifier").change(event => {
|
||||
options.numericModifier += Number(event.target.value)
|
||||
options.skillModifier = Number(event.target.value)
|
||||
FTLNomadRoll.updateFullFormula(options)
|
||||
})
|
||||
$(".roll-skill-range-modifier").change(event => {
|
||||
options.numericModifier += Number(event.target.value)
|
||||
options.rangeModifier = Number(event.target.value)
|
||||
FTLNomadRoll.updateFullFormula(options)
|
||||
})
|
||||
$(".select-combat-option").change(event => {
|
||||
console.log(event)
|
||||
let field = $(event.target).data("field")
|
||||
let modifier = SYSTEM.ATTACK_MODIFIERS[field]
|
||||
if ( event.target.checked) {
|
||||
|
@@ -11,16 +11,16 @@ export default class FTLNomadStarship extends foundry.abstract.TypeDataModel {
|
||||
schema.hullType = new fields.StringField({ required: true, initial: "small", choices: SYSTEM.STARSHIP_HULL })
|
||||
schema.endurance = new fields.StringField({ required: true, initial: "" })
|
||||
schema.armor = new fields.StringField({ required: true, initial: "" })
|
||||
schema.crew = new fields.NumberField({ ...requiredInteger, initial: 1, min: 1 })
|
||||
schema.cargo = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 })
|
||||
schema.crew = new fields.StringField({ required: true, initial: "" })
|
||||
schema.cargo = new fields.StringField({ required: true, initial: "" })
|
||||
schema.guns = new fields.StringField({ required: true, initial: "1d6" })
|
||||
schema.travelMultiplier = new fields.NumberField({ required: true, initial: 1, min: 0 })
|
||||
schema.travelMultiplier = new fields.StringField({ required: true, initial: "" })
|
||||
schema.cost = new fields.NumberField({ required: true, initial: 0, min: 0 })
|
||||
schema.monthlyCost = new fields.NumberField({ required: true, initial: 0, min: 0 })
|
||||
schema.damages = new fields.StringField({ required: true, initial: "" })
|
||||
|
||||
schema.description = new fields.HTMLField({ required: true, textSearch: true })
|
||||
schema.modifications = new fields.HTMLField({ required: true, textSearch: true })
|
||||
schema.modifications = new fields.HTMLField({ required: true, textSearch: true })
|
||||
schema.notes = new fields.HTMLField({ required: true, textSearch: true })
|
||||
|
||||
return schema
|
||||
@@ -32,5 +32,5 @@ export default class FTLNomadStarship extends foundry.abstract.TypeDataModel {
|
||||
isEncumbered() {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@@ -9,17 +9,17 @@ export default class FTLNomadVehicle extends foundry.abstract.TypeDataModel {
|
||||
|
||||
schema.agility = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 })
|
||||
schema.armor = new fields.StringField({ required: true, initial: "" })
|
||||
schema.cargo = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 })
|
||||
schema.crew = new fields.NumberField({ ...requiredInteger, initial: 1, min: 1 })
|
||||
schema.cargo = new fields.StringField({ required: true, initial: "" })
|
||||
schema.crew = new fields.StringField({ required: true, initial: "" })
|
||||
schema.force = new fields.NumberField({ ...requiredInteger, initial: 1, min: 1 })
|
||||
schema.range = new fields.StringField({ required: true, initial: "1d6" })
|
||||
schema.speed = new fields.StringField({ required: true, initial: "1d6" })
|
||||
schema.techAge = new fields.StringField({ required: true, initial: "1d6" })
|
||||
schema.tonnage = new fields.NumberField({ required: true, initial: 1, min: 0 })
|
||||
schema.tonnage = new fields.StringField({ required: true, initial: "" })
|
||||
schema.damages = new fields.StringField({ required: true, initial: "" })
|
||||
|
||||
schema.cost = new fields.NumberField({ required: true, initial: 0, min: 0 })
|
||||
|
||||
|
||||
schema.description = new fields.HTMLField({ required: true, textSearch: true })
|
||||
schema.notes = new fields.HTMLField({ required: true, textSearch: true })
|
||||
|
||||
@@ -36,7 +36,7 @@ export default class FTLNomadVehicle extends foundry.abstract.TypeDataModel {
|
||||
async roll(rollType, rollItem) {
|
||||
let opponentTarget
|
||||
const hasTarget = opponentTarget !== undefined
|
||||
|
||||
|
||||
let roll = await FTLNomadRoll.prompt({
|
||||
rollType,
|
||||
rollItem,
|
||||
@@ -48,8 +48,8 @@ export default class FTLNomadVehicle extends foundry.abstract.TypeDataModel {
|
||||
target: opponentTarget
|
||||
})
|
||||
if (!roll) return null
|
||||
|
||||
|
||||
await roll.toMessage({}, { rollMode: roll.options.rollMode })
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
140
module/utils.mjs
140
module/utils.mjs
@@ -450,6 +450,146 @@ export default class FTLNomadUtils {
|
||||
}
|
||||
}
|
||||
|
||||
static async importStarships() {
|
||||
// Create a starships folder if it doesn't exist
|
||||
const starshipsFolder = game.folders.getName("Starships") || await Folder.create({
|
||||
name: "Starships", type: "Actor"
|
||||
})
|
||||
if (!starshipsFolder) {
|
||||
console.error("Failed to create Starships folder");
|
||||
return;
|
||||
}
|
||||
// Load the starships JSON file
|
||||
const starshipsData = await fetch("systems/fvtt-ftl-nomad/assets/json_data/starships.json")
|
||||
.then(response => response.json())
|
||||
.catch(error => {
|
||||
console.error("Failed to load starships data:", error);
|
||||
return [];
|
||||
});
|
||||
|
||||
// Import each starship
|
||||
for (const starship of starshipsData) {
|
||||
// Check if the starship already exists
|
||||
const existingStarship = game.actors.find(a => a.name === starship.name && a.type === "starship");
|
||||
if (existingStarship) {
|
||||
console.warn(`Starship ${starship.name} already exists, skipping import.`);
|
||||
continue;
|
||||
}
|
||||
// Create the starship actor
|
||||
await Actor.create({
|
||||
name: starship.name,
|
||||
type: "starship",
|
||||
img: "systems/fvtt-ftl-nomad/assets/icons/icon_starship.svg",
|
||||
system: {
|
||||
description: starship.description,
|
||||
agility: starship.agility,
|
||||
hullType: starship.hullType.toLowerCase(),
|
||||
endurance: starship.endurance,
|
||||
armor: starship.armor,
|
||||
crew: starship.crew,
|
||||
cargo: starship.cargo,
|
||||
guns: starship.guns,
|
||||
travelMultiplier: starship.travelMultiplier,
|
||||
cost: starship.cost || 0,
|
||||
monthlyCost: starship.monthlyCost || 0,
|
||||
damages: starship.damages,
|
||||
},
|
||||
folder: starshipsFolder.id
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
static async importVehicles() {
|
||||
// Create a vehicles folder if it doesn't exist
|
||||
const vehiclesFolder = game.folders.getName("Vehicles") || await Folder.create({
|
||||
name: "Vehicles", type: "Actor"
|
||||
})
|
||||
if (!vehiclesFolder) {
|
||||
console.error("Failed to create Vehicles folder");
|
||||
return;
|
||||
}
|
||||
// Load the vehicles JSON file
|
||||
const vehiclesData = await fetch("systems/fvtt-ftl-nomad/assets/json_data/vehicles.json")
|
||||
.then(response => response.json())
|
||||
.catch(error => {
|
||||
console.error("Failed to load vehicles data:", error);
|
||||
return [];
|
||||
});
|
||||
|
||||
// Import each vehicle
|
||||
for (const vehicle of vehiclesData) {
|
||||
// Check if the vehicle already exists
|
||||
const existingVehicle = game.items.find(i => i.name === vehicle.name && i.type === "vehicle");
|
||||
if (existingVehicle) {
|
||||
console.warn(`Vehicle ${vehicle.name} already exists, skipping import.`);
|
||||
continue;
|
||||
}
|
||||
// Create the vehicle item
|
||||
await Actor.create({
|
||||
name: vehicle.name,
|
||||
type: "vehicle",
|
||||
img: "systems/fvtt-ftl-nomad/assets/icons/icon_vehicle.svg",
|
||||
system: {
|
||||
description: vehicle.description,
|
||||
agility: vehicle.agility,
|
||||
armor: vehicle.armor,
|
||||
cargo: vehicle.cargo,
|
||||
crew: vehicle.crew,
|
||||
force: vehicle.force,
|
||||
range: vehicle.range,
|
||||
speed: vehicle.speed,
|
||||
techAge: this.getTechAgeKeyFromLabel(vehicle.tech_age),
|
||||
tonnage: vehicle.tonnage,
|
||||
damages: vehicle.damages,
|
||||
cost: vehicle.cost || 0,
|
||||
},
|
||||
folder: vehiclesFolder.id
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
static async importArmors() {
|
||||
// Create an armors folder if it doesn't exist
|
||||
const armorsFolder = game.folders.getName("Armors") || await Folder.create({
|
||||
name: "Armors", type: "Item"
|
||||
})
|
||||
if (!armorsFolder) {
|
||||
console.error("Failed to create Armors folder");
|
||||
return;
|
||||
}
|
||||
// Load the armors JSON file
|
||||
const armorsData = await fetch("systems/fvtt-ftl-nomad/assets/json_data/armors.json")
|
||||
.then(response => response.json())
|
||||
.catch(error => {
|
||||
console.error("Failed to load armors data:", error);
|
||||
return [];
|
||||
});
|
||||
|
||||
// Import each armor
|
||||
for (const armor of armorsData) {
|
||||
// Check if the armor already exists
|
||||
const existingArmor = game.items.find(i => i.name === armor.name && i.type === "armor");
|
||||
if (existingArmor) {
|
||||
console.warn(`Armor ${armor.name} already exists, skipping import.`);
|
||||
continue;
|
||||
}
|
||||
// Create the armor item
|
||||
await Item.create({
|
||||
name: armor.name,
|
||||
type: "armor",
|
||||
img: "systems/fvtt-ftl-nomad/assets/icons/icon_armor.svg",
|
||||
system: {
|
||||
description: armor.description,
|
||||
enc: armor.enc || 0,
|
||||
techAge: this.getTechAgeKeyFromLabel(armor.tech_age),
|
||||
cost: armor.cost || 0,
|
||||
protection: armor.protection || 0,
|
||||
},
|
||||
folder: armorsFolder.id
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
static async importGrenadeWeapons() {
|
||||
// Create a grenade weapons folder if it doesn't exist
|
||||
const grenadeWeaponsFolder = game.folders.getName("Grenade") || await Folder.create({
|
||||
|
Binary file not shown.
BIN
packs/ftl-nomad-items/000014.ldb
Normal file
BIN
packs/ftl-nomad-items/000014.ldb
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000006
|
||||
MANIFEST-000015
|
||||
|
@@ -1,3 +1,8 @@
|
||||
2025/06/27-14:28:58.613972 7f9f36ffd6c0 Recovering log #4
|
||||
2025/06/27-14:28:58.624209 7f9f36ffd6c0 Delete type=3 #2
|
||||
2025/06/27-14:28:58.624267 7f9f36ffd6c0 Delete type=0 #4
|
||||
2025/06/27-21:04:24.576402 7f9f36ffd6c0 Recovering log #12
|
||||
2025/06/27-21:04:24.587706 7f9f36ffd6c0 Delete type=3 #10
|
||||
2025/06/27-21:04:24.587837 7f9f36ffd6c0 Delete type=0 #12
|
||||
2025/06/27-22:37:31.674965 7f9c97bff6c0 Level-0 table #18: started
|
||||
2025/06/27-22:37:31.675017 7f9c97bff6c0 Level-0 table #18: 0 bytes OK
|
||||
2025/06/27-22:37:31.682029 7f9c97bff6c0 Delete type=0 #16
|
||||
2025/06/27-22:37:31.704523 7f9c97bff6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)
|
||||
2025/06/27-22:37:31.704580 7f9c97bff6c0 Manual compaction at level-1 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,5 +1,15 @@
|
||||
2025/06/26-21:12:26.487732 7f9f357fa6c0 Delete type=3 #1
|
||||
2025/06/26-22:19:51.043093 7f9c97bff6c0 Level-0 table #5: started
|
||||
2025/06/26-22:19:51.049108 7f9c97bff6c0 Level-0 table #5: 99957 bytes OK
|
||||
2025/06/26-22:19:51.055551 7f9c97bff6c0 Delete type=0 #3
|
||||
2025/06/26-22:19:51.070209 7f9c97bff6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)
|
||||
2025/06/27-16:25:10.033199 7f9f35ffb6c0 Recovering log #8
|
||||
2025/06/27-16:25:10.043716 7f9f35ffb6c0 Delete type=3 #6
|
||||
2025/06/27-16:25:10.043777 7f9f35ffb6c0 Delete type=0 #8
|
||||
2025/06/27-16:26:57.676885 7f9c97bff6c0 Level-0 table #13: started
|
||||
2025/06/27-16:26:57.679909 7f9c97bff6c0 Level-0 table #13: 5476 bytes OK
|
||||
2025/06/27-16:26:57.686023 7f9c97bff6c0 Delete type=0 #11
|
||||
2025/06/27-16:26:57.686249 7f9c97bff6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)
|
||||
2025/06/27-16:26:57.686281 7f9c97bff6c0 Manual compaction at level-1 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at '!items!zX41azeF7MX3YXb6' @ 282 : 1
|
||||
2025/06/27-16:26:57.686289 7f9c97bff6c0 Compacting 1@1 + 1@2 files
|
||||
2025/06/27-16:26:57.691037 7f9c97bff6c0 Generated table #14@1: 273 keys, 105957 bytes
|
||||
2025/06/27-16:26:57.691056 7f9c97bff6c0 Compacted 1@1 + 1@2 files => 105957 bytes
|
||||
2025/06/27-16:26:57.697382 7f9c97bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2025/06/27-16:26:57.697507 7f9c97bff6c0 Delete type=2 #5
|
||||
2025/06/27-16:26:57.697673 7f9c97bff6c0 Delete type=2 #13
|
||||
2025/06/27-16:26:57.720092 7f9c97bff6c0 Manual compaction at level-1 from '!items!zX41azeF7MX3YXb6' @ 282 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/ftl-nomad-items/MANIFEST-000015
Normal file
BIN
packs/ftl-nomad-items/MANIFEST-000015
Normal file
Binary file not shown.
@@ -19,6 +19,7 @@
|
||||
|
||||
.character-left {
|
||||
min-width: 180px;
|
||||
max-width: 180px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -43,6 +44,19 @@
|
||||
margin-left: 2px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
margin-right: 4px;
|
||||
min-width: 4rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
}
|
||||
.hp-separator {
|
||||
font-size: calc(var(--font-size-standard) * 1.2);
|
||||
display: flex;
|
||||
@@ -76,18 +90,58 @@
|
||||
gap: 5px;
|
||||
|
||||
.character-spec {
|
||||
label {
|
||||
max-width: 6rem;
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
margin-right: 4px;
|
||||
min-width: 4rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
input {
|
||||
min-width: 20rem;
|
||||
max-width: 20rem;
|
||||
}
|
||||
}
|
||||
.hero-armor {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 4px;
|
||||
label {
|
||||
min-width: 6rem;
|
||||
max-width: 6rem;
|
||||
}
|
||||
input {
|
||||
max-width: 3rem;
|
||||
}
|
||||
max-width: 5.2rem;
|
||||
min-width: 5.2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.encumbrance {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 4px;
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
label {
|
||||
min-width: 4rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
input {
|
||||
max-width: 3rem;
|
||||
min-width: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.character-name {
|
||||
display: flex;
|
||||
input {
|
||||
@@ -190,8 +244,22 @@
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
label {
|
||||
min-width: 12rem;
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
margin-right: 4px;
|
||||
min-width: 5rem;
|
||||
max-width: 5rem;
|
||||
}
|
||||
input {
|
||||
min-width: 18rem;
|
||||
max-width: 18rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -222,7 +290,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tab.character-skills {
|
||||
.tab.character-skills .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -270,7 +338,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tab.character-status {
|
||||
.tab.character-status .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -402,7 +470,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tab.character-talents {
|
||||
.tab.character-talents .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -520,10 +588,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.tab.character-equipment {
|
||||
.tab.character-equipment .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -582,7 +649,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.weapons {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
@@ -618,7 +684,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.armors {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
|
@@ -19,6 +19,7 @@
|
||||
|
||||
.creature-left {
|
||||
min-width: 180px;
|
||||
max-width: 180px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -37,11 +38,15 @@
|
||||
.creature-hp {
|
||||
gap: 2px;
|
||||
align-items: center;
|
||||
input {
|
||||
flex: none;
|
||||
width: 2.5rem;
|
||||
margin-left: 2px;
|
||||
label {
|
||||
font-weight: bold;
|
||||
margin-right: 4px;
|
||||
min-width: 4rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
input {
|
||||
max-width: 3rem;
|
||||
min-width: 3rem;
|
||||
}
|
||||
.hp-separator {
|
||||
font-size: calc(var(--font-size-standard) * 1.2);
|
||||
@@ -81,6 +86,7 @@
|
||||
}
|
||||
select {
|
||||
max-width: 10rem;
|
||||
min-width: 10rem;
|
||||
}
|
||||
input {
|
||||
max-width: 6rem;
|
||||
@@ -94,7 +100,7 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
.rollable {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.creature-name {
|
||||
@@ -231,7 +237,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tab.creature-skills {
|
||||
.tab.creature-skills .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -279,7 +285,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tab.creature-status {
|
||||
.tab.creature-status .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -411,7 +417,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tab.creature-traits {
|
||||
.tab.creature-traits .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -529,10 +535,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.tab.creature-equipment {
|
||||
.tab.creature-equipment .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -591,7 +596,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.weapons {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
@@ -627,7 +631,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.armors {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
|
@@ -2,7 +2,8 @@
|
||||
font-family: var(--font-primary);
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
color: var(--color-dark-1);
|
||||
background-image: var(--background-image-base);
|
||||
background-color: var(--color-light-1);
|
||||
/*background-image: var(--background-image-base);*/
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
@@ -60,6 +61,7 @@
|
||||
font-family: var(--font-secondary);
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.vehicle-sheet-common {
|
||||
@@ -67,13 +69,58 @@
|
||||
font-family: var(--font-secondary);
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
}
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
margin-right: 8px;
|
||||
min-width: 4rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.starship-sheet-common {
|
||||
label {
|
||||
font-family: var(--font-secondary);
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
}
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
margin-right: 8px;
|
||||
min-width: 5rem;
|
||||
max-width: 5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.creature-sheet-common {
|
||||
label {
|
||||
font-family: var(--font-secondary);
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
}
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-bottom: 4px;
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
margin-right: 8px;
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-sheet-common {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
.starship-content {
|
||||
.sheet-common();
|
||||
.character-sheet-common();
|
||||
.starship-sheet-common();
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
|
||||
.spec {
|
||||
label {
|
||||
max-width: 5rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
input {
|
||||
max-width: 3rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,10 +71,17 @@
|
||||
}
|
||||
label {
|
||||
margin-left: 0.2rem;
|
||||
max-width: 10rem;
|
||||
max-width: 7rem;
|
||||
min-width: 7rem;
|
||||
}
|
||||
.flexrow-guns {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
gap: 4px;
|
||||
}
|
||||
input {
|
||||
max-width: 4rem;
|
||||
max-width: 5rem;
|
||||
}
|
||||
select {
|
||||
max-width: 5rem;
|
||||
@@ -83,10 +90,11 @@
|
||||
.cargo {
|
||||
label {
|
||||
margin-left: 0.2rem;
|
||||
max-width: 10rem;
|
||||
min-width: 4rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
input {
|
||||
max-width: 4rem;
|
||||
max-width: 6rem;
|
||||
}
|
||||
select {
|
||||
max-width: 5rem;
|
||||
|
@@ -53,12 +53,18 @@
|
||||
.cargo,
|
||||
.capacity {
|
||||
label {
|
||||
max-width: 5rem;
|
||||
min-width: 4rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
input {
|
||||
max-width: 3.5rem;
|
||||
max-width: 6rem;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.cargo-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.vehicle-infos {
|
||||
@@ -81,7 +87,7 @@
|
||||
margin-left: 4px;
|
||||
font-size: calc(var(--font-size-standard) * 1.4);
|
||||
}
|
||||
}
|
||||
}
|
||||
.vehicle-hp-max {
|
||||
clear: both;
|
||||
display: flex;
|
||||
@@ -116,6 +122,10 @@
|
||||
}
|
||||
|
||||
.vehicle-description {
|
||||
.text-center {
|
||||
text-align: left;
|
||||
align-content: center;
|
||||
}
|
||||
background-color: var(--color-light-1);
|
||||
prose-mirror.inactive {
|
||||
min-height: 40px;
|
||||
@@ -126,8 +136,8 @@
|
||||
.field-label {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.biodata {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
@@ -140,13 +150,13 @@
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-width: 18rem;
|
||||
max-width: 18rem;
|
||||
max-width: 18rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.tab.vehicle-equipment {
|
||||
.tab.vehicle-equipment .main-div {
|
||||
background-color: var(--color-light-1);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -190,7 +200,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.equipments {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<section class="tab character-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
|
||||
<fieldset class="rank">
|
||||
<div class="main-div">
|
||||
<fieldset class="rank">
|
||||
<legend>Rank</legend>
|
||||
{{formField systemFields.rank.fields.experienced value=system.rank.experienced type="number" rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.rank.fields.expert value=system.rank.expert type="number" rootId=partId disabled=isPlayMode}}
|
||||
@@ -25,10 +25,10 @@
|
||||
<legend>{{localize "FTLNOMAD.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.notes"}}</legend>
|
||||
{{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
</section>
|
@@ -1,14 +1,5 @@
|
||||
<section class="tab character-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
|
||||
<fieldset class="encumbrance">
|
||||
{{#if isEncumbered}}
|
||||
{{formField systemFields.enc.fields.value value=system.enc.value rootId=partId disabled=true classes="encumbered"}}
|
||||
{{else }}
|
||||
{{formField systemFields.enc.fields.value value=system.enc.value rootId=partId disabled=true}}
|
||||
{{/if}}
|
||||
{{formField systemFields.enc.fields.max value=system.enc.max rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.credits value=system.credits rootId=partId }}
|
||||
</fieldset>
|
||||
<div class="main-div">
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.weapons"}}{{#if isEditMode}}
|
||||
@@ -76,12 +67,10 @@
|
||||
<div class="implant item" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true">
|
||||
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
|
||||
<div class="name" data-roll-type="weapon" data-tooltip="{{{item.system.description}}}">
|
||||
{{item.name}}
|
||||
</div>
|
||||
|
||||
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
|
||||
<a class="damage rollable" data-item-id="{{item.id}}" data-action="roll" data-roll-type="damage"
|
||||
data-roll-value="{{item.system.damage}}">
|
||||
{{#if item.system.isAdvantage}}
|
||||
@@ -122,5 +111,5 @@
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
</section>
|
@@ -32,12 +32,22 @@
|
||||
{{formField systemFields.concept value=system.concept rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.species value=system.species rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.archetype value=system.archetype rootId=partId disabled=isPlayMode}}
|
||||
<div class="hero-armor">
|
||||
<div class="hero-armor">
|
||||
{{formField systemFields.heroPoints value=system.heroPoints rootId=partId }}
|
||||
{{formField systemFields.armor.fields.value value=system.armor.value rootId=partId disabled=isPlayMode}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="encumbrance">
|
||||
{{#if isEncumbered}}
|
||||
{{formField systemFields.enc.fields.value value=system.enc.value rootId=partId disabled=true classes="encumbered"}}
|
||||
{{else }}
|
||||
{{formField systemFields.enc.fields.value value=system.enc.value rootId=partId disabled=true}}
|
||||
{{/if}}
|
||||
{{formField systemFields.enc.fields.max value=system.enc.max rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.credits value=system.credits rootId=partId }}
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<section class="tab character-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
|
||||
<div class="main-div">
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.talents"}}{{#if isEditMode}}
|
||||
<a class="action" data-tooltip="{{localize "FTLNOMAD.Tooltip.addTalent"}}" data-tooltip-direction="UP"><i
|
||||
@@ -11,12 +11,10 @@
|
||||
<div class="talent item" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true">
|
||||
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
|
||||
<div class="name" data-roll-type="weapon" data-tooltip="{{{item.system.description}}}">
|
||||
{{item.name}}
|
||||
</div>
|
||||
|
||||
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
|
||||
<a class="damage rollable" data-item-id="{{item.id}}" data-action="roll" data-roll-type="damage"
|
||||
data-roll-value="{{item.system.damage}}">
|
||||
{{#if item.system.isAdvantage}}
|
||||
@@ -45,12 +43,10 @@
|
||||
<div class="psionic item" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true">
|
||||
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
|
||||
<div class="name" data-roll-type="weapon" data-tooltip="{{{item.system.description}}}">
|
||||
{{item.name}}
|
||||
</div>
|
||||
|
||||
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
|
||||
<a class="damage rollable" data-item-id="{{item.id}}" data-action="roll" data-roll-type="damage"
|
||||
data-roll-value="{{item.system.damage}}">
|
||||
{{#if item.system.isAdvantage}}
|
||||
@@ -79,12 +75,10 @@
|
||||
<div class="language item" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true">
|
||||
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
|
||||
<div class="name" data-roll-type="weapon" data-tooltip="{{{item.system.description}}}">
|
||||
{{item.name}}
|
||||
</div>
|
||||
|
||||
<img src="systems/fvtt-cthulhu-eternal/assets/ui/d100.svg" class="d100" />
|
||||
<a class="damage rollable" data-item-id="{{item.id}}" data-action="roll" data-roll-type="damage"
|
||||
data-roll-value="{{item.system.damage}}">
|
||||
{{#if item.system.isAdvantage}}
|
||||
@@ -101,6 +95,6 @@
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
@@ -15,15 +15,15 @@
|
||||
{{#if weapon}}
|
||||
<li><strong>Weapon : {{weapon.name}}</strong></li>
|
||||
{{/if}}
|
||||
|
||||
|
||||
<li><strong>{{localize rollItem.label}} : {{fullFormula}}</strong></li>
|
||||
|
||||
{{#if isEncumbered}}
|
||||
<li class="red-warning">Encumbered : -1D</li>
|
||||
{{/if}}
|
||||
|
||||
<li>{{localize "FTLNOMAD.Label.modifier"}} : {{numericModifier}}D</li>
|
||||
|
||||
<li>{{localize "FTLNOMAD.Label.modifier"}} : {{skillModifier}}D {{rangeModifier}}D {{numericModifier}}D</li>
|
||||
|
||||
{{#if isSuccess}}
|
||||
<li class="result-success">
|
||||
{{localize "FTLNOMAD.Label.success"}}
|
||||
|
@@ -1,5 +1,6 @@
|
||||
<section class="tab creature-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
|
||||
<div class="main-div">
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.description"}}</legend>
|
||||
@@ -11,4 +12,7 @@
|
||||
<legend>{{localize "FTLNOMAD.Label.notes"}}</legend>
|
||||
{{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
@@ -8,11 +8,14 @@
|
||||
<img class="creature-img" src="{{actor.img}}" data-edit="img" data-action="editImage"
|
||||
data-tooltip="{{actor.name}}" />
|
||||
</div>
|
||||
|
||||
<fieldset class="creature-hp">
|
||||
<legend>{{localize "FTLNOMAD.Label.Stamina"}}</legend>
|
||||
<div class="flexrow">
|
||||
Curr. {{formField systemFields.health.fields.staminaValue value=system.health.staminaValue}}
|
||||
Max {{formField systemFields.health.fields.staminaMax value=system.health.staminaMax rootId=partId}}
|
||||
{{formField systemFields.health.fields.staminaValue value=system.health.staminaValue}}
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
{{formField systemFields.health.fields.staminaMax value=system.health.staminaMax rootId=partId}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<section class="tab creature-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
|
||||
<div class="main-div">
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.traits"}}{{#if isEditMode}}
|
||||
<a class="action" data-tooltip="{{localize "FTLNOMAD.Tooltip.addTrait"}}" data-tooltip-direction="UP"><i
|
||||
@@ -46,5 +46,5 @@
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
</section>
|
@@ -1,5 +1,5 @@
|
||||
<div class="fvtt-ftl-nomad-roll-dialog">
|
||||
|
||||
|
||||
<fieldSet>
|
||||
|
||||
{{#if (eq rollType "skill")}}
|
||||
@@ -52,7 +52,7 @@
|
||||
<fieldSet>
|
||||
<legend>{{localize "FTLNOMAD.Label.rollView"}}</legend>
|
||||
<select name="visibility">
|
||||
{{selectOptions rollModes selected=visibility}}
|
||||
{{selectOptions rollModes localize=true selected=visibility}}
|
||||
</select>
|
||||
</fieldSet>
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.damages"}}</legend>
|
||||
<textarea class="form-control" rows="5" name="system.damages"
|
||||
<textarea class="form-control" cols="66" rows="5" name="system.damages"
|
||||
data-tooltip="{{localize "FTLNOMAD.Tooltip.damages"}}">{{system.damages}}</textarea>
|
||||
</fieldset>
|
||||
|
||||
|
@@ -10,12 +10,12 @@
|
||||
</div>
|
||||
<fieldset class="spec">
|
||||
{{formField systemFields.agility value=system.agility localize=true}}
|
||||
{{formField systemFields.armor value=system.armor localize=true}}
|
||||
{{formField systemFields.armor value=system.armor localize=true}}
|
||||
{{formField systemFields.endurance value=system.endurance localize=true}}
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="starship-right">
|
||||
<div class="starship-name">
|
||||
{{formInput fields.name value=source.name rootId=partId disabled=isPlayMode}}
|
||||
@@ -29,24 +29,25 @@
|
||||
<legend>{{localize "FTLNOMAD.Label.capacity"}}</legend>
|
||||
<div class="flexrow">
|
||||
{{formField systemFields.hullType value=system.hullType localize=true}}
|
||||
<div class="flexrow rollable" data-roll-type="starship-guns">
|
||||
<i class="fa-regular fa-dice dice-2d6"></i>
|
||||
{{formField systemFields.guns value=system.guns localize=true}}
|
||||
</div>
|
||||
{{formField systemFields.cost value=system.cost- localize=true}}
|
||||
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
{{formField systemFields.cost value=system.cost localize=true}}
|
||||
{{formField systemFields.monthlyCost value=system.monthlyCost localize=true}}
|
||||
{{formField systemFields.travelMultiplier value=system.travelMultiplier localize=true}}
|
||||
{{formField systemFields.monthlyCost value=system.monthlyCost localize=true}}
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
{{formField systemFields.travelMultiplier value=system.travelMultiplier localize=true}}
|
||||
|
||||
<div class="flexrow-guns rollable" data-roll-type="starship-guns">
|
||||
<i class="fa-regular fa-dice dice-2d6"></i>
|
||||
{{formField systemFields.guns value=system.guns localize=true}}
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="cargo">
|
||||
<legend>{{localize "FTLNOMAD.Label.cargo"}}</legend>
|
||||
<div class="flexrow">
|
||||
{{formField systemFields.crew value=system.crew localize=true}}
|
||||
{{formField systemFields.crew value=system.crew localize=true}}
|
||||
{{formField systemFields.cargo value=system.cargo localize=true}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@@ -2,15 +2,17 @@
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.damages"}}</legend>
|
||||
<textarea class="form-control" rows="5" name="system.damages"
|
||||
<div class="text-center">
|
||||
<textarea class="form-control " cols="64" rows="5" name="system.damages"
|
||||
data-tooltip="{{localize "FTLNOMAD.Tooltip.damages"}}">{{system.damages}}</textarea>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.notes"}}</legend>
|
||||
{{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<section class="tab vehicle-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
|
||||
<div class="main-div">
|
||||
<fieldset>
|
||||
<legend>{{localize "FTLNOMAD.Label.weapons"}}{{#if isEditMode}}
|
||||
<a class="action" data-tooltip="{{localize "FTLNOMAD.Tooltip.addWeapon"}}" data-tooltip-direction="UP"><i
|
||||
@@ -50,5 +50,5 @@
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
</section>
|
@@ -16,7 +16,7 @@
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="vehicle-right">
|
||||
<div class="vehicle-name">
|
||||
{{formInput fields.name value=source.name rootId=partId disabled=isPlayMode}}
|
||||
@@ -33,17 +33,17 @@
|
||||
{{formField systemFields.force value=system.force localize=true}}
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
{{formField systemFields.range value=system.range localize=true}}
|
||||
{{formField systemFields.speed value=system.speed localize=true}}
|
||||
{{formField systemFields.range value=system.range localize=true}}
|
||||
{{formField systemFields.speed value=system.speed localize=true}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="cargo">
|
||||
<legend>{{localize "FTLNOMAD.Label.cargo"}}</legend>
|
||||
<div class="flexrow">
|
||||
{{formField systemFields.crew value=system.crew localize=true}}
|
||||
<div class="cargo-content">
|
||||
{{formField systemFields.crew value=system.crew localize=true}}
|
||||
{{formField systemFields.cargo value=system.cargo localize=true}}
|
||||
{{formField systemFields.tonnage value=system.tonnage localize=true}}
|
||||
{{formField systemFields.tonnage value=system.tonnage localize=true}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
Reference in New Issue
Block a user