Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MERGED PR] Destroyable lockers
#1
Thumbs Up 
PULL REQUEST DETAILS



[FEATURE][BALANCE]

- [x] Fix logging
- [x] Mostly resolve horrible code duplication (kinda hard due to types)
- [x] Make reinforced protect against weak kinetic but not strong?

About the PR
- Lockers with card locks can be beaten open with items that do at least 1 damage. When opened the door is broken and needs to be welded to close.
- Command lockers have 300 health.
- Lockers with card locks have 200 health.
- Regular lockers have 100 health - Cannot be hit with items as they have no lock, just open it!
- Items that do 10 damage or less are not very effective and do 70% damage.
- Damage from items is capped to 20 to prevent high damage melee making them a joke (looking at you csaber).
- All lockers can be shot open with projectiles.
- Kinetic weapons do 80% damage
- Energy projectiles do 40% damage as lasers/phasers are easily available and rechargeable.
- Some special lockers are reinforced. This is currently the HoS, Armory and Confiscated Items locker.
- Reinforced lockers cannot be damaged with items.
- Energy projectiles do not damage reinforced lockers.
- 26+ damage projectiles are required to break reinforced lockers. No cheap ammo like 9mm or .22.
- Rubber slug does no damage to reinforced lockers to prevent you just using the NARCS turret.
- All card secured lockers start bolted to the floor and must be unbolted with a wrench to be moved.
- Unique sounds for damage and breaking

Uses the sounds:
https://freesound.org/people/skinnytecbo...ds/188063/ used under [[CC0]](https://creativecommons.org/publicdomain/zero/1.0/)
https://freesound.org/people/SamsterBird...ds/587443/ used under [[CC0]](https://creativecommons.org/publicdomain/zero/1.0/)
https://freesound.org/people/chripei/sounds/393659/ used under [[CC0]](https://creativecommons.org/publicdomain/zero/1.0/)

https://user-images.githubusercontent.co...08538d.mp4

Why's this needed?
Lockers are strangely invincible except to explosions. While this sounds like strong protection the reality is they can easily be broken into with a rigged lightbulb or welding fuel pipebomb.

Lockers being largely indestructible made them the go-to against turrets and could present some frustrations to antagonists that breaking into a locker had both a slight knowledge and equipment requirement

Breaking a locker busts it open. It cannot be closed until a welding tool is used on it.
Nukies/turrets will no longer be totally defeated by lockers. Energy weapons are less effective to reflect being quite common for non traitors.

The HoS and armory locker have special protection from their reinforced status to reflect they will contain an egun or requisition tokens. You have to expend lethal kinetic ammunition to break these making it a trade off.

Changelog


Code:
changelog
(u)Flappybat
(*)Closets and lockers can now be broken open by hitting them with items or shooting with projectiles. Lockers have between 100HP and 300HP depending on their security. Energy weapons and low damage items are less effective against them.
(*)HoS, Armory and Confiscated item lockers are reinforced and can only be broken open with explosives and higher damage kinetics.
(*)Secure lockers started bolted to the floor. They must be unbolted with a wrench to be moved.

PULL REQUEST DETAILS


Messages In This Thread
[MERGED PR] Destroyable lockers - by github_bot - 04-02-2022, 12:20 PM
RE: [PR] Destroyable lockers - by Mouse - 04-02-2022, 12:36 PM
RE: [PR] Destroyable lockers - by Yellow - 04-02-2022, 12:42 PM
RE: [PR] Destroyable lockers - by Mouse - 04-02-2022, 01:08 PM
RE: [PR] Destroyable lockers - by DioChasek - 04-03-2022, 05:34 AM
RE: [PR] Destroyable lockers - by KikiMofo - 04-02-2022, 12:48 PM
RE: [PR] Destroyable lockers - by Cal - 04-02-2022, 01:25 PM
RE: [PR] Destroyable lockers - by Lucky.Cobra - 04-02-2022, 01:34 PM
RE: [PR] Destroyable lockers - by Ikea - 04-02-2022, 02:22 PM
RE: [PR] Destroyable lockers - by Mouse - 04-02-2022, 02:38 PM
RE: [PR] Destroyable lockers - by Froggit_Dogget - 04-02-2022, 06:18 PM
RE: [PR] Destroyable lockers - by Lady Birb - 04-02-2022, 04:19 PM
RE: [PR] Destroyable lockers - by zjdtmkhzt - 04-02-2022, 05:06 PM
RE: [PR] Destroyable lockers - by MomoBerry - 04-03-2022, 07:21 AM
RE: [PR] Destroyable lockers - by Buttnut - 04-02-2022, 05:15 PM
RE: [PR] Destroyable lockers - by Cal - 04-02-2022, 05:41 PM
RE: [PR] Destroyable lockers - by Rmeaper - 04-03-2022, 02:45 AM
RE: [PR] Destroyable lockers - by Jakson - 04-03-2022, 04:25 AM
RE: [PR] Destroyable lockers - by Katzen - 04-03-2022, 05:33 AM
RE: [PR] Destroyable lockers - by Froggit_Dogget - 04-03-2022, 07:20 AM
RE: [PR] Destroyable lockers - by Katzen - 04-03-2022, 09:59 AM
RE: [PR] Destroyable lockers - by DioChasek - 04-03-2022, 09:21 AM
RE: [PR] Destroyable lockers - by DioChasek - 04-03-2022, 10:56 AM
RE: [PR] Destroyable lockers - by Kotlol - 04-03-2022, 12:58 PM
RE: [PR] Destroyable lockers - by Katzen - 04-03-2022, 01:11 PM
RE: [PR] Destroyable lockers - by DioChasek - 04-03-2022, 01:53 PM
RE: [PR] Destroyable lockers - by KikiMofo - 04-03-2022, 04:49 PM
RE: [PR] Destroyable lockers - by aloe - 04-03-2022, 10:41 PM
RE: [PR] Destroyable lockers - by RGBDeadSilent - 04-04-2022, 01:48 AM
RE: [PR] Destroyable lockers - by zjdtmkhzt - 04-04-2022, 05:03 AM
RE: [PR] Destroyable lockers - by DioChasek - 04-04-2022, 08:04 AM
RE: [PR] Destroyable lockers - by Katzen - 04-04-2022, 12:24 PM
RE: [PR] Destroyable lockers - by KikiMofo - 04-04-2022, 12:28 PM
RE: [PR] Destroyable lockers - by Katzen - 04-04-2022, 12:50 PM
RE: [PR] Destroyable lockers - by KikiMofo - 04-04-2022, 01:00 PM
RE: [PR] Destroyable lockers - by Lady Birb - 04-04-2022, 03:15 PM
RE: [PR] Destroyable lockers - by KikiMofo - 04-04-2022, 03:42 PM
RE: [PR] Destroyable lockers - by DioChasek - 04-04-2022, 03:49 PM
RE: [PR] Destroyable lockers - by Katzen - 04-05-2022, 05:13 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)