MOOOOOORE TESTING!
I did some tweaking and experimenting in the arena
[BUILDING_WORKSHOP:GUN_MAGMA]
[NAME:Gunsmith's Magma Forge]
[BUILD_LABOR:METAL_CRAFT]
[BUILD_KEY:CUSTOM_ALT_F]
[NAME_COLOR:7:0:1]
[WORK_LOCATION:2:2]
[BLOCK:1:1:1:1]
[BLOCK:2:1:0:0]
[BLOCK:3:1:0:0]
[DIM:3:3]
[TILE:0:1:32:7:47]
[TILE:0:2:32:32:32]
[TILE:0:3:229:32:32]
[COLOR:0:1:0:0:0:0:7:0:0:0:1]
[COLOR:0:2:0:0:0:0:0:0:0:0:0]
[COLOR:0:3:0:0:1:0:0:0:0:0:0]
[TILE:1:1:177:7:177]
[TILE:1:2:32:229:32]
[TILE:1:3:32:47:32]
[COLOR:1:1:0:0:1:0:7:0:0:0:1]
[COLOR:1:2:0:0:0:0:0:1:0:0:0]
[COLOR:1:3:0:0:0:0:0:1:0:0:0]
[TILE:2:1:177:7:177]
[TILE:2:2:47:32:229]
[TILE:2:3:0:32:32]
[COLOR:2:1:0:7:1:0:7:0:0:7:1]
[COLOR:2:2:0:7:1:0:0:0:0:0:1]
[COLOR:2:3:0:7:1:0:0:0:0:0:0]
[TILE:3:1:177:7:177]
[TILE:3:2:92:210:229]
[TILE:3:3:128:32:32]
[COLOR:3:1:0:7:1:4:7:1:0:7:1]
[COLOR:3:2:0:7:1:0:0:1:0:0:1]
[COLOR:3:3:0:7:1:0:0:0:0:0:0]
[BUILD_ITEM:1:BLOCKS:NONE:NONE:NONE][BUILDMAT][FIRE_BUILD_SAFE]
[BUILD_ITEM:1:ANVIL:NONE:NONE:NONE][CAN_USE_ARTIFACT]
[NEEDS_MAGMA]
[BUILDING_WORKSHOP:BULLET_MAGMA]
[NAME:Magma Ammunition Mint]
[BUILD_LABOR:METAL_CRAFT]
[BUILD_KEY:CUSTOM_ALT_G]
[WORK_LOCATION:1:2]
[DIM:2:2]
[TILE:0:1:32:102]
[TILE:0:2:247:32]
[COLOR:0:1:0:0:0:7:0:0]
[COLOR:0:2:7:0:0:0:0:0]
[TILE:1:1:64:32]
[TILE:1:2:64:64]
[COLOR:1:1:7:0:0:0:0:0]
[COLOR:1:2:7:0:0:7:0:0]
[TILE:2:1:64:32]
[TILE:2:2:65:65]
[COLOR:2:1:7:0:0:0:0:0]
[COLOR:2:2:7:0:0:7:0:0]
[TILE:3:1:248:102]
[TILE:3:2:66:66]
[COLOR:3:1:7:0:0:7:0:0]
[COLOR:3:2:7:0:0:7:0:0]
[BUILD_ITEM:1:BLOCKS:NONE:NONE:NONE][BUILDMAT][FIRE_BUILD_SAFE]
[NEEDS_MAGMA]
Pretty much the only thing I added there was a separate named version that needs magma
[REACTION:COPPER_AIRGUN]
[NAME:make copper spring-guns]
[BUILDING:GUN_FORGE:NONE]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:COPPER]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_AIRGUN:METAL:COPPER]
[SKILL:FORGE_WEAPON]
[REACTION:IRON_AIRGUN]
[NAME:make iron spring-guns]
[BUILDING:GUN_FORGE:NONE]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:IRON]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_AIRGUN:METAL:IRON]
[SKILL:FORGE_WEAPON]
[REACTION:BRONZE_AIRGUN]
[NAME:make bronze spring-guns]
[BUILDING:GUN_FORGE:NONE]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:BRONZE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_AIRGUN:METAL:BRONZE]
[SKILL:FORGE_WEAPON]
[REACTION:STEEL_AIRGUN]
[NAME:make steel spring-guns]
[BUILDING:GUN_FORGE:NONE]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:STEEL]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_AIRGUN:METAL:STEEL]
[SKILL:FORGE_WEAPON]
[REACTION:IRON_PISTOL]
[NAME:make iron pistols]
[BUILDING:GUN_FORGE:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:IRON]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:4:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:2:WEAPON:ITEM_WEAPON_PISTOL:METAL:IRON]
[FUEL]
[SKILL:FORGE_WEAPON]
[REACTION:BRONZE_PISTOL]
[NAME:make bronze pistols]
[BUILDING:GUN_FORGE:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:BRONZE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:4:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:2:WEAPON:ITEM_WEAPON_PISTOL:METAL:BRONZE]
[FUEL]
[SKILL:FORGE_WEAPON]
[REACTION:STEEL_PISTOL]
[NAME:make steel pistols]
[BUILDING:GUN_FORGE:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:STEEL]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:4:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:2:WEAPON:ITEM_WEAPON_PISTOL:METAL:STEEL]
[FUEL]
[SKILL:FORGE_WEAPON]
[REACTION:LEAD_BULLET_2]
[NAME:make lead gunstones]
[BUILDING:BULLET_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:LEAD]
[PRODUCT:100:60:AMMO:ITEM_AMMO_BULLET:METAL:LEAD]
[SKILL:METALCRAFT]
[REACTION:IRON_BULLET_2]
[NAME:make iron gunstones]
[BUILDING:BULLET_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:IRON]
[PRODUCT:100:60:AMMO:ITEM_AMMO_BULLET:METAL:IRON]
[SKILL:METALCRAFT]
[REACTION:COPPER_BULLET_2]
[NAME:make copper gunstones]
[BUILDING:BULLET_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:COPPER]
[PRODUCT:100:60:AMMO:ITEM_AMMO_BULLET:METAL:COPPER]
[SKILL:METALCRAFT]
[REACTION:BRONZE_BULLET_2]
[NAME:make bronze gunstones]
[BUILDING:BULLET_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:BRONZE]
[PRODUCT:100:60:AMMO:ITEM_AMMO_BULLET:METAL:BRONZE]
[SKILL:METALCRAFT]
[REACTION:STEEL_BULLET_2]
[NAME:make steel gunstones]
[BUILDING:BULLET_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:STEEL]
[PRODUCT:100:60:AMMO:ITEM_AMMO_BULLET:METAL:STEEL]
[SKILL:METALCRAFT]
[REACTION:SILVER_BULLET_2]
[NAME:make silver gunstones]
[BUILDING:BULLET_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:SILVER]
[PRODUCT:100:60:AMMO:ITEM_AMMO_BULLET:METAL:SILVER]
[SKILL:METALCRAFT]
[REACTION:IRON_MUSKET_2]
[NAME:make iron muskets]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:IRON]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_MUSKET:METAL:IRON]
[SKILL:FORGE_WEAPON]
[REACTION:BRONZE_MUSKET_2]
[NAME:make bronze muskets]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:BRONZE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_MUSKET:METAL:BRONZE]
[SKILL:FORGE_WEAPON]
[REACTION:STEEL_MUSKET_2]
[NAME:make steel muskets]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:STEEL]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_MUSKET:METAL:STEEL]
[SKILL:FORGE_WEAPON]
[REACTION:IRON_RIFLE_2]
[NAME:make iron rifles]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:IRON]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_RIFLE:METAL:IRON]
[SKILL:FORGE_WEAPON]
[REACTION:STEEL_RIFLE_2]
[NAME:make steel rifles]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:STEEL]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_RIFLE:METAL:STEEL]
[SKILL:FORGE_WEAPON]
[REACTION:BRONZE_RIFLE_2]
[NAME:make bronze rifles]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:BRONZE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:2:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_RIFLE:METAL:BRONZE]
[SKILL:FORGE_WEAPON]
[REACTION:STEEL_PISTOL_2]
[NAME:make steel pistols]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:STEEL]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:4:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:2:WEAPON:ITEM_WEAPON_PISTOL:METAL:STEEL]
[SKILL:FORGE_WEAPON]
[REACTION:IRON_PISTOL_2]
[NAME:make iron pistols]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:IRON]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:4:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:2:WEAPON:ITEM_WEAPON_PISTOL:METAL:IRON]
[SKILL:FORGE_WEAPON]
[REACTION:BRONZE_PISTOL_2]
[NAME:make bronze pistols]
[BUILDING:GUN_MAGMA:NONE]
[REAGENT:metal:150:BAR:NO_SUBTYPE:METAL:BRONZE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[REAGENT:mechanisms:4:TRAPPARTS:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:2:WEAPON:ITEM_WEAPON_PISTOL:METAL:BRONZE]
[SKILL:FORGE_WEAPON]
Here I also removed the need for fuel to make all airguns
[ITEM_AMMO:ITEM_AMMO_CARTRIDGE]
[NAME:bullet:cartridges]
[CLASS:CARTRIDGE]
[SIZE:100] The previous size seemed too small to do enough damage and kept only bruising the enemies
[ATTACK:EDGE:7:7500:impact:impacts:NO_SUB:10000] Enlarged contact area, improved pierce
[ITEM_AMMO:ITEM_AMMO_BULLET]
[NAME:gunstone:gunstones]
[CLASS:BULLET]
[SIZE:100] same changes as cartridges
[ATTACK:EDGE:7:6000:impact:impacts:NO_SUB:7500]
Bullets made of metals better for cutting fare better than heavy materials.
Ex Iron>Lead etc etc
Gun material only matters for melee, cutting metals are better.
In arena testing:
A proficient marksdwarf/archer with a steel rifle and lead bullets got killed by an elephant starting from 15 tiles
A grand master MD/A with a steel pistol and lead bullets killrf the elephant before it moved 10 tiles. 3 shots to incapacitate about 10 more to finish it off
A team of 10 gunmen with steel rifles/bullets vs a team of 10 crossbowmen with steel crossbows/bolts. 15 tiles apart. All proficient at ranged combat. Each dwarf had 11 ammunition.
-Riflemen won with 7 dead 2 moderately injured 1 heavily injured
-2 crossbowmen were killed in melee
A team of 20 gunmen with steel rifles/bullets vs a team of 20 crossbowmen with steel crossbows/bolts. 15 tiles apart. All proficient at ranged combat. Each dwarf had 11 ammunition.
-Riflemen won with 5 dead 3 lightly injured 6 moderately injured 6 heavily injured
-4 crossbowmen were killed in melee
-1 riflemen was killed in melee
Didn't seem to be any difference in firing speed.Rifles and muskets CAN be used with a shield[ITEM_WEAPON:ITEM_WEAPON_MUSKET]
[NAME:musket:muskets] Used as a catch-all term for smoothbore shoulder-arms. If Time Team can get away with it, so can I!
[SIZE:450]
[SKILL:SPEAR]
[RANGED:CROSSBOW:CARTRIDGE]
[SHOOT_FORCE:25000] This number is apparently supposed to determine muzzle velocity, not sure if it actually does anything yet.
[SHOOT_MAXVEL:25000] This number determines rate of fire.
[TWO_HANDED:57500]
[MINIMUM_SIZE:52500]
[MATERIAL_SIZE:4]
[ATTACK:EDGE:5:2500:stab:stabs:bayonet:1000] "Urist McGunsmith cancels forge plug bayonet: interrupted by game-engine limitations." Improved Melee
[ATTACK:BLUNT:10000:4000:smash:smashes:stock:1250]
[ITEM_WEAPON:ITEM_WEAPON_RIFLE]
[NAME:rifle:rifles] Not often used in combat until the end of the 18th century, but around since at least another century earlier.
[SIZE:550]
[SKILL:SPEAR]
[RANGED:CROSSBOW:CARTRIDGE]
[SHOOT_FORCE:50000]
[SHOOT_MAXVEL:20000]
[TWO_HANDED:57500]
[MINIMUM_SIZE:52500]
[MATERIAL_SIZE:4]
[ATTACK:EDGE:5:1000:stab:stabs:bayonet:900] Added bayonet
[ATTACK:BLUNT:10000:4000:smash:smashes:stock:1250]
[ITEM_WEAPON:ITEM_WEAPON_AIRGUN]
[NAME:spring-gun:spring-guns] First started appearing in the 17th Century, included here to balance the scarcity of gunpowder.
[SIZE:450]
[SKILL:SPEAR]
[RANGED:CROSSBOW:BULLET]
[SHOOT_FORCE:20000]
[SHOOT_MAXVEL:30000]
[TWO_HANDED:57500]
[MINIMUM_SIZE:52500]
[MATERIAL_SIZE:4]
[ATTACK:EDGE:5:2000:stab:stabs:bayonet:1250] Improved melee
[ATTACK:BLUNT:10000:4000:smash:smashes:stock:1250]
[ITEM_WEAPON:ITEM_WEAPON_PISTOL]
[NAME:pistol:pistols] Made in pairs. Their major advantage is that they can be used in conjunction with a shield.
[SIZE:250]
[SKILL:SWORD]
[RANGED:CROSSBOW:CARTRIDGE]
[SHOOT_FORCE:17500]
[SHOOT_MAXVEL:30000]
TWO_HANDED:37500]
[MINIMUM_SIZE:32500]
[MATERIAL_SIZE:2]
[ATTACK:EDGE:750:750:slashes:slashes:bayonet:1000] Added a slashing bayonet. Somewhat worse stats than a large dagger
[ATTACK:BLUNT:5000:4000:smash:smashes:butt:1250]
[PERMITTED_BUILDING:GUN_MAGMA]
[PERMITTED_BUILDING:BULLET_MAGMA]
[PERMITTED_REACTION:CARTRIDGES_2]
[PERMITTED_REACTION:LEAD_BULLET_2]
[PERMITTED_REACTION:IRON_BULLET_2]
[PERMITTED_REACTION:COPPER_BULLET_2]
[PERMITTED_REACTION:SILVER_BULLET_2]
[PERMITTED_REACTION:BRONZE_BULLET_2]
[PERMITTED_REACTION:STEEL_BULLET_2]
[PERMITTED_REACTION:IRON_MUSKET_2]
[PERMITTED_REACTION:BRONZE_MUSKET_2]
[PERMITTED_REACTION:STEEL_MUSKET_2]
[PERMITTED_REACTION:IRON_RIFLE_2]
[PERMITTED_REACTION:BRONZE_RIFLE_2]
[PERMITTED_REACTION:STEEL_RIFLE_2]
[PERMITTED_REACTION:IRON_PISTOL_2]
[PERMITTED_REACTION:BRONZE_PISTOL_2]
[PERMITTED_REACTION:STEEL_PISTOL_2]