Skip to content

Commit b180d9d

Browse files
committed
Test: basic implementation of boomer bile gun
1 parent 4551df2 commit b180d9d

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[
2+
{
3+
"type": "ammunition_type",
4+
"id": "bile",
5+
"name": "boomer bile",
6+
"default": "boomer_bile"
7+
},
8+
{
9+
"id": "boomer_bile",
10+
"type": "AMMO",
11+
"name": { "str_sp": "boomer bile" },
12+
"description": "Boomer bile, if you see this it's a bug",
13+
"weight": "3 g",
14+
"volume": "250 ml",
15+
"price": 600,
16+
"price_postapoc": 500,
17+
"material": [ "water" ],
18+
"symbol": "=",
19+
"color": "pink",
20+
"container": "bottle_plastic",
21+
"sealed": false,
22+
"phase": "liquid",
23+
"ammo_type": "bile",
24+
"range": 4,
25+
"count": 100,
26+
"effects": [ "NEVER_MISFIRES", "JET" ]
27+
},
28+
{
29+
"id": "boomer_stomach",
30+
"looks_like": "pressurized_tank",
31+
"type": "MAGAZINE",
32+
"name": { "str": "boomer stomach" },
33+
"description": "Boomer stomach, if you see this it's a bug.",
34+
"weight": "800 g",
35+
"volume": "2 L",
36+
"price": 5000,
37+
"price_postapoc": 50,
38+
"material": [ "flesh" ],
39+
"symbol": "O",
40+
"color": "pink",
41+
"ammo_type": [ "bile" ],
42+
"reload_time": 3,
43+
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "bile": 800 }, "watertight": true } ]
44+
},
45+
{
46+
"id": "BILE_BOMB",
47+
"type": "ammo_effect",
48+
"//": "Leaves a pool of bile on detonation",
49+
"aoe": { "field_type": "fd_bile", "intensity_min": 3, "intensity_max": 3 }
50+
},
51+
{
52+
"id": "BILE_JET",
53+
"type": "ammo_effect",
54+
"//": "Creates a trail of bile",
55+
"trail": { "field_type": "fd_bile", "intensity_min": 1, "intensity_max": 2, "chance": 75 }
56+
}
57+
]

data/json/monster_special_attacks/monster_gun.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,5 +308,23 @@
308308
"range": 100,
309309
"dispersion": 1000,
310310
"ranged_damage": { "damage_type": "stab", "amount": 30 }
311+
},
312+
{
313+
"id": "boomer_head",
314+
"copy-from": "fake_item",
315+
"type": "GUN",
316+
"reload_noise": "slosh.",
317+
"name": { "str": "boomer head" },
318+
"description": "The head of a boomer, if you see this item it's a bug.",
319+
"material": [ "flesh" ],
320+
"flags": [ "NEVER_JAMS", "NON_FOULING" ],
321+
"ammo_effects": [ "PSEUDO", "NEVER_MISFIRES", "NO_PENETRATE_OBSTACLES", "BILE_BOMB", "BILE_JET" ],
322+
"ammo": [ "bile" ],
323+
"skill": "rifle",
324+
"dispersion": 300,
325+
"durability": 10,
326+
"range": 10,
327+
"pocket_data": [ { "magazine_well": "2 L", "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "boomer_stomach" ] } ],
328+
"melee_damage": { "bash": 9 }
311329
}
312330
]

0 commit comments

Comments
 (0)