akkamaddi wrote:I'm trying to find where the weapon mods (accuracy, long range, etc.) actually do their game-mechanics stuff. I've gone through WEAPONS.lua and ~TECHNOLOGY.lua, but I've only found the descriptions and dependencies. I'm looking for the actual multipliers that make stuff change.
The range and accuracy stuff is in beam_attack_rolls.lua. While some of the other specials (like Enveloping), are in ship_damage.lua. If you're using visual studio, doing a "find all in files" on the string representation of the special usually finds stuff pretty easily -- but the implementations are scattered throughout the codebase, rather than cleanly centralized.