Skip to content

Commit

Permalink
proper foam darts where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Feb 7, 2024
1 parent 5981540 commit 7547ca6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _maps/RandomRuins/RockRuins/rockplanet_harmfactory.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
/area/ruin/powered)
"ga" = (
/obj/structure/table/wood/reinforced,
/obj/item/gun/ballistic/automatic/smg/c20r/toy{
/obj/item/gun/ballistic/automatic/smg/c20r/toy/riot{
pixel_x = 5;
pixel_y = 7
},
Expand Down
2 changes: 1 addition & 1 deletion _maps/shuttles/syndicate/syndicate_luxembourg.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@
/obj/structure/closet/crate/wooden/toy,
/obj/item/ammo_box/magazine/toy/smgm45/riot,
/obj/item/ammo_box/magazine/toy/smgm45/riot,
/obj/item/gun/ballistic/automatic/smg/c20r/toy,
/obj/item/gun/ballistic/automatic/smg/c20r/toy/riot,
/obj/item/soap/syndie,
/obj/item/soap/syndie,
/obj/item/soap/syndie,
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/storage/backpack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@
/obj/item/storage/backpack/duffelbag/syndie/med/medicalbundle/PopulateContents()
new /obj/item/clothing/shoes/magboots/syndie(src)
new /obj/item/storage/firstaid/tactical(src)
new /obj/item/gun/ballistic/automatic/hmg/l6_saw/toy(src)
new /obj/item/gun/ballistic/automatic/hmg/l6_saw/toy/riot(src)
new /obj/item/ammo_box/foambox/riot(src)

/obj/item/storage/backpack/duffelbag/syndie/med/bioterrorbundle
Expand All @@ -654,7 +654,7 @@
new /obj/item/reagent_containers/spray/chemsprayer/bioterror(src)
new /obj/item/storage/box/syndie_kit/chemical(src)
new /obj/item/gun/syringe/syndicate(src)
new /obj/item/gun/ballistic/automatic/smg/c20r/toy(src)
new /obj/item/gun/ballistic/automatic/smg/c20r/toy/riot(src)
new /obj/item/storage/box/syringes(src)
new /obj/item/ammo_box/foambox/riot(src)
new /obj/item/grenade/chem_grenade/bioterrorfoam(src)
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/storage/uplink_kits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
/obj/item/storage/box/syndie_kit/imp_radio,
/obj/item/storage/box/syndie_kit/imp_uplink,
/obj/item/clothing/gloves/krav_maga/combatglovesplus,
/obj/item/gun/ballistic/automatic/smg/c20r/toy,
/obj/item/gun/ballistic/automatic/smg/c20r/toy/riot,
/obj/item/reagent_containers/hypospray/medipen/stimulants,
/obj/item/storage/box/syndie_kit/imp_freedom,
/obj/item/toy/eightball/haunted
Expand Down
11 changes: 7 additions & 4 deletions code/modules/projectiles/guns/ballistic/toy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,29 +78,32 @@
recoil = -10 //its a toy...
recoil_unwielded = -10

/obj/item/gun/ballistic/automatic/smg/c20r/toy //This is the syndicate variant with syndicate firing pin and riot darts.
/obj/item/gun/ballistic/automatic/smg/c20r/toy
name = "donksoft SMG"
desc = "A bullpup two-round burst toy SMG, designated 'C-20r'. Ages 8 and up."
can_suppress = FALSE
item_flags = NONE
mag_type = /obj/item/ammo_box/magazine/toy/smgm45/riot
mag_type = /obj/item/ammo_box/magazine/toy/smgm45
fire_sound = 'sound/items/syringeproj.ogg'
casing_ejector = FALSE
manufacturer = MANUFACTURER_DONKCO
recoil = -10 //its a toy...
recoil_unwielded = -10

/obj/item/gun/ballistic/automatic/smg/c20r/toy/riot
mag_type = /obj/item/ammo_box/magazine/toy/smgm45/riot

/obj/item/gun/ballistic/automatic/smg/c20r/toy/update_overlays()
. = ..()
. += "[icon_state]_toy"

/obj/item/gun/ballistic/automatic/hmg/l6_saw/toy //This is the syndicate variant with syndicate firing pin and riot darts.
/obj/item/gun/ballistic/automatic/hmg/l6_saw/toy
name = "donksoft LMG"
desc = "A heavily modified toy light machine gun, designated 'L6 SAW'. Ages 8 and up."
fire_sound = 'sound/items/syringeproj.ogg'
can_suppress = FALSE
item_flags = NONE
mag_type = /obj/item/ammo_box/magazine/toy/m762/riot
mag_type = /obj/item/ammo_box/magazine/toy/m762
casing_ejector = FALSE
manufacturer = MANUFACTURER_DONKCO
recoil = -10 //its a toy...
Expand Down
4 changes: 2 additions & 2 deletions code/modules/uplink/uplink_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
/datum/uplink_item/dangerous/foamsmg
name = "Toy Submachine Gun"
desc = "A fully-loaded Donksoft bullpup submachine gun that fires riot grade darts with a 20-round magazine."
item = /obj/item/gun/ballistic/automatic/smg/c20r/toy
item = /obj/item/gun/ballistic/automatic/smg/c20r/toy/riot
cost = 5
surplus = 0
include_modes = list(/datum/game_mode/nuclear, /datum/game_mode/nuclear/clown_ops)
Expand All @@ -525,7 +525,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
name = "Toy Machine Gun"
desc = "A fully-loaded Donksoft belt-fed machine gun. This weapon has a massive 50-round magazine of devastating \
riot grade darts, that can briefly incapacitate someone in just one volley."
item = /obj/item/gun/ballistic/automatic/hmg/l6_saw/toy
item = /obj/item/gun/ballistic/automatic/hmg/l6_saw/toy/riot
cost = 10
surplus = 0
include_modes = list(/datum/game_mode/nuclear, /datum/game_mode/nuclear/clown_ops)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/vending/liberation_toy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
contraband = list(
/obj/item/gun/ballistic/shotgun/toy/crossbow = 10, //Congrats, you unlocked the +18 setting!
/obj/item/gun/ballistic/automatic/smg/c20r/toy = 10,
/obj/item/gun/ballistic/automatic/hmg/l6_saw/toy/riot = 10,
/obj/item/gun/ballistic/automatic/hmg/l6_saw/toy = 10,
/obj/item/ammo_box/foambox/riot = 20,
/obj/item/toy/katana = 10,
/obj/item/dualsaber/toy = 5,
Expand Down

0 comments on commit 7547ca6

Please sign in to comment.