Glass break sound for molotovs

Fix typo in campaign
Update tooltip for immunity flag
This commit is contained in:
Cong
2021-06-05 11:50:55 +10:00
parent 42c730202d
commit e640c37510
6 changed files with 18 additions and 5 deletions

View File

@@ -185,14 +185,14 @@
"GravityFactor": 1,
"DestroyOnDrop": true,
"DropGuns": [
"fire_explosion"
"molotov_explosion"
]
},
"OutOfRangeGuns": [
"fire_explosion"
"molotov_explosion"
],
"HitGuns": [
"fire_explosion"
"molotov_explosion"
]
},
{

View File

@@ -372,6 +372,16 @@
"ElevationLow": 22,
"ElevationHigh": 30
},
{
"Pic": "",
"Name": "molotov_explosion",
"Bullet": "molotov_flame",
"Sound": "glass_break",
"Recoil": 6.28,
"SpreadCount": 16,
"ElevationLow": 22,
"ElevationHigh": 30
},
{
"Pic": "",
"Name": "gas_poison_explosion",

View File

@@ -36,7 +36,7 @@
"Flags": 0
},
{
"Description": "Kill misterious attackers",
"Description": "Kill mysterious attackers",
"Type": "Kill",
"Index": 0,
"Count": 4,

BIN
sounds/glass_break.ogg Normal file

Binary file not shown.

3
sounds/glass_break.txt Normal file
View File

@@ -0,0 +1,3 @@
Derived from Breaking Bottle by spookymodem
https://opengameart.org/content/breaking-bottle
http://creativecommons.org/licenses/by/3.0/

View File

@@ -598,7 +598,7 @@ static bool Draw(SDL_Window *win, struct nk_context *ctx, void *data)
nk_layout_row_dynamic(ctx, ROW_HEIGHT, 2);
DrawFlag(ctx, ec, "Asbestos", FLAGS_ASBESTOS, "Immune to fire");
DrawFlag(ctx, ec, "Immunity", FLAGS_IMMUNITY, "Immune to poison");
DrawFlag(ctx, ec, "Immunity", FLAGS_IMMUNITY, "Immune to poison and petrify");
DrawFlag(ctx, ec, "See-through", FLAGS_SEETHROUGH, NULL);
DrawFlag(ctx, ec, "Invulnerable", FLAGS_INVULNERABLE, NULL);
DrawFlag(