mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Polaris Sync
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
icon = 'icons/obj/items.dmi'
|
||||
icon_state = "soap"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
slot_flags = SLOT_HOLSTER
|
||||
throwforce = 0
|
||||
throw_speed = 4
|
||||
throw_range = 20
|
||||
@@ -58,6 +59,7 @@
|
||||
item_state = "bike_horn"
|
||||
throwforce = 3
|
||||
w_class = ITEMSIZE_SMALL
|
||||
slot_flags = SLOT_HOLSTER
|
||||
throw_speed = 3
|
||||
throw_range = 15
|
||||
attack_verb = list("HONKED")
|
||||
@@ -425,6 +427,24 @@
|
||||
origin_tech = list(TECH_POWER = 1)
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 50,"glass" = 50)
|
||||
|
||||
var/charge = 0
|
||||
var/max_charge = 1000
|
||||
|
||||
/obj/item/weapon/stock_parts/capacitor/New()
|
||||
. = ..()
|
||||
max_charge *= rating
|
||||
|
||||
/obj/item/weapon/stock_parts/capacitor/proc/charge(var/amount)
|
||||
charge += amount
|
||||
if(charge > max_charge)
|
||||
charge = max_charge
|
||||
|
||||
/obj/item/weapon/stock_parts/capacitor/proc/use(var/amount)
|
||||
if(charge)
|
||||
charge -= amount
|
||||
if(charge < 0)
|
||||
charge = 0
|
||||
|
||||
/obj/item/weapon/stock_parts/scanning_module
|
||||
name = "scanning module"
|
||||
desc = "A compact, high resolution scanning module used in the construction of certain devices."
|
||||
@@ -543,7 +563,7 @@
|
||||
origin_tech = list(TECH_DATA = 3, TECH_MAGNET = 5 ,TECH_MATERIAL = 4, TECH_BLUESPACE = 2)
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 30,"glass" = 10)
|
||||
|
||||
/obj/item/weapon/stock_parts/subspace/filter
|
||||
/obj/item/weapon/stock_parts/subspace/sub_filter
|
||||
name = "hyperwave filter"
|
||||
icon_state = "hyperwave_filter"
|
||||
desc = "A tiny device capable of filtering and converting super-intense radiowaves."
|
||||
|
||||
Reference in New Issue
Block a user