mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-20 19:43:13 +01:00
As title. Adds several mechanics/assembly/disassembly hints to several gun types, and also handles some minor code cleanup where I found issues. No mechanical changes.
29 lines
874 B
Plaintext
29 lines
874 B
Plaintext
/obj/item/gun/energy/temperature
|
|
name = "freeze ray"
|
|
icon = 'icons/obj/guns/freezegun.dmi'
|
|
icon_state = "freezegun"
|
|
item_state = "freezegun"
|
|
has_item_ratio = FALSE
|
|
fire_sound = 'sound/weapons/pulse3.ogg'
|
|
desc = "A gun that changes temperatures. It has a small label on the side, 'More extreme temperatures will cost more charge!'"
|
|
var/temperature = T20C
|
|
var/current_temperature = T20C
|
|
charge_cost = 100
|
|
accuracy = 1
|
|
origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 4, TECH_POWER = 3, TECH_MAGNET = 2)
|
|
slot_flags = SLOT_BELT|SLOT_BACK
|
|
|
|
projectile_type = /obj/projectile/temp
|
|
can_turret = TRUE
|
|
turret_sprite_set = "temperature"
|
|
|
|
cell_type = /obj/item/cell/crap //WAS High, but brought down to match energy use
|
|
|
|
needspin = FALSE
|
|
|
|
/obj/item/gun/energy/temperature/Topic(href, href_list)
|
|
if (..())
|
|
return 1
|
|
usr.set_machine(src)
|
|
src.add_fingerprint(usr)
|