From ad2b9ab0fb199b53d71f74a8dea2fb524eeca38e Mon Sep 17 00:00:00 2001 From: NovaRain Date: Tue, 26 Mar 2024 12:15:15 +0800 Subject: [PATCH] Added a new example mod gl_molotov --- .../example_mods/MolotovFire/gl_molotov.int | Bin 0 -> 678 bytes .../example_mods/MolotovFire/gl_molotov.ssl | 55 ++++++++++++++++++ artifacts/example_mods/MolotovFire/readme.txt | 12 ++++ 3 files changed, 67 insertions(+) create mode 100644 artifacts/example_mods/MolotovFire/gl_molotov.int create mode 100644 artifacts/example_mods/MolotovFire/gl_molotov.ssl create mode 100644 artifacts/example_mods/MolotovFire/readme.txt diff --git a/artifacts/example_mods/MolotovFire/gl_molotov.int b/artifacts/example_mods/MolotovFire/gl_molotov.int new file mode 100644 index 0000000000000000000000000000000000000000..3b09f808be1778f9537b490f67f3198f49b8d418 GIT binary patch literal 678 zcmZo*I>5-lz#!DX3#NB8urvrXNHr)lNHr)nNHr)mNHr)os5GcHs4*}wFf%YPurZ*5 zQ&6r1l!j3-aRrzFl>P&yjTi*9E7l$_Ke z28RFt|NjT+2GI>VVD~aKFoWq+4J-}XVAhkylm>k;ixEsRH6?**h6dgS$p)bj7B*)YTA{m$(j2fgtEXKG7i3a@!DG-~1vB3!9 z62?Vv{{9AIsLC#g%ErlHIfe#fh*}0nd@w`IXWY=h0+xsP1u6 1) then begin + set_proto_data(PID_MOLOTOV_COCKTAIL, PROTO_WP_DMG_TYPE, DMG_explosion); + end else begin + set_proto_data(PID_MOLOTOV_COCKTAIL, PROTO_WP_DMG_TYPE, DMG_fire); + set_attack_explosion_radius(2); // grenade radius + set_attack_is_explosion_fire; + end + end + end +end diff --git a/artifacts/example_mods/MolotovFire/readme.txt b/artifacts/example_mods/MolotovFire/readme.txt new file mode 100644 index 00000000..9ec6dc6e --- /dev/null +++ b/artifacts/example_mods/MolotovFire/readme.txt @@ -0,0 +1,12 @@ +Molotov Fire Damage mod for Fallout 2 by NovaRain +------------------------------------------------- + +- molotov cocktail now inflicts fire damage to critters +- molotov cocktail can still blow up some doors and scenery objects as before + + +Requires sfall 3.8.4 or higher. + +To use, copy gl_molotov.int to your scripts folder. + +This mod is an example of how you can use metarule2_explosions macros.