Skip to content

Commit

Permalink
ballistic
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Feb 5, 2024
1 parent 67db4f3 commit 0ffb50f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/unit_tests/gun_crafting.dm
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//Makes sure preinstalled frame parts can be removed an reinstalled
/datum/unit_test/gun_crafting/Run()
var/list/guns = typesof(/obj/item/gun)
var/list/guns = typesof(/obj/item/gun/ballistic)
for(var/gunType in guns)
var/obj/item/gun/G = new gunType // Create an instance of the gun
if(G.magazine) // If the gun has a magazine
var/obj/item/gun/ballistic/G = new gunType
if(G.magazine)
TEST_FAIL("Gun: [G.type], Magazine: [G.magazine.type], Caliber: [G.magazine.caliber]")

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic, Magazine: /obj/item/ammo_box/magazine/m10mm, Caliber: 10mm

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/rifle, Magazine: /obj/item/ammo_box/magazine/internal/boltaction, Caliber: 7.62x54mmR

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/rifle/boltaction, Magazine: /obj/item/ammo_box/magazine/internal/boltaction, Caliber: 7.62x54mmR

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/rifle/boltaction/enchanted, Magazine: /obj/item/ammo_box/magazine/internal/boltaction/enchanted, Caliber: 7.62x54mmR

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/rifle/boltaction/enchanted/arcane_barrage, Magazine: /obj/item/ammo_box/magazine/internal/boltaction/enchanted/arcane_barrage, Caliber: 7.62x54mmR

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/rifle/boltaction/enchanted/arcane_barrage/blood, Magazine: /obj/item/ammo_box/magazine/internal/boltaction/enchanted/arcane_barrage/blood, Caliber: 7.62x54mmR

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/rifle/boltaction/solgov, Magazine: /obj/item/ammo_box/magazine/internal/boltaction/solgov, Caliber: a858

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/rifle/boltaction/roumain, Magazine: /obj/item/ammo_box/magazine/internal/boltaction/smile, Caliber: a300

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/rifle/boltaction/polymer, Magazine: /obj/item/ammo_box/magazine/internal/boltaction/polymer, Caliber: .300 BLK

Check failure on line 7 in code/modules/unit_tests/gun_crafting.dm

View workflow job for this annotation

GitHub Actions / Integration Tests (BASIC_TESTS) / run_integration_tests

/datum/unit_test/gun_crafting

Gun: /obj/item/gun/ballistic/automatic, Magazine: /obj/item/ammo_box/magazine/m10mm, Caliber: 10mm
/*
var/mob/living/carbon/human/human = allocate(/mob/living/carbon/human)
Expand Down

0 comments on commit 0ffb50f

Please sign in to comment.