Back to mods
Grenades! project artwork

Vintage Story Mod DB · Vintage Story mod

Grenades!

Version 1.2.0 changed how the config works, old config files will not work A mod which adds throwable, explosive grenades. Types of grenades: • Jug Bombs - Low damage with large blast radius • Jug Fire and Oil Bombs - Almost no direct damage but leaves fla

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Grenades! release should I use?

Updated 7 months ago
Latest stable file 1.2.3
Game version 1.21.0, 1.21.1-rc.1, 1.21.1-rc.2
Loader Built-in Vintage Story mod system

Grenades! 1.2.3 targets 1.21.0, 1.21.1-rc.1, 1.21.1-rc.2. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Grenades! required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does Grenades! 1.2.3 need?

1.2.3. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Grenades! without breaking your instance.

Built for Grenades! 1.2.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.3. It targets 1.21.0, 1.21.1-rc.1, 1.21.1-rc.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.3. It opens that exact file at the source.

About this project

What does Grenades! add?

Version 1.2.0 changed how the config works, old config files will not work

 

A mod which adds throwable, explosive grenades.

Types of grenades:

  • Jug Bombs - Low damage with large blast radius
  • Jug Fire and Oil Bombs - Almost no direct damage but leaves flaming pieces on the ground
  • Glass Grenades - Medium damage with medium blast radius
  • Metal Grenades - High damage with low blast radius, damage depends on type of metal used

 

Grenade explosions do NOT destroy blocks, so they are safe to use at home : )

 

This mod may be a bit under/over-powered, balance needs testing.

If you have suggestions regarding balansing or anything else, feel free to post it.

 

 

How to tweak the config
This is an example config with additional comments, just don't use comments in your final config as they seem cause the json to not load properly.

 

{
  "overrides": [
    { // Override the damage of "blue" grenades [glass, jug bomb, jug fire bomb, jug oil bomb]
      "Key": "*blue*",
      "Value": {
        "damage": 100
      }
    },
    { // Override the damage, radius, and knockback of all grenades jug bombs
      "Key": "jug-bomb-*-standard",
      "Value": {
        "damage": 1, // Won't apply for jug-bomb-blue-standard because its damage was changed in the previous override
        "radius": 1,
        "knockback": 10
      }
    },
    { // Disable shrapnel of metal grenades
      "Key": "*-metal-*",
      "Value": {
        "shrapnel": {
          "enabled": false
        }
      }
    },
    { // Enable shrapnel for glass grenades (yes you can do that), and lower the fuse time
      "Key": "*-metal-*",
      "Value": {
        "fuse": 0.5,
        "shrapnel": {
          "enabled": true, // You most likely want to set all the parameters since they are not set for glass grenades
          "damage": 30,
          "amount": {
            "value": 32,
            "randomness": 2
          },
          "lifetime": {
            "value": 1,
            "randomness": 0.1
          },
          "velocity": {
            "value": 10,
            "randomness": 5
          },
          "velocityInheritance": 10,
          "directionPitchMin": -90,
          "directionPitchMax": 90
        }
      }
    },
    { // Reference of all the configurable values (Default values are in the item files on the repo)
      "Key": "*",
      "Value": {
        "fuse": 2, // Fuse time, in seconds
        "radius": 6, // Explosion radius, in blocks
        "innerRadius": 0.7, // Peak damage radius as a ratio of total radius, must be in range [0, 1]
        "damage": 9.5, // Peak damage
        "damageTier": 2, // Damage tier
        "knockback": 1, // Knockback
        "launchForce": 12, // Velocity of the grenade after throwing, in blocks per second
        "shrapnel": { //Regarding shrapnel
          "enabled": true, // Enable/Disable for shrapnel
          "damage": 2, // Damage dealt by the shrapnel pieces, damage per "tick" for flames
          "amount": { // Amount of shrapnel pieces
            "value": 8,
            "randomness": 2
          }, // Final Value is in range [value - randomness, value + randomness]
          "lifetime": { // Time until a piece despawns, in seconds
            "value": 1,
            "randomness": 0.1
          }, // Final Value is in range [value - randomness, value + randomness]
          "velocity": { // Speed of launched pieces, in blocks per second
            "value": 20,
            "randomness": 5
          }, // Final Value is in range [value - randomness, value + randomness]
          "velocityInheritance": 1, // How much the velocity of the shrapnel is affected by the velocity of the grenade at the time of detonation
          "directionPitchMin": -45, //Minimum allowed angle form the XZ plane at which the shrapnel will be launched
          "directionPitchMax": 45 //Maximum allowed angle form the XZ plane at which the shrapnel will be launched
        }
      }
    }
  ]
}

 

How to tweak the config (Old, before 1.2.0)
This is an example config with additional comments, just don't use comments in your final config as they seem cause the json to not load properly.

 

{
"damage": [
{
//You can use wildcards in keys
"Key": "jug-bomb-*",
"Value": 3.0
}
],
"damageTier": [],
"radius": [],
"fullDamageRadius": [],
"fuse": [
{
//Changes fuse of all grenades to 3s
"Key": "*",
"Value": 3.0
}
],
//entries are checked from top to bottom
"throwingForce": [
{
//Changes the throwing force of gold grenade (this is a very large value)
"Key": "*-metal-gold",
"Value": 1
},
{
//Changes the throwing force of every other metal grenade except gold (gold was already assigned a value of 1 in the previous entry)
"Key": "*-metal-*",
"Value": 0.25
}
]
}

 

Known issues:

Game not loading when config was changed Fixed in 1.2.1

 

Thats a terrible thumbnail, I know : (

Project description from Vintage Story Mod DB.

Pick your setup

Grenades! releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

15 available setups

Showing the newest 12 of 15 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Grenades! versions and loaders

10 of 10 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.