Navigation
Wiki Links
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> | {{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> | ||
Line 23: | Line 19: | ||
* 12/70 Buckshot = 5 | * 12/70 Buckshot = 5 | ||
* .44 Mag = 7 | * .44 Mag = 7 | ||
Text Example: 15 Rounds of 9x19mm to | |||
{{AmmoExchange | |||
|amountOfAmmo = 15 | |||
|ammoType1 = 9x19mm | |||
|ammoType2 = 5.56x45mm | |||
}} | |||
Text Example: 1554 Rounds of .44 Mag to 9x19mm | |||
{{AmmoExchange | |||
|amountOfAmmo = 1544 | |||
|ammoType1 = .44 Mag | |||
|ammoType2 = 9x19mm | |||
}} |
Revision as of 21:42, 26 October 2022
Floor(a—c) × b = Converted Ammo
(a—b) × b % c = Remainder Ammo
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: 15 Rounds of 9x19mm to 5.56x45mm (10 rounds)
Text Example: 1554 Rounds of .44 Mag to 9x19mm
9x19mm (5404 rounds)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
- This page was last edited on 26 October 2022, at 21:42.
- Content is available under CC BY-SA 3.0 unless otherwise noted.
- Privacy policy
- About SCP: Secret Laboratory English Official Wiki
- Disclaimers