mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Got bored, added code to allow for multiple energy sword colors. They now come in blue or red, picked randomly when the item is spawned. If someone makes us some green sword sprites, I'll be sure to make sure the thunderdome stays color-coordinated.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1239 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -15,6 +15,8 @@ STUN BATON
|
||||
target:fireloss += 20
|
||||
..()
|
||||
|
||||
/obj/item/weapon/sword/New()
|
||||
color = pick("red","blue")
|
||||
|
||||
/obj/item/weapon/sword/attack_self(mob/user as mob)
|
||||
if ((user.mutations & 16) && prob(50))
|
||||
@@ -28,7 +30,7 @@ STUN BATON
|
||||
if(istype(src,/obj/item/weapon/sword/pirate))
|
||||
src.icon_state = "cutlass1"
|
||||
else
|
||||
src.icon_state = "sword1"
|
||||
src.icon_state = "sword[color]"
|
||||
src.w_class = 4
|
||||
playsound(user, 'saberon.ogg', 50, 1)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user