From SCP: Secret Laboratory English Official Wiki

No edit summary
No edit summary
Line 1: Line 1:
{{914_Item_2|{{{ammoType2|5.56x45mm}}}|rounds={{#expr: floor({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}})*{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}}}}}}{{#ifexpr:{{#expr:({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}})*{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}} mod {{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}}}}= 0||{{914_Item_2|{{{ammoType1|9x19mm}}}|rounds={{#expr: ({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}}) * {{AmmoValue|caliber={{{ammoType1|9x19mm}}}}} mod {{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}}}}}}}}<noinclude>
{{#ifeq:{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}}|{{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}}|{{914_Item_2|{{{ammoType2|5.56x45mm}}}|rounds={{{amountOfAmmo|15}}}}}|
 
{{914_Item_2|{{{ammoType2|5.56x45mm}}}|rounds={{#expr: trunc({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}})*{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}}}}}}{{#ifexpr:{{#expr:({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}})*{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}} mod {{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}}}}= 0||{{914_Item_2|{{{ammoType1|9x19mm}}}|rounds={{#expr: ({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}}) * {{AmmoValue|caliber={{{ammoType1|9x19mm}}}}} mod {{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}}}}}}}}}}<noinclude>


{{#expr: 8/3 * 2}}


{{Mvar|1= Floor{{Pars|s=200%|{{Overunderset|—|a|c}}}} × b = Converted Ammo}}<br><br>
{{Mvar|1= Floor{{Pars|s=200%|{{Overunderset|—|a|c}}}} × b = Converted Ammo}}<br><br>
{{Mvar|1= {{Pars|s=200%|{{Overunderset|—|a|b}}}} × b % c = Remainder Ammo}}<br><br>
{{Mvar|1= {{Pars|s=200%|{{Overunderset|—|a|b}}}} × b % c = Remainder Ammo}}<br><br>
 
This formula does not work when converting 5.56x45mm to 7.62x39mm. As they are always a 1:1 conversion.


A = Amount of ammo in the input<br>
A = Amount of ammo in the input<br>
Line 19: Line 20:
* 12/70 Buckshot = 5
* 12/70 Buckshot = 5
* .44 Mag = 7
* .44 Mag = 7
Text Example: 8 Rounds of 9x19mm to 5.56x45mm<br>
{{AmmoExchange
|amountOfAmmo = 8
|ammoType1 = 9x19mm
|ammoType2 = 5.56x45mm
}}


Text Example: 15 Rounds of 9x19mm to 5.56x45mm<br>
Text Example: 15 Rounds of 9x19mm to 5.56x45mm<br>
{{AmmoExchange
{{AmmoExchange
|amountOfAmmo = 15
|amountOfAmmo = 12
|ammoType1 = 9x19mm  
|ammoType1 = 9x19mm
|ammoType2 = .44 Mag
}}
 
Text Example: 35 Rounds of 7.62x39mm to 5.56x45mm<br>
{{AmmoExchange
|amountOfAmmo = 35
|ammoType1 = 7.62x39mm
|ammoType2 = 5.56x45mm
|ammoType2 = 5.56x45mm
}}
}}

Revision as of 23:00, 27 October 2022

5.56x45mm (10 rounds)

5.3333333333333

Floor(ac) × b = Converted Ammo

(ab) × b % c = Remainder Ammo

This formula does not work when converting 5.56x45mm to 7.62x39mm. As they are always a 1:1 conversion.

A = Amount of ammo in the input
B = The "exchange value" of the ammo in the input
C = The "exchange value" of the ammo in the output
% = Modulo Operator (or in other words, the remainder after dividing)


Exchange Values

  • 9x19mm = 2
  • 5.56x45mm = 3
  • 7.62x39mm = 3
  • 12/70 Buckshot = 5
  • .44 Mag = 7

Text Example: 8 Rounds of 9x19mm to 5.56x45mm
5.56x45mm (4 rounds) 9x19mm (2 rounds)

Text Example: 15 Rounds of 9x19mm to 5.56x45mm
.44 Mag (2 rounds) 9x19mm (5 rounds)

Text Example: 35 Rounds of 7.62x39mm to 5.56x45mm
5.56x45mm (35 rounds)

Text Example: 65000 Rounds of .44 Mag to 9x19mm
9x19mm (227500 rounds)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.