Fox - PINEAPPLE BLITZ GRENADE (RE-UPLOAD) 1.5.0

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Nade go boom.

I WILL TAKE DOWN IF NOOTROPIX TELLS ME TO TAKE IT DOWN. I WILL NOT FIGHT AGAINST THEM.
I UPDATED THIS MOD TO WORK WITH LATEST VERSION, BUT THE WHOLE CREATION AND BASE CODE

WAS DONE BY THEM. I AM THANKFUL THAT THEY CREATED THIS TO BEGIN WITH, AND WILL RESPECT

THEIR REQUEST TO REMOVE IF THEY WANT ME TO.


All versions after 1.0.2 has a CONFIG FILE where you can modify the values!!!


Short fuse, big boom!!


This mod adds an extra grenade called Pineapple Blitz Grenade (PBG)

It has a short, 1.5 second fuse and a big explosion radius with LOTS of shrapnel.

It's perfect for shredding enemies before they have a chance to run away, just don't get too close!!

It is based from code by Echo55, so big thanks to them. I wouldn't have known where

to start otherwise.


It can be purchased from Prapor LL1, price is 5000 roubles.


This update adds the grenade into Prapor's Market place in the Trading Tab.

  • Version 1.5.0

    New update with 3.9.8


    Please look at the Config file to modify values.

  • Version 1.4.2

    Silly me was fixing to wrong files.

  • Version 1.4.1

    Updated to fix a 3.8.0 bug

  • Version 1.4.0

    Updated to work with the Config *better*
    Updated for 3.8.0

  • Version 1.0.3

    Updated to NOT allow Bots to have this item in inventory... i think :/

    Please let me know if you know how to do it if my method did not work.

  • Version 1.0.2

    Added Config File for modifying values

  • Version 1.0.1

    Readjusted to match the description.

    1.0.1 will have 1.5 second detonator with more fragmentations

    1.0.0 will have 3 second detonator with less (but still a lot) of fragmentations

  • Version 1.0.0

  • Can you change the item ID for the grenades to mongoID? The mod breaks mag presets. Thanks!

  • Every time I throw one, it makes me regret throwing it. I run out of surgery and med kits. On the bright side, I now have a certification in field medicine. 9/10 <3

    Happy 1
  • Google drive link has a access denied post when trying to go to the download

    Thumbs Up 1
  • This isn't working for Grenadier for me. Are we positive that's fixed? I have the newest version of this.

  • which config to use the best for this? is 2 sec fuse is good? i cant kill anybody with this, how much frag to use?how much radius? i cant choose the best plese give me your config for this grenade, bots seems not to get much damage fro mine config, i look like clown horse in front of bots - here is mine config bugcatworking


    Code
    {
        "FuzeTimer": 1.75,
        "Fragmentations": 125,
        "ExplosionMinimum": 50,
        "ExplosionMaximum": 90,
        "HeavyBleedPercent": 0.77,
        "LightBleedPercent": 0.97,
        "Damage": 150,
        "Penetration": 84,
        "Price": 2000
  • Fav. grenade mod ever LOL

  • Bot use grenade, yes, this bomb killed me instantly

    Is it possible to disallow bots from having it in their inventory?

  • the standard price is 5 instead of 5000

    • Go to the config file and change it.

    • Just wanted to point it out since it says that it should be 5k in the description

  • To anyone trying to use this one 3.8.0 and running into the same issue as Novalhalla4U, I found the source of the issue and fixed it (it's not the best fix I'm sure but goddamn it, it works lol).

    Replace the mod.ts in the src folder with this one and it will work, at least until lumurkfox gets his fixed.
    [Deleted because lumurkfox fixed it.]

    • To lumurkfox: the issue is that the quest properties were changed in 3.8.0 so the line of code that adds the PBG to the list of valid weapons for the grenadier quest doesn't function properly.

    • Thats quite strange. when I check the 1.4.1 release, there is no lines containing the quest anymore, I just removed that "feature"

    • nvm, im stupid. Fixed in 1.4.2.
      Thanks for the patience and help y'all!

  • Loading: Fox-Nootropix-PineappleBlitz

    TypeError: Cannot read properties of undefined (reading 'counter')

    TypeError: Cannot read properties of undefined (reading 'counter')

    at Mod.postDBLoad (D:\3.8.0_2ndRun\user\mods\Fox-Nootropix-PineappleBlitz\src\mod.ts:28:101)

    at PostDBModLoader.executeModsAsync (C:\snapshot\src\loaders\PostDBModLoader.ts:78:45)

    at PostDBModLoader.onLoad (C:\snapshot\src\loaders\PostDBModLoader.ts:31:24)

    at App.load (C:\snapshot\src\utils\App.ts:56:26)

    TypeError: Cannot read properties of undefined (reading 'counter')

    TypeError: Cannot read properties of undefined (reading 'counter')

    at Mod.postDBLoad (D:\3.8.0_2ndRun\user\mods\Fox-Nootropix-PineappleBlitz\src\mod.ts:28:101)

    at PostDBModLoader.executeModsAsync (C:\snapshot\src\loaders\PostDBModLoader.ts:78:45)

    at PostDBModLoader.onLoad (C:\snapshot\src\loaders\PostDBModLoader.ts:31:24)

    at App.load (C:\snapshot\src\utils\App.ts:56:26)


    I am getting this error when launching Server. Thank you for updating this.

    • Ah crap. my bad. i think i hit ctrl-z one too many times. i'll fix this in a few minutes.

    • Working as advertised! Thanks for quick update.

    • best of luck! hope you enjoy :D

    • This issue is not fixed, I am trying to download 1.4.1 but the package file says 1.4.0 and gives this issue when starting server

    • kinga what is your the issue?
      Telling me that there is an issue vs providing me with what the actual issue is, makes a world of a difference so I can try and fix your problem.

  • for some reason, no matter what i do to the damage value in the config. the ingame stats never change from 80. is there something im missing about editing the config?

    • @Ivan_1299, That's because none of the settings in the config.json reference the [MAXIMUM DAMAGE PER FRAGMENT] attribute. Out of the (4) attributes of the grenade when you [INSPECT] it, I was able to successfully change the [EXPLOSION DELAY] and [EXPLOSION RADIUS] and [FRAGMENTS COUNT] attributes, but NOT the [MAXIMUM DAMAGE PER FRAGMENT]. I was also able to change the "Price" it was sold at. But as for the other 4 values in the config.json ("HeavyBleedPercent": 0.57, "LightBleedPercent": 0.87, "Damage": 50, "Penetration": 120,), they seems to reference nothing, and do nothing if you change them.


      Also, it appears the default config.json changed from v1.0.2 to v1.03, yet nothing was mentioned to that in the v1.0.3 change notes. The author mentioned "Updated to NOT allow Bots to have this item in inventory... i think". But you can clearly see that almost every value changed from what it had been prior, including the "Price" changed from 5000 to 500.



      -----------

      config.json - v1.0.2 (Jan 17, 2024)

      -----------

      {

      "FuzeTimer": 1.5,

      "Fragmentations": 250,

      "ExplosionMinimum": 10,

      "ExplosionMaximum": 15,

      "HeavyBleedPercent": 0.57,

      "LightBleedPercent": 0.87,

      "Damage": 30,

      "Penetration": 90,

      "Price": 5000

      }


      -----------

      config.json - v1.0.3 (Jan 22, 2024)

      -----------

      {

      "FuzeTimer": 2,

      "Fragmentations": 250,

      "ExplosionMinimum": 20,

      "ExplosionMaximum": 25,

      "HeavyBleedPercent": 0.57,

      "LightBleedPercent": 0.87,

      "Damage": 50,

      "Penetration": 120,

      "Price": 500

      }



      EXPLOSION DELAY: 2 sec

      - "FuzeTimer": 2,

      EXPLOSION RADIUS: 20 - 25 meters

      - "ExplosionMinimum": 20,

      - "ExplosionMaximum": 25,

      MAXIMUM DAMAGE PER FRAGMENT: 80

      - ???

      FRAGMENTS COUNT: 250

      - "Fragmentations": 250,

    • turns out i did it wrong.
      i stopped using this mod in my personal game so I haven't updated it.
      youre more than welcome to update it 8)

    • RAWR! Please please please bugcatdancing uptate it for 380, i cant use granades properly as they too weak and bots escape it. I need POWERFUL PINAPLE for factory! aquadesperate You made best mod ever!

    • since you asked nicely, ill update it within 2 days. gotta find some time.

    • <3 <3 bugcatrainbow

  • A bot just chucked one of these into my face, works wonders even against good armor, 10/10 i died instantly

    Happy 1
    • I will update the code.

      I'm not entirely sure how to _not_ get bots to use it, but I have a few ideas.
      just give me a bit of time to update the code for it :D

    • I added 1.0.3 to fix this bot issue... i think :D

    • Nice lol, thought it was also kind of a balance for having it XD

    • ah gotcha. you can keep 1.0.2 then if you think its balanced :D

  • Is this grenade is not placed into the loot for the map or in the bot inventories? If so how would I remove it?

    • It is not placed in static loot or bot inventories.

    • Updated code in 1.0.3 to *hopefully* not allow bots to have it in their inventory.

  • @lumurfox, thanks for updating this. Just curious, if it was updated because it was no longer working in the original mod for SPT-AKI 3.6.1, why is the package,json file still showing this new one works for AKI version's greater that 3.3.0? Thanks.


    "akiVersion": ">= 3.3.0",

    • From my understanding, it doesn't matter what the package.json file has as the min version. I can reupload if you want, but I don't think it does anything.
      I just updated it with "updated" code that would run on the latest 3.7.6

    • Thanks for the explaination

  • In the new version it's a 2.5s fuse not a 1.5s and you should also mention that in the new version it has 80 damage/pen instead of 50 like in the older one. Other than that love the mod makes using grenades so much fun

    • I added 1.0.1 which has the 1.5s fuse timer.
      I also increased the pen because it worked better for the Realism Mod, which is why I updated it in the first place.

    • https://imgur.com/a/c21etHu it says 2.5 tho or am I missing something?

    • no, youre right; i made a typo.
      I should have done this to begin with but I was lazy.
      added a Config file for fuze timer and some other things.

      Thumbs Up 1
  • DAAAAAAAAAAMN long time no see this mod! LOVE IT!

  • I LOVE YOU