Module:ItemData/VehicleModules

From Dune: Awakening Community Wiki
Jump to navigation Jump to search

Documentation for this module may be created at Module:ItemData/VehicleModules/doc

-- Module:ItemData/VehicleModules
-- =============================================================================
-- Item data for vehicle module components — chassis, engines, boosters,
-- treads, storage, weapons mounts, and whatever else Funcom decides
-- to bolt onto a vehicle in a future patch.
--
-- Fields:
--   GENERAL (all vehicle modules):
--     image, short_desc, long_desc, item_id, added
--     base_vendor_price, max_stack, volume, dropped_on_death
--     unique_schematic, repair_decay_rate
--
--   MODULE-SPECIFIC (use whichever apply, nil the rest):
--     vehicle_module_type    — e.g. "Buggy - Chassis", "Buggy - Engine"
--                              can include a wikilink e.g. "[[Buggy#Chassis|Buggy - Chassis]]"
--     assembly_requirement   — "Mandatory", "Optional", etc.
--     vehicle_module_armor   — armor value
--     fuel_capacity          — fuel tank size
--     treads_steering        — grip rating
--     sandworm_threat_moving_vibration  — vibration level
--     boost_type             — e.g. "Hold", "Toggle"
--     boost_rating           — number (StatRow, max 12)
--     speed                  — km/h (StatRow, max 123)
--     acceleration_type
--     extra_heat
--     inventory_volume       — cargo volume
--     inventory_slots        — cargo slots
--     hull_seats             — passenger seats
--     utility_slots
--     scanner_fov
--     scanner_range
--     heat_increase_second   — heat per second
--     heat_increase_added_instant — heat per use
--     power_consumption_per_second
--     power_consumption_added_instant
--     mining_tier1_minerals through mining_tier6_minerals
-- =============================================================================

return {

	["Scrap Buggy Chassis"] = {
		image             = "T_UI_IconVehCCBChassisR_D.png",
		short_desc        = "Defines the fuel capacity of the vehicle.",
		long_desc         = "The chassis is the starting point for assembling vehicles as it " ..
		                    "provides the base framework to which all other components are " ..
		                    "attached. Use a Welding Torch to place the Buggy chassis.",
		item_id           = nil,   -- populate from DB export
		added             = "1.1.0",
		base_vendor_price = 1,     -- below the > 1 threshold, no currency icon. sad but fair.
		max_stack         = 1,
		volume            = 15.0,
		location          = nil,
		dropped_on_death  = "No",
		unique_schematic  = nil,
		repair_decay_rate = 0.2,

		-- Vehicle module stats
		vehicle_module_type   = "[[Buggy#Chassis|Buggy - Chassis]]",
		assembly_requirement  = "Mandatory",
		vehicle_module_armor  = 50,
		fuel_capacity         = 220,

		-- Everything else nil for this item
		treads_steering                  = nil,
		sandworm_threat_moving_vibration = nil,
		boost_type                       = nil,
		boost_rating                     = nil,
		speed                            = nil,
		acceleration_type                = nil,
		extra_heat                       = nil,
		inventory_volume                 = nil,
		inventory_slots                  = nil,
		hull_seats                       = nil,
		utility_slots                    = nil,
		scanner_fov                      = nil,
		scanner_range                    = nil,
		heat_increase_second             = nil,
		heat_increase_added_instant      = nil,
		power_consumption_per_second     = nil,
		power_consumption_added_instant  = nil,
		mining_tier1_minerals            = nil,
		mining_tier2_minerals            = nil,
		mining_tier3_minerals            = nil,
		mining_tier4_minerals            = nil,
		mining_tier5_minerals            = nil,
		mining_tier6_minerals            = nil,
	},

}