mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Merge pull request #646 from Fox-McCloud/Object-Spinning
Thrown Object Spinning
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user