mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Completely reworks the plasma pistol, adds the dropwall shield generator (Serious) (#17556)
* oi you got a loicnse for that * Final touches on plasma bar sound/sprite, hot drops hot drop walls * Actually makes dropwalls good™️ * s p r i t e s and fixes * Gives vox / drask hand gun sprites * forgot cult shield, ICONS added with pain * Last minute fixes and deploy coder sprites * spacing Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * Removes comments, improves deployment and sprite handling * Removes direction_check * Uses signals, various changes * Final™️ changes * Final™️ Final™️ Changes * Final™️ Final™️ Final™️ Changes * [insert final™️ x4 joke here] * Final™️ Change. *6 Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
co-authored by
AffectedArc07
Charlie
SteelSlayer
parent
61dbd53527
commit
2aade6012f
@@ -633,6 +633,10 @@
|
||||
current_charges--
|
||||
if(recharge_rate)
|
||||
START_PROCESSING(SSobj, src)
|
||||
if(istype(hitby, /obj/item/projectile))
|
||||
var/obj/item/projectile/P = hitby
|
||||
if(P.shield_buster)
|
||||
current_charges = max(0, current_charges - 3)
|
||||
if(current_charges <= 0)
|
||||
owner.visible_message("<span class='warning'>[owner]'s shield overloads!</span>")
|
||||
shield_state = "broken"
|
||||
|
||||
Reference in New Issue
Block a user