Personal Crafting & Dependencies

This commit is contained in:
ShadowLarkens
2021-05-02 13:55:59 -07:00
parent 6608393d7c
commit 0198ff3fbf
37 changed files with 973 additions and 110 deletions

View File

@@ -80,7 +80,7 @@
material_needs[component_needed] = rand(1,3)
if(ispath(my_guntype, /obj/item/weapon/gun/launcher) && prob(50))
var/component_needed = pick(/obj/item/weapon/tape_roll, /obj/item/weapon/material/wirerod)
var/component_needed = pick(/obj/item/weapon/tape_roll, /obj/item/stack/rods, /obj/item/weapon/handcuffs/cable)
material_needs[component_needed] = 1
if(ispath(my_guntype, /obj/item/weapon/gun/magnetic) && prob(70))

View File

@@ -37,7 +37,8 @@
CheckParts()
FireModeModify()
/obj/item/weapon/gun/energy/modular/proc/CheckParts() //What parts do we have inside us, and how good are they?
/obj/item/weapon/gun/energy/modular/CheckParts() //What parts do we have inside us, and how good are they?
..()
capacitor_rating = 0
laser_rating = 0
manipulator_rating = 0