mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-24 09:03:05 +00:00
Personal Crafting & Dependencies
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user