Southclaws / ScavengeSurvive

A PvP SA:MP survival gamemode. The aim of the game is to find supplies such as tools or weapons to help you survive, either alone or in a group.
https://scavengesurvive.com
Mozilla Public License 2.0
107 stars 55 forks source link

Explosives Update: Unify explosive item code and add new features #238

Closed Southclaws closed 8 years ago

Southclaws commented 8 years ago

There are 9 explosive items in the game and they all have duplicate code. This needs to be addressed not only for design reasons but also so new explosive items can be added very easily.

Trigger types and some proposed updates:

We already have IEDs, TNT and EMP but I'd like to implement a few others so there is a wider choice to craft for various different jobs. Explosive types:

Also: I've wanted to add this for a long time but explosives need to trigger other nearby explosives so a chain of explosions can happen. This needs to happen just for the pure awesome factor.

Southclaws commented 8 years ago

Work in branch explosive-update

Southclaws commented 8 years ago

Progress:

Southclaws commented 8 years ago

Finished existing explosives, will probably leave adding new ones until later. Will merge to master after some testing.

Need to test screwdriver defusing and any other explosive interactions (search for mentions of explosive itemtypes)