Fixes laser rifle fire delay + fixes safety overlays (#8731)

This commit is contained in:
Matt Atlas
2020-04-23 12:11:15 +02:00
committed by GitHub
parent baf020111c
commit 70efbb0ed9
3 changed files with 45 additions and 0 deletions
+1
View File
@@ -125,6 +125,7 @@
if(has_safety)
cut_overlay(safety_overlay, TRUE)
safety_overlay = null
if(!isturf(loc)) // In a mob, holster or bag or something
safety_overlay = image(gun_gui_icons,"[safety()]")
add_overlay(safety_overlay, TRUE)
@@ -46,6 +46,8 @@
has_item_ratio = FALSE // the back and suit slots have ratio sprites but the in-hands dont
fire_sound = 'sound/weapons/Laser.ogg'
max_shots = 15
fire_delay = 5
burst_delay = 5
origin_tech = list(TECH_COMBAT = 3, TECH_MAGNET = 2)
projectile_type = /obj/item/projectile/beam
secondary_projectile_type = null