Merge pull request #646 from Fox-McCloud/Object-Spinning

Thrown Object Spinning
This commit is contained in:
ZomgPonies
2015-03-24 21:49:57 -04:00
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -11,6 +11,7 @@
var/turf/throw_source = null
var/throw_speed = 2
var/throw_range = 7
var/no_spin = 0
var/moved_recently = 0
var/mob/pulledby = null
@@ -161,6 +162,8 @@
src.thrower = thrower
src.throw_source = get_turf(src) //store the origin turf
if(!no_spin)
SpinAnimation(5, 1)
var/dist_x = abs(target.x - src.x)
var/dist_y = abs(target.y - src.y)
@@ -291,6 +291,7 @@ obj/item/weapon/twohanded/
force_wielded = 18 // Was 13, Buffed - RR
throwforce = 20
throw_speed = 3
no_spin = 1
flags = NOSHIELD
attack_verb = list("attacked", "poked", "jabbed", "torn", "gored")