04-23-2018, 12:08 PM
(This post was last modified: 04-23-2018, 02:25 PM by Noah Buttes. Edited 3 times in total.)
This patch enables you to load regular hand grenades and chem grenades into the 40mm shell launcher in security. This converts the grenade into a contact explosive, meaning it will detonate immediately on impact.
Due to some weird quirks in the way projectiles, ammo, and guns are handled, you have to manually unload the riot launcher if you want to swap out its current ammo for a hand grenade. You also cannot revert the grenades back into hand throwable form once converted. Edit: Wow, I completely forgot that I made it so you could, in fact, remove the grenade afterwards by clicking on the ammo with an empty hand. Whoops.
The text output upon reloading is kinda ugly, but I didn't want to tamper with the pre-existing reload functionality too much just for this one purpose. Apologies.
Right now, the ammo container for the conversion shell uses some formerly unused paintball jar sprites, but if anyone wants to make dedicated sprites, that would be greatly appreciated.
Compare:
https://github.com/goonstation/goonstati...conversion
Diff:
https://github.com/goonstation/goonstati...rsion.diff
Patch:
https://github.com/goonstation/goonstati...sion.patch
Due to some weird quirks in the way projectiles, ammo, and guns are handled, you have to manually unload the riot launcher if you want to swap out its current ammo for a hand grenade. You also cannot revert the grenades back into hand throwable form once converted. Edit: Wow, I completely forgot that I made it so you could, in fact, remove the grenade afterwards by clicking on the ammo with an empty hand. Whoops.
The text output upon reloading is kinda ugly, but I didn't want to tamper with the pre-existing reload functionality too much just for this one purpose. Apologies.
Right now, the ammo container for the conversion shell uses some formerly unused paintball jar sprites, but if anyone wants to make dedicated sprites, that would be greatly appreciated.
Compare:
https://github.com/goonstation/goonstati...conversion
Diff:
https://github.com/goonstation/goonstati...rsion.diff
Patch:
https://github.com/goonstation/goonstati...sion.patch