Update hydroitemdefines.dm
This commit is contained in:
@@ -115,7 +115,6 @@
|
|||||||
slot_flags = ITEM_SLOT_BACK
|
slot_flags = ITEM_SLOT_BACK
|
||||||
attack_verb = list("chopped", "sliced", "cut", "reaped")
|
attack_verb = list("chopped", "sliced", "cut", "reaped")
|
||||||
hitsound = 'sound/weapons/bladeslice.ogg'
|
hitsound = 'sound/weapons/bladeslice.ogg'
|
||||||
total_mass = 1.75
|
|
||||||
var/swiping = FALSE
|
var/swiping = FALSE
|
||||||
|
|
||||||
/obj/item/scythe/Initialize()
|
/obj/item/scythe/Initialize()
|
||||||
@@ -138,6 +137,7 @@
|
|||||||
else
|
else
|
||||||
var/turf/user_turf = get_turf(user)
|
var/turf/user_turf = get_turf(user)
|
||||||
var/dir_to_target = get_dir(user_turf, get_turf(A))
|
var/dir_to_target = get_dir(user_turf, get_turf(A))
|
||||||
|
var/stam_gain = 0
|
||||||
swiping = TRUE
|
swiping = TRUE
|
||||||
var/static/list/scythe_slash_angles = list(0, 45, 90, -45, -90)
|
var/static/list/scythe_slash_angles = list(0, 45, 90, -45, -90)
|
||||||
for(var/i in scythe_slash_angles)
|
for(var/i in scythe_slash_angles)
|
||||||
@@ -145,7 +145,10 @@
|
|||||||
for(var/obj/structure/spacevine/V in T)
|
for(var/obj/structure/spacevine/V in T)
|
||||||
if(user.Adjacent(V))
|
if(user.Adjacent(V))
|
||||||
melee_attack_chain(user, V)
|
melee_attack_chain(user, V)
|
||||||
|
stam_gain += 5 //should be hitcost
|
||||||
swiping = FALSE
|
swiping = FALSE
|
||||||
|
stam_gain += 2 //Initial hitcost
|
||||||
|
user.adjustStaminaLoss(-stam_gain)
|
||||||
|
|
||||||
// *************************************
|
// *************************************
|
||||||
// Nutrient defines for hydroponics
|
// Nutrient defines for hydroponics
|
||||||
|
|||||||
Reference in New Issue
Block a user