-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Expand implementation of liquid ammo #72271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
06bc3fd
Test: basic implementation of boomer bile gun
Fris0uman 329eb56
Use breathability to measure protection against liquid ammo
Fris0uman 4886277
wip on_hit_effect
Fris0uman 9064302
Apllying effects on Bp is handled in the effect definition, no need f…
Fris0uman 231f22a
Let clothing_wetness_mult be 0 when checking for permeability
Fris0uman 83d0ab1
Only pass the Bp hit to apply_effects_nodamage
Fris0uman 6b874f6
make bile field glowing
GuardianDll 6973371
replace boomer attacks with gun, tweak gun and rounds
GuardianDll f3ecd06
remove BOOMER and BOOMER_GLOW hardcoded special attacks
GuardianDll f865f44
on_hit_effects Doc update
Fris0uman e0962ed
remove reference to inexistant bounce effect
Fris0uman eb20ee4
add missing include
Fris0uman 041c62f
update gun ammo and boomer to current json style
Fris0uman 0f13586
fix boomer puking sounds
Fris0uman ca2b745
give ammo to huge boomer and glutton
Fris0uman 00babec
fixes from review
Fris0uman ca22b01
blinding bile
Fris0uman c24e197
only advanced boomer makes glowing bile
Fris0uman 04996be
Add test for ammo effect application
Fris0uman 82ee82f
clean up loading code
Fris0uman 68c4dc2
Merge branch 'master' into glubglub_gun
Fris0uman cff8889
add sections to test
Fris0uman bb3c989
add boomer_head to gun dps data
Fris0uman 423dc38
tidy up
Fris0uman 5178cf1
fix crash
Fris0uman 0ff6f59
fix ammo effect that should be a flag
Fris0uman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| [ | ||
| { | ||
| "type": "ammunition_type", | ||
| "id": "bile", | ||
| "name": "boomer bile", | ||
| "default": "boomer_bile" | ||
| }, | ||
| { | ||
| "id": "boomer_bile", | ||
| "type": "ITEM", | ||
| "subtypes": [ "AMMO" ], | ||
| "name": { "str": "boomer bile", "//~": "NO_I18N" }, | ||
| "description": { "str": "Boomer bile, if you see this it's a bug.", "//~": "NO_I18N" }, | ||
| "weight": "3 g", | ||
| "volume": "250 ml", | ||
| "material": [ "water" ], | ||
| "symbol": "=", | ||
| "color": "pink", | ||
| "phase": "liquid", | ||
| "ammo_type": "bile", | ||
| "range": 4, | ||
| "count": 1, | ||
| "effects": [ "NEVER_MISFIRES", "BILE_JET", "BILE_GLOW", "BILE_STINK", "BILE_BLIND" ] | ||
| }, | ||
| { | ||
| "id": "boomer_bile_adv", | ||
| "type": "ITEM", | ||
| "subtypes": [ "AMMO" ], | ||
| "name": { "str": "advanced boomer bile", "//~": "NO_I18N" }, | ||
| "description": { "str": "Boomer bile, if you see this it's a bug.", "//~": "NO_I18N" }, | ||
| "weight": "3 g", | ||
| "volume": "250 ml", | ||
| "material": [ "water" ], | ||
| "symbol": "=", | ||
| "color": "pink", | ||
| "phase": "liquid", | ||
| "ammo_type": "bile", | ||
| "range": 4, | ||
| "count": 1, | ||
| "effects": [ "NEVER_MISFIRES", "BILE_JET", "BILE_GLOW", "BILE_BOMB", "BILE_STINK", "BILE_IRRITATE", "BILE_BLIND" ] | ||
| }, | ||
| { | ||
| "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 } | ||
| }, | ||
| { | ||
| "id": "BILE_GLOW", | ||
| "type": "ammo_effect", | ||
| "on_hit_effects": [ { "effect": "glowing", "duration": "5 m", "intensity": 1 } ] | ||
| }, | ||
| { | ||
| "id": "BILE_STINK", | ||
| "type": "ammo_effect", | ||
| "on_hit_effects": [ { "effect": "bile_stink", "duration": "5 m", "intensity": 1, "need_touch_skin": true } ] | ||
| }, | ||
| { | ||
| "id": "BILE_IRRITATE", | ||
| "type": "ammo_effect", | ||
| "on_hit_effects": [ { "effect": "bile_irritant", "duration": "5 m", "intensity": 1, "need_touch_skin": true } ] | ||
| }, | ||
| { | ||
| "id": "BILE_BLIND", | ||
| "type": "ammo_effect", | ||
| "on_hit_effects": [ { "effect": "boomered", "duration": "30 s", "intensity": 1, "need_touch_skin": true } ] | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.