diff --git a/TODO.md b/TODO.md deleted file mode 100644 index ac5150d..0000000 --- a/TODO.md +++ /dev/null @@ -1,29 +0,0 @@ -# TODO - -n Deployed sprites for every angle (wall) -n - Showing charge level -n Deployed sprites for every angle (ceiling) -n - Showing charge level -x flat sprite? Advantages: One direction, can probably be used on ceiling and wall. -x - Showing charge level -x Sparks -x Debris when destroyed -x Show remaining batteries as ammo -x Switching to mag manager goes to batteries screen -x Empty batteries disappear -x Add (or make sure) loadout code in loadout editor -x Help screen -x Pickup sprites for every angle -n - Spool of wire, a tool, and some electical tape -x Set bulk - -x 1st-person sprites - n Wire cutters and electrical tape - -- Pickup sound - -- Fault detection sound - -- ready animation - - diff --git a/GLDEFS.txt b/gldefs.txt similarity index 100% rename from GLDEFS.txt rename to gldefs.txt diff --git a/zscript.zs b/zscript.zs index ceda82e..c4f90e3 100644 --- a/zscript.zs +++ b/zscript.zs @@ -425,6 +425,13 @@ class JumperCablesUsable : HDWeapon player.getpsprite(355).frame = frame_left; player.getpsprite(356).frame = frame_right; + // Play a sound if we just discovered a broken line. + if(invoker.lastIndicatorStatus != player.getpsprite(PSP_WEAPON).frame) { + if(invoker.lastIndicatorStatus != 1 && player.getpsprite(PSP_WEAPON).frame == 1) { + A_StartSound("herp/beep", CHAN_WEAPON); + } + } + // Set indicator status fo the HUD. invoker.lastIndicatorStatus = player.getpsprite(PSP_WEAPON).frame;