Code support for ammo effects on explosions. #39611
Labels
[C++]
Changes (can be) made in C++. Previously named `Code`
<Enhancement / Feature>
New features, or enhancements on existing
Items: Ammo / Guns
Ammunition for all kinds of weapons and these weapons themselves
[JSON]
Changes (can be) made in JSON
stale
Closed for lack of activity, but still valid.
Is your feature request related to a problem? Please describe.
I've been working on the explosives system and have finished up most of the conventional explosives and was moving on to an attempt to make firebombs work. It seems right now the one firebomb we have right now is the molotov, which is hardcoded, and thus not extensible to making more.
Describe the solution you'd like
The most straightforward approach to me seemed to have code support to call for an ammo effect when a bomb explodes. The ammo effects are fully jsonized and people will then be able to add in new bombs and their effects trivially.
There might be a neater way to jsonize which would also be 100% okay.
If someone would be willing to do the work on making it possible i could then make a variety of firebombs for the player to craft.
The text was updated successfully, but these errors were encountered: