07-07-2019, 07:58 AM
I made some small changes to the staple and zip gun, in which you can now load and unload them with a new type of clip/magazine containing staples.
These clips contain 20 staples and come with 6 sprites, depending on how many are left in the clip.
Using these in the zip gun won't make it explode, but they are really weak with just 5 brute damage.
Though they will implant themselves guaranteed and will cause a few more points of brute damage over time, as well as some light bleeding and flinching.
I was playing around with making it so the zipgun can load more than 2 shots of staples, but that caused some conflicts with all other ammo types only allowing 2 shots, so I left that out.
Implementation notes:
- The old zipgun (/obj/item/gun/kinetic/zipgun) has to be commented out in code/obj/item/gun/kinetic.dm
- The /obj/item/staple_gun/attackby(obj/item/W, mob/user) proc in code/obj/item/surgery_tools.dm might have to be commented out
- The manufacturer recipe for the clips (/datum/manufacture/staples_clip) would have to be added to 3 lists in code/obj/machinery/manufacturer.dm
- /obj/machinery/manufacturer/general to the list called "hidden"
- /obj/machinery/manufacturer/robotics and /obj/machinery/manufacturer/medical to the list called "available"
https://drive.google.com/file/d/1MEEcH9d...sp=sharing
These clips contain 20 staples and come with 6 sprites, depending on how many are left in the clip.
Using these in the zip gun won't make it explode, but they are really weak with just 5 brute damage.
Though they will implant themselves guaranteed and will cause a few more points of brute damage over time, as well as some light bleeding and flinching.
I was playing around with making it so the zipgun can load more than 2 shots of staples, but that caused some conflicts with all other ammo types only allowing 2 shots, so I left that out.
Implementation notes:
- The old zipgun (/obj/item/gun/kinetic/zipgun) has to be commented out in code/obj/item/gun/kinetic.dm
- The /obj/item/staple_gun/attackby(obj/item/W, mob/user) proc in code/obj/item/surgery_tools.dm might have to be commented out
- The manufacturer recipe for the clips (/datum/manufacture/staples_clip) would have to be added to 3 lists in code/obj/machinery/manufacturer.dm
- /obj/machinery/manufacturer/general to the list called "hidden"
- /obj/machinery/manufacturer/robotics and /obj/machinery/manufacturer/medical to the list called "available"
https://drive.google.com/file/d/1MEEcH9d...sp=sharing