Module:ItemData/Weapons
Jump to navigation
Jump to search
Documentation for this module may be created at Module:ItemData/Weapons/doc
-- Module:ItemData/Weapons
-- =============================================================================
-- Fields:
-- GENERAL (all weapons):
-- image, weapon_type, subtype, short_desc, long_desc
-- item_id, added, base_vendor_price, max_stack
-- volume, location, dropped_on_death, unique_schematic
-- repair_decay_rate, damage_type
--
-- MELEE weapons (weapon_type = "melee"):
-- damage_per_hit, attack_speed, melee_weapon_type
--
-- RANGED weapons (weapon_type = "ranged"):
-- fire_mode, ads_mode, damage_per_shot, rate_of_fire
-- clip_size, reload_speed, effective_range, accuracy, stability
-- =============================================================================
return {
["Unfixed Crysknife"] = {
image = "T_UI_IconWpnMeleeFremCrysknife01R_D.png",
weapon_type = "melee",
melee_weapon_type = "Short Blade",
short_desc = "A blade made from a sandworm's tooth.",
long_desc = "The Unfixed Crysknife is made from a sandworm's tooth and is very brittle. Cannot leave the owner's person. Breaks after first use.",
item_id = "FremCrysknife01",
added = "[[Patch 1.1.0|v1.1.0]]",
base_vendor_price = nil, -- not sold by vendors
max_stack = 1,
volume = 1,
location = nil,
dropped_on_death = "No",
unique_schematic = nil,
repair_decay_rate = 0.2,
damage_type = "Blade",
damage_per_hit = 191.6,
attack_speed = 139,
},
-- Example ranged weapon so you can see the full field set
["Standard Maula Pistol"] = {
image = "T_UI_IconWpn2HChoamMaula01_T2R_D.png",
weapon_type = "ranged",
melee_weapon_type = nil,
short_desc = "Lightweight Pistol.",
long_desc = "Redesigned from the ground up, the MK II is a must-have for successful underworld kingpins.",
item_id = "ChoamSda3",
added = "[[Patch 1.1.0|v1.1.0]]",
base_vendor_price = 3300,
max_stack = 1,
volume = 1,
location = nil,
dropped_on_death = "No",
unique_schematic = nil,
repair_decay_rate = 0.2,
damage_type = nil,
fire_mode = nil,
ads_mode = nil,
damage_per_shot = 10.76,
rate_of_fire = 342.86,
clip_size = 18,
reload_speed = 1.17,
effective_range = 39,
accuracy = 1.025,
stability = 1.8,
},
}