# <modname> — gameplay config (modconfig.txt)
#
# Every line below is commented out, so this mod changes nothing until you
# edit it. Uncomment what you want and import:
#
#   python tools_pc/modprepare.py --name <modname> --config-only \
#       --modconfig mods/<modname>/modconfig.txt
#
# --- Grammar (Dab-style: one block per line, '{' opens, '}' closes) -----
#   weapon <itemID>   { field value [ field value ... ] }
#   ammo   <ammoType> { max N }
#   damage { global X }
#   pickupqty { <ammoType> <qty> [ <ammoType> <qty> ... ] }
#   unlocks { all }
#
# Weapon fields (any subset):
#   magSize autoFiringRate singleFiringRate objectsShootThrough
#   destructionAmount inaccuracy zoom crosshairSpeed aimLockSpeed
#   sway forceOfImpact ammoType
#
# IDs may be a number OR the enum name, and the import echoes the name it
# resolved ("modconfig: weapon 13 = ITEM_M16") — check that line, because a
# wrong id is applied to a different weapon and the mod then looks like it
# does nothing in game (D994). Both enums have a zero slot you do NOT want
# (src/bondconstants.h):
#   ITEM_IDS starts at ITEM_UNARMED=0, so: PP7=4 (ITEM_WPPK), SILENCED PP7=5
#     (ITEM_WPPKSIL — what you spawn holding on the Dam), Klobb=7, KF7=8,
#     M16=13, Sniper=17, Goldengun=19, Laser=22, Grenadelauncher=24.
#   AMMOTYPE starts at AMMO_NONE=0, so: 9mm=1, 9mm(2)=2, Rifle=3, Shotgun=4,
#     Grenade=5, Rockets=6, Magnum=12, Goldengun=13.
#
# A raised magazine cannot show until you carry that much ammo (a reload
# fills min(carried, magSize)), so to see a change immediately, try a value
# BELOW vanilla on the gun the level starts you with.
#
# The weapon/ammo writes are plain table data and stay on under the Original
# N64 preset; damage / pickupqty / unlocks are the opt-in hook layer and that
# preset forces them off.

# weapon ITEM_M16 { magSize 36 }
# ammo   AMMO_RIFLE { max 200 }
# damage { global 1.25 }
# pickupqty { AMMO_RIFLE 120 AMMO_9MM 60 }
# unlocks { all }
