Skip to content
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

New Exodii weapon, the Khuunäöfaai #79001

Draft
wants to merge 63 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
1d210ec
first draft incl. weapon, magazine, ammo and ammo type
Daved27hundred Jan 7, 2025
e6ce8dc
fix missing s in variants
Daved27hundred Jan 7, 2025
3fa3c28
fix missing s in flags
Daved27hundred Jan 7, 2025
27a2eae
forgot to put in an ammo restriction
Daved27hundred Jan 7, 2025
20af21d
fix missing values from ammo
Daved27hundred Jan 7, 2025
278019a
add missing symbols
Daved27hundred Jan 7, 2025
d0ae4cd
generic guns migrations
Daved27hundred Jan 7, 2025
4455ed1
smoke_big effect on firework ammo
Daved27hundred Jan 7, 2025
61d5eeb
add copy-from and remove uneeded effects. trying to fix hard crash
Daved27hundred Jan 7, 2025
664fe4e
Update data/json/items/ammo/exodii.json
Daved27hundred Jan 8, 2025
737b297
minor changes
Daved27hundred Jan 9, 2025
4b2c35a
added comment for translators
Daved27hundred Jan 9, 2025
dade66f
add cannon to recognized gun names
Daved27hundred Jan 9, 2025
95764bd
common string between mag and gun added
Daved27hundred Jan 9, 2025
2e7ee1f
valid json
Daved27hundred Jan 9, 2025
5d6e4aa
changes to effects
Daved27hundred Jan 9, 2025
ebd152d
attempt to fix ammo error
Daved27hundred Jan 9, 2025
45ec2f6
ditto
Daved27hundred Jan 9, 2025
bf388cf
i overlooked the umlauts and capitalization
Daved27hundred Jan 10, 2025
2a80ddf
proper comma
Daved27hundred Jan 10, 2025
8bd6aaf
replace ammo with ammo_type in magazine pocket
Daved27hundred Jan 10, 2025
51e33e8
make fireworks behave like a firework
Daved27hundred Jan 10, 2025
b38e20a
unique ammo effect. still needs tweaking.
Daved27hundred Jan 10, 2025
b6db353
tweakin
Daved27hundred Jan 10, 2025
b1ef199
add to guns_blacklist with the other exodii weapons
Daved27hundred Jan 10, 2025
91a030b
please recognize it now
Daved27hundred Jan 10, 2025
fe592ae
capitalize that K
Daved27hundred Jan 10, 2025
79f49c9
GOTCHA
Daved27hundred Jan 10, 2025
a656a99
Update exodii.json
Daved27hundred Jan 10, 2025
dc3bcd6
fireworks doesn't have recoil does it?
Daved27hundred Jan 10, 2025
7ff750c
second ammo type
Daved27hundred Jan 11, 2025
0b8434f
missing types
Daved27hundred Jan 11, 2025
1daab54
add price
Daved27hundred Jan 11, 2025
074ab28
forgot ammo_type
Daved27hundred Jan 11, 2025
6dbfd5a
Update exodii.json
Daved27hundred Jan 11, 2025
7a779fe
Update gg_ammo_migration.json
Daved27hundred Jan 11, 2025
bab9e92
Update gg_magazines_blacklist.json
Daved27hundred Jan 11, 2025
db84f9e
more than copy-from
Daved27hundred Jan 11, 2025
3946eab
no comma
Daved27hundred Jan 11, 2025
cc07013
forgot a SECOND comma
Daved27hundred Jan 11, 2025
d891df9
guardians suggestion, different ammo types
Daved27hundred Jan 12, 2025
0d0fc83
third ammo type, corrosive payload, first draft.
Daved27hundred Jan 13, 2025
334d41e
Update exodii.json
Daved27hundred Jan 13, 2025
996a711
Update exodii.json
Daved27hundred Jan 13, 2025
6a12199
gun takes the new ammo
Daved27hundred Jan 13, 2025
79c48d0
forgot the generic guns migrations
Daved27hundred Jan 14, 2025
0526ed8
linted gg_ammo_migration
Daved27hundred Jan 14, 2025
f71af88
I wasn't satisfied with the description
Daved27hundred Jan 14, 2025
1ddaa62
corrosive ammo now uses a spell rather than an ammo effect, take 1
Daved27hundred Jan 14, 2025
9dab2c4
make this a teensy bit more deadly
Daved27hundred Jan 14, 2025
dac4037
field_id not field_type
Daved27hundred Jan 14, 2025
e6560ba
tweak some values
Daved27hundred Jan 14, 2025
9ed30d3
tweaked the wrong values
Daved27hundred Jan 14, 2025
3d9e8e1
more tweaking
Daved27hundred Jan 14, 2025
3b8fa83
the only reason i found out this crashed the game is because I saw a …
Daved27hundred Jan 14, 2025
f471298
the ammo costs more money than the canisters. selling an empty canist…
Daved27hundred Jan 14, 2025
1f49163
final ammo type, first draft
Daved27hundred Jan 14, 2025
8f80b16
stupido
Daved27hundred Jan 14, 2025
09c757b
Update exodii.json
Daved27hundred Jan 14, 2025
06d466a
Update exodii.json
Daved27hundred Jan 14, 2025
00cf8b5
Update exodii.json
Daved27hundred Jan 14, 2025
08c4ba2
divergent JSONification theory
Daved27hundred Jan 14, 2025
94dd584
THE GLUE.
Daved27hundred Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions data/json/items/ammo/exodii.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,25 @@
"effects": [ "NEVER_MISFIRES" ],
"casing": "caotel_cell_spent"
},
{
"id": "khuunaofaai_ammo_firework",
"type": "AMMO",
"range": 100,
"name": { "str": "khuunäöfaai firework" },
"description": "Pressurized chemical payload for the Khuunäöfaai. Highly reactive to oxygen, removing it from the tank would be a bad idea.",
"ammo_type": "khuunaofaai_payload",
"effects": [ "NEVER_MISFIRES", "SMOKE_BIG" ],
"damage": { "damage_type": "bullet", "amount": 40, "armor_penetration": 4 },
"recoil": 60,
"dispersion": 20,
"copy-from": "84x246mm_smoke",
"price_postapoc": "1 USD",
"color": "green",
"symbol": "=",
"weight": "4 g",
"volume": "125 ml",
"flags": [ "NO_DROP" ]
},
{
"id": "33naval_ball",
"type": "AMMO",
Expand Down
6 changes: 6 additions & 0 deletions data/json/items/ammo_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,12 @@
"name": "Caotel cell",
"default": "caotel_cell"
},
{
"type": "ammunition_type",
"id": "khuunaofaai_payload",
"name": "Khuunäöfaai pressurized payload",
"default": "khuunaofaai_ammo_firework"
},
{
"type": "ammunition_type",
"id": "glowstick_juice",
Expand Down
36 changes: 36 additions & 0 deletions data/json/items/gun/exodii.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,42 @@
"flags": [ "NEVER_JAMS", "RELOAD_EJECT", "RELOAD_ONE", "EASY_CLEAN" ],
"melee_damage": { "bash": 12 }
},
{
"id": "khuunaofaai",
"//": "note for translators, its pronounced \"Ka-hu-na-o-fa-i\" and doesn't actually mean anything, you can translate the syllables directly.",
"copy-from": "m4_carlgustav",
"looks_like": "m202_flash",
"type": "GUN",
"name": { "str": "Exodii ordnance cannon" },
Daved27hundred marked this conversation as resolved.
Show resolved Hide resolved
"description": "An oddball in the Exodii’s oddball selection of armaments - This robust, shoulder mounted weapons platform started life not as a weapon, but as a ceremonial firework cannon, mounted in droves atop of parade tanks the size of buildings by some globe spanning military culture. Little of its original design remains under the retrofits and wear, with even its engravings worn down to nothing by time. The khuunäöfaai finds its niche in disposing incoming hordes from large distances, helped by the variety of chemical payloads its been modified to fire.",
"weight": "8180 g",
"volume": "10360 ml",
"material": [ "steel", "gold" ],
"longest_side": "1080 mm",
"price_postapoc": "75 USD",
"variant_type": "gun",
"variants": [
{
"id": "Khuunaofaai",
"name": { "str": "Khuunäöfaai ordnance cannon" },
"description": "An oddball in the Exodii’s oddball selection of armaments - This robust, shoulder mounted weapons platform started life not as a weapon, but as a ceremonial firework cannon, mounted in droves atop of parade tanks the size of buildings by some globe spanning military culture. Little of its original design remains under the retrofits and wear, with even its engravings worn down to nothing by time. The khuunäöfaai finds its niche in disposing incoming hordes from large distances, helped by the variety of chemical payloads its been modified to fire.",
"weight": 1
}
],
"color": "red",
"valid_mod_locations": [ [ "sights_mount", 1 ], [ "sling", 1 ] ],
"flags": [ "NEVER_JAMS", "NON_FOULING" ],
"melee_damage": { "bash": 12 },
"pocket_data": [
{
"magazine_well": "1250 ml",
"pocket_type": "MAGAZINE_WELL",
"item_restriction": [ "exodii_khuunaofaai_mag_firework" ]
}
],
"reload_noise_volume": 20,
"ammo": [ "khuunaofaai_payload" ]
},
{
"id": "sapra",
"looks_like": "smle_mk3",
Expand Down
24 changes: 24 additions & 0 deletions data/json/items/magazine/exodii.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,30 @@
"flags": [ "MAG_BULKY" ],
"pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "273x44": 5 } } ]
},
{
"id": "exodii_khuunaofaai_mag_firework",
"looks_like": "metal_tank_little",
"type": "MAGAZINE",
"name": { "str": "Khuunaofaai celebration payload" },
"description": "A pressurized tank containing the original firework load of the Khuunäöfaai. This chemical payload contains two different compounds of copper, so that the projectiles burn a sharp blue and green to represent the united Earth it came from. It isn't intended for combat, but getting hit by a massive firework is dangerous enough that it was brought along. The tank capacity is larger than the other loads the Exodii created for it.",
"weight": "1268 g",
"volume": "1250 ml",
"symbol": "#",
"color": "light_gray",
"longest_side": "160 mm",
"price_postapoc": "24 USD 80 cent",
"pocket_data": [
{
"pocket_type": "MAGAZINE",
"rigid": true,
"airtight": true,
"ammo_restriction": { "khuunaofaai_ammo_firework": 10 },
"watertight": true
}
],
"flags": [ "MAG_BULKY", "NO_UNLOAD", "NO_RELOAD" ],
"material": "steel"
},
{
"id": "ree_33_4_mag",
"looks_like": "stanag30",
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Generic_Guns/ammo/gg_ammo_migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@
"replace": "rifle_pellet_hunting"
},
{
"id": [ "84x246mm_smoke" ],
"id": [ "84x246mm_smoke", "khuunaofaai_ammo_firework" ],
"type": "MIGRATION",
"replace": "rocket_smoke"
},
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Generic_Guns/firearms/gg_firearms_migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
"replace": "rocket_disposable"
},
{
"id": [ "m202_flash", "m3_carlgustav", "m4_carlgustav", "RPG", "surv_rocket_launcher" ],
"id": [ "m202_flash", "m3_carlgustav", "m4_carlgustav", "RPG", "surv_rocket_launcher", "khuunaofaai" ],
"type": "MIGRATION",
"replace": "rocket_recoilless"
},
Expand Down
3 changes: 2 additions & 1 deletion data/mods/Generic_Guns/magazines/gg_magazines_blacklist.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"a180mag2",
"a180mag3",
"a180mag4",
"af2011a1mag"
"af2011a1mag",
"exodii_khuunaofaai_mag_firework"
]
}
]
1 change: 1 addition & 0 deletions tools/json_tools/gun_variant_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
TYPE_DESCRIPTORS = [
"automagnum",
"blunderbuss",
"cannon",
"carbine",
"coilgun",
# Not great, but weird can get a pass
Expand Down
Loading