This commit is contained in:
DeityLink
2015-08-26 04:02:24 +02:00
parent dabb18b03d
commit f09e4bb98e
5 changed files with 16 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
/obj/item/weapon/gun/hookshot
/obj/item/weapon/gun/hookshot //-by Deity Link
name = "hookshot"
desc = "Used to create tethers! It's a very experimental device, recently developped by Nanotrasen."
icon = 'icons/obj/gun_experimental.dmi'
@@ -188,10 +188,15 @@
if(!isturf(HC.loc) || (loc != firer))
cancel_chain()
break
var/turf/oldLoc = firer.loc
var/bckp = firer.pass_flags
firer.pass_flags = PASSTABLE
firer.Move(HC.loc,get_dir(firer,HC.loc))
firer.pass_flags = bckp
if(firer.loc == oldLoc)//we're bumping into something, abort!
clockwerk = 0
rewind_chain()
return
HC.loc = src
sleep(1)
clockwerk = 0

View File

@@ -15,6 +15,9 @@
var/max_shells = 200
var/current_shells = 200
/obj/item/weapon/gun/gatling/isHandgun()
return 0
/obj/item/weapon/gun/gatling/examine(mob/user)
..()
user << "<span class='info'>Has [current_shells] round\s remaining.</span>"

View File

@@ -17,6 +17,9 @@
load_method = 0
var/backup_view = 7
/obj/item/weapon/gun/projectile/hecate/isHandgun()
return 0
/obj/item/weapon/gun/projectile/hecate/afterattack(atom/A as mob|obj|turf|area, mob/living/user as mob|obj, flag, params, struggle = 0)
if(flag) return //we're placing gun on a table or in backpack
if(harm_labeled >= min_harm_label)

View File

@@ -19,6 +19,9 @@
var/current_shells = 200
/obj/item/weapon/gun/stickybomb/isHandgun()
return 0
/obj/item/weapon/gun/stickybomb/New()
..()
loaded = list(