Truly Modular: Modular Item API

Truly Modular: Modular Item API

Gun Context Property

Description

The Gun Context Property is used to define fundamental shooting mechanics in modular weapons. It controls attributes such as:

  • Fire Rate: Determines how quickly the gun fires.
  • Base Damage: The default damage output per shot.
  • Magazine Size: The total number of bullets before needing a reload.
  • Range: Maximum effective shooting distance.

Data

  • fire_rate: Fire rate of the weapon (Default
  • base_damage: Base damage per shot (Default
  • magazine_size: Number of shots before reloading (Default
  • range: Maximum hit detection range (Default