Skip to content

Commit

Permalink
Test: basic implementation of boomer bile gun
Browse files Browse the repository at this point in the history
  • Loading branch information
Fris0uman committed Mar 23, 2024
1 parent 493a925 commit 7877b39
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
57 changes: 57 additions & 0 deletions data/json/monster_special_attacks/monster_ammo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[
{
"type": "ammunition_type",
"id": "bile",
"name": "boomer bile",
"default": "boomer_bile"
},
{
"id": "boomer_bile",
"type": "AMMO",
"name": { "str_sp": "boomer bile" },
"description": "Boomer bile, if you see this it's a bug",
"weight": "3 g",
"volume": "250 ml",
"price": 600,
"price_postapoc": 500,
"material": [ "water" ],
"symbol": "=",
"color": "pink",
"container": "bottle_plastic",
"sealed": false,
"phase": "liquid",
"ammo_type": "bile",
"range": 4,
"count": 100,
"effects": [ "NEVER_MISFIRES", "JET" ]
},
{
"id": "boomer_stomach",
"looks_like": "pressurized_tank",
"type": "MAGAZINE",
"name": { "str": "boomer stomach" },
"description": "Boomer stomach, if you see this it's a bug.",
"weight": "800 g",
"volume": "2 L",
"price": 5000,
"price_postapoc": 50,
"material": [ "flesh" ],
"symbol": "O",
"color": "pink",
"ammo_type": [ "bile" ],
"reload_time": 3,
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "bile": 800 }, "watertight": true } ]
},
{
"id": "BILE_BOMB",
"type": "ammo_effect",
"//": "Leaves a pool of bile on detonation",
"aoe": { "field_type": "fd_bile", "intensity_min": 3, "intensity_max": 3 }
},
{
"id": "BILE_JET",
"type": "ammo_effect",
"//": "Creates a trail of bile",
"trail": { "field_type": "fd_bile", "intensity_min": 1, "intensity_max": 2, "chance": 75 }
}
]
18 changes: 18 additions & 0 deletions data/json/monster_special_attacks/monster_gun.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,5 +308,23 @@
"range": 100,
"dispersion": 1000,
"ranged_damage": { "damage_type": "stab", "amount": 30 }
},
{
"id": "boomer_head",
"copy-from": "fake_item",
"type": "GUN",
"reload_noise": "slosh.",
"name": { "str": "boomer head" },
"description": "The head of a boomer, if you see this item it's a bug.",
"material": [ "flesh" ],
"flags": [ "NEVER_JAMS", "NON_FOULING" ],
"ammo_effects": [ "PSEUDO", "NEVER_MISFIRES", "NO_PENETRATE_OBSTACLES", "BILE_BOMB", "BILE_JET" ],
"ammo": [ "bile" ],
"skill": "rifle",
"dispersion": 300,
"durability": 10,
"range": 10,
"pocket_data": [ { "magazine_well": "2 L", "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "boomer_stomach" ] } ],
"melee_damage": { "bash": 9 }
}
]

0 comments on commit 7877b39

Please sign in to comment.