mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-30 03:52:52 +00:00
This pr adds a freeze ray gun. It works by reducing the mob's temperature until they freeze and get stuck inside ice for a while. The gun also has an alt-fire mode that fires ice bolt.
20 lines
701 B
Plaintext
20 lines
701 B
Plaintext
/obj/item/gun/energy/freeze
|
|
name = "freeze ray gun"
|
|
desc = "A portable freezing ray gun designated to quickly lower temperatures."
|
|
icon = 'icons/obj/guns/freezeray.dmi'
|
|
icon_state = "icer"
|
|
item_state = "icer"
|
|
has_item_ratio = FALSE
|
|
fire_sound = 'sound/weapons/pulse3.ogg'
|
|
|
|
max_shots = 5
|
|
|
|
origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 4, TECH_POWER = 4)
|
|
slot_flags = SLOT_BELT
|
|
|
|
projectile_type = /obj/item/projectile/beam/freezer
|
|
|
|
firemodes = list(
|
|
list(mode_name="freeze", projectile_type= /obj/item/projectile/beam/freezer, fire_sound='sound/weapons/pulse3.ogg'),
|
|
list(mode_name="ice bolt", projectile_type= /obj/item/projectile/ice, fire_sound='sound/weapons/crossbow.ogg')
|
|
) |