mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Ports borg petting from CHOMPStation
This commit is contained in:
@@ -688,11 +688,15 @@
|
||||
|
||||
if(istype(user,/mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = user
|
||||
<<<<<<< HEAD
|
||||
//VOREStation Removal
|
||||
//if(H.species.can_shred(H))
|
||||
// attack_generic(H, rand(30,50), "slashed")
|
||||
// return
|
||||
//VOREStation Edit: Adding borg petting. Help intent pets, Disarm intent taps, Grab should remove the battery for replacement, and Harm is punching(no damage)
|
||||
=======
|
||||
//Adding borg petting. Help intent pets, Disarm intent taps, Grab should remove the battery for replacement, and Harm is punching(no damage)
|
||||
>>>>>>> 1e53bf1... Merge pull request #7478 from listerla/borgpet
|
||||
switch(H.a_intent)
|
||||
if(I_HELP)
|
||||
visible_message("<span class='notice'>[H] pets [src].</span>")
|
||||
@@ -703,15 +707,27 @@
|
||||
attack_generic(H, rand(30,50), "slashed")
|
||||
return
|
||||
else
|
||||
<<<<<<< HEAD
|
||||
playsound(src, 'sound/effects/bang.ogg', 10, 1)
|
||||
=======
|
||||
playsound(src.loc, 'sound/effects/bang.ogg', 10, 1)
|
||||
>>>>>>> 1e53bf1... Merge pull request #7478 from listerla/borgpet
|
||||
visible_message("<span class='warning'>[H] punches [src], but doesn't leave a dent.</span>")
|
||||
return
|
||||
if(I_DISARM)
|
||||
H.do_attack_animation(src)
|
||||
<<<<<<< HEAD
|
||||
playsound(src, 'sound/effects/clang1.ogg', 10, 1)
|
||||
visible_message("<span class='warning'>[H] taps [src].</span>")
|
||||
return
|
||||
//VOREStation Edit: Addition of borg petting end
|
||||
=======
|
||||
playsound(src.loc, 'sound/effects/clang2.ogg', 10, 1)
|
||||
visible_message("<span class='warning'>[H] taps [src].</span>")
|
||||
return
|
||||
//Addition of borg petting end
|
||||
|
||||
>>>>>>> 1e53bf1... Merge pull request #7478 from listerla/borgpet
|
||||
if(opened && !wiresexposed && (!istype(user, /mob/living/silicon)))
|
||||
var/datum/robot_component/cell_component = components["power cell"]
|
||||
if(cell)
|
||||
|
||||
5
html/changelogs/Lorilili - borgpet.yml
Normal file
5
html/changelogs/Lorilili - borgpet.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
author: Lorilili
|
||||
delete-after: True
|
||||
changes:
|
||||
- rscadd: "You can now pet borgs on help intent and punch on hurt intent. Old behavior is now grab intent."
|
||||
|
||||
BIN
sound/effects/clang2.ogg
Normal file
BIN
sound/effects/clang2.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user