diff --git a/gamedir/Data-1.13/Scripts/Overhead.lua b/gamedir/Data-1.13/Scripts/Overhead.lua
index 4c9370c17..ca4fa2b4a 100644
--- a/gamedir/Data-1.13/Scripts/Overhead.lua
+++ b/gamedir/Data-1.13/Scripts/Overhead.lua
@@ -597,6 +597,8 @@ InteractiveAction =
PICTURE_GENERALSTORE = 64, -- 2-tile Poster: 'General Store'
PICTURE_SHADYLADY = 65, -- 2-tile Poster: 'Shady Lady'
COOK_COWMEAT_TO_STEAK = 66, -- take cow meat from merc, add steak to merc
+ TAKE_FIRE_EXTINGUISHER_1 = 67, -- delete wall decal (requires replacing wall tile) and add item to inventory
+ TAKE_FIRE_EXTINGUISHER_2 = 68, -- delete wall decal (requires replacing wall tile) and add item to inventory
}
-- We have an array of 1000 signed integers that a modder can use to set whatever data he wants.
@@ -1762,6 +1764,24 @@ function HandleInteractiveActionResult(sSectorX, sSectorY, bSectorZ, sGridNo, bL
SetScreenMsg(FontColour.FONT_MCOLOR_DKWHITE, "Cooked a steak.")
end
+
+ elseif ( sLuaactionid == InteractiveAction.TAKE_FIRE_EXTINGUISHER_1 ) then
+
+ -- 1761 fire extinguisher
+
+ CreateItemInvOrFloor(ubID, 1761)
+
+ -- due to the way structures are handled, we the decal is on a tile next to the one we are handling, so account for that
+ -- the empty wall is in another tileset
+ DestroyAndReplaceDecal(sGridNo - 1, "build_29.sti", 6)
+
+ elseif ( sLuaactionid == InteractiveAction.TAKE_FIRE_EXTINGUISHER_2 ) then
+
+ CreateItemInvOrFloor(ubID, 1761)
+
+ -- due to the way structures are handled, we the decal is on a tile next to the one we are handling, so account for that
+ -- the empty wall is in another tileset
+ DestroyAndReplaceDecal(sGridNo - 160, "build_29.sti", 9)
end
diff --git a/gamedir/Data-1.13/TableData/Inventory/MercStartingGear.xml b/gamedir/Data-1.13/TableData/Inventory/MercStartingGear.xml
index aa671aa1a..8cb463460 100644
--- a/gamedir/Data-1.13/TableData/Inventory/MercStartingGear.xml
+++ b/gamedir/Data-1.13/TableData/Inventory/MercStartingGear.xml
@@ -1362,7 +1362,7 @@
90
31
92
- 1540
+ 1761
1542
1543
203
@@ -1370,6 +1370,7 @@
107
416
243
+ 1540
1090
1095
@@ -1382,8 +1383,7 @@
161
635
92
- 489
- 3
+ 1761
490
2
203
@@ -1395,6 +1395,8 @@
1
212
1538
+ 489
+ 3
1090
1091
1095
diff --git a/gamedir/Data-1.13/TableData/Items/AmmoStrings.xml b/gamedir/Data-1.13/TableData/Items/AmmoStrings.xml
index 612718cb3..ffff69b25 100644
--- a/gamedir/Data-1.13/TableData/Items/AmmoStrings.xml
+++ b/gamedir/Data-1.13/TableData/Items/AmmoStrings.xml
@@ -291,4 +291,9 @@
Pepper Spray
Pepper Spray
+
+ 50
+ Fire retardant
+ Fire retardant
+
\ No newline at end of file
diff --git a/gamedir/Data-1.13/TableData/Items/AmmoTypes.xml b/gamedir/Data-1.13/TableData/Items/AmmoTypes.xml
index 71cbe0185..2818f9392 100644
--- a/gamedir/Data-1.13/TableData/Items/AmmoTypes.xml
+++ b/gamedir/Data-1.13/TableData/Items/AmmoTypes.xml
@@ -1413,4 +1413,44 @@
0.0
0.0
+
+ 34
+ Fire retardant
+ 255
+ 255
+ 255
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1
+ 1
+ 1
+ 1
+ 1759
+ 4
+ 0
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0
+
+ 1.0
+ 0.8
+ 0
+ 1.0
+ 1.0
+ 0.0
+ 0.0
+ 0.0
+ 1.0
+
\ No newline at end of file
diff --git a/gamedir/Data-1.13/TableData/Items/ExplosionData.xml b/gamedir/Data-1.13/TableData/Items/ExplosionData.xml
index 864ffd055..5d2ca913a 100644
--- a/gamedir/Data-1.13/TableData/Items/ExplosionData.xml
+++ b/gamedir/Data-1.13/TableData/Items/ExplosionData.xml
@@ -150,4 +150,14 @@
TILECACHE\shckwave.STI
15
+
+ 15
+ White smoke
+ 1
+ 18
+ 248
+ -1
+ TILECACHE\TEAR_EXP.STI
+ 80
+
\ No newline at end of file
diff --git a/gamedir/Data-1.13/TableData/Items/Explosives.xml b/gamedir/Data-1.13/TableData/Items/Explosives.xml
index 6c91a8165..28c8c30e8 100644
--- a/gamedir/Data-1.13/TableData/Items/Explosives.xml
+++ b/gamedir/Data-1.13/TableData/Items/Explosives.xml
@@ -2101,4 +2101,24 @@
0
0
+
+ 105
+ 12
+ 0
+ 0
+ 6
+ 0
+ 0
+ 15
+ 5
+ 1
+ 9
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+
\ No newline at end of file
diff --git a/gamedir/Data-1.13/TableData/Items/Items.xml b/gamedir/Data-1.13/TableData/Items/Items.xml
index e24c730a1..19c4708cd 100644
--- a/gamedir/Data-1.13/TableData/Items/Items.xml
+++ b/gamedir/Data-1.13/TableData/Items/Items.xml
@@ -198,6 +198,7 @@
0
0
0
+ 0
0
0
@@ -52234,4 +52235,83 @@
+ -
+ 1759
+ White smoke explosion
+ White smoke explosion
+ INTERNAL ITEM, DO NOT USE!!!
+ White smoke explosion
+ 512
+ 1
+ 105
+ 18
+ 1
+ 49
+ 6
+ 4
+ 14
+
+
+
+
+ -
+ 1760
+ Extinguisher Bottle
+ Fire Extinguisher Bottle
+ A pressurized bottle for a fire extinguisher.
+ Fire Extinguisher Bottle
+ Not for sale through BR.
+ 1024
+ 1
+ 612
+ 2
+ 243
+ 30
+ 25
+ 30
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 100.0
+
+
+
+
+ -
+ 1761
+ Extinguisher
+ Fire Extinguisher
+ Not as useful as one would think in an actual fire fight. Though we see why you made that error.
+ Fire Extinguisher
+ A standard fire extinguisher. Remember to P.A.S.S..
+ 2
+ 1
+ 1761
+ 20
+ 373
+ 5
+ 7
+ 50
+ 1
+ 2
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 4
+ 12
+ 1
+ 1
+ 100.0
+ 10
+ 20.0
+
+
+
+
\ No newline at end of file
diff --git a/gamedir/Data-1.13/TableData/Items/Launchables.xml b/gamedir/Data-1.13/TableData/Items/Launchables.xml
index a80e2bfb5..2812d1e55 100644
--- a/gamedir/Data-1.13/TableData/Items/Launchables.xml
+++ b/gamedir/Data-1.13/TableData/Items/Launchables.xml
@@ -632,4 +632,8 @@
1737
1736
+
+ 1760
+ 1761
+
\ No newline at end of file
diff --git a/gamedir/Data-1.13/TableData/Items/Magazines.xml b/gamedir/Data-1.13/TableData/Items/Magazines.xml
index 55747cd16..7dce5abd8 100644
--- a/gamedir/Data-1.13/TableData/Items/Magazines.xml
+++ b/gamedir/Data-1.13/TableData/Items/Magazines.xml
@@ -4284,4 +4284,11 @@
33
1
+
+ 612
+ 50
+ 9
+ 34
+ 0
+
\ No newline at end of file
diff --git a/gamedir/Data-1.13/TableData/Items/Weapons.xml b/gamedir/Data-1.13/TableData/Items/Weapons.xml
index ab2a898b2..697c0f433 100644
--- a/gamedir/Data-1.13/TableData/Items/Weapons.xml
+++ b/gamedir/Data-1.13/TableData/Items/Weapons.xml
@@ -1998,6 +1998,7 @@
157
20
24
+ 10
1
7
33
@@ -13335,4 +13336,37 @@
10000
1600
+
+ 1761
+ Fire Extinguisher
+ 3
+ 5
+ 6.46
+ 3
+ 6
+ 30
+ 1
+ 50
+ 9
+ 80
+ 200
+ 100
+ 20
+ 10
+ 505
+ 505
+ 505
+ 505
+ 497
+ 108
+ 1578
+ 24
+ 1
+ 20
+ 476
+ 5
+ 30000
+ 20000
+ 100
+
\ No newline at end of file
diff --git a/gamedir/Data-1.13/TableData/Map/InteractiveActions.xml b/gamedir/Data-1.13/TableData/Map/InteractiveActions.xml
index a028ea3a3..bfe65893e 100644
--- a/gamedir/Data-1.13/TableData/Map/InteractiveActions.xml
+++ b/gamedir/Data-1.13/TableData/Map/InteractiveActions.xml
@@ -1050,6 +1050,13 @@
6
54
+
+ jailstf3.sti
+ 14
+ 15
+ 6
+ 54
+
@@ -1187,6 +1194,22 @@
6
66
+
+
+
+ waldec29.sti
+ 3
+ 6
+ 67
+
+
+
+
+ waldec29.sti
+ 4
+ 6
+ 68
+
diff --git a/gamedir/Data-1.13/TableData/Sounds/Sounds.xml b/gamedir/Data-1.13/TableData/Sounds/Sounds.xml
index d54593ceb..97c4af958 100644
--- a/gamedir/Data-1.13/TableData/Sounds/Sounds.xml
+++ b/gamedir/Data-1.13/TableData/Sounds/Sounds.xml
@@ -504,4 +504,5 @@
SOUNDS\nothing.wav
SOUNDS\beartrap_activated.wav
SOUNDS\beartrap_fleshhit.wav
+ SOUNDS\WEAPONS\Misc\fireextinguisher.wav
diff --git a/gamedir/Data/Sounds/Weapons/Misc/fireextinguisher.wav b/gamedir/Data/Sounds/Weapons/Misc/fireextinguisher.wav
new file mode 100644
index 000000000..3992516b8
Binary files /dev/null and b/gamedir/Data/Sounds/Weapons/Misc/fireextinguisher.wav differ