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

error message- flare ammo #17

Closed
Senteth opened this issue Jun 20, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@Senteth
Copy link

commented Jun 20, 2019

Kept getting the errors below, tracked the source down to this mod. Did a fresh install of CDDA with up to date mods to make sure it wasn't just due to incompatibilities with old files.


DEBUG : warnings for type flaregun:
there is no actual ammo of type signal_flare defined

FUNCTION : void Item_factory::check_definitions() const
FILE : src/item_factory.cpp
LINE : 1142


DEBUG : warnings for type signal_flare:
ammo type is not known

FUNCTION : void Item_factory::check_definitions() const
FILE : src/item_factory.cpp
LINE : 1142


DEBUG : warnings for type flare_gmod:
there is no actual ammo of type signal_flare defined

FUNCTION : void Item_factory::check_definitions() const
FILE : src/item_factory.cpp
LINE : 1142

@Senteth

This comment has been minimized.

Copy link
Author

commented Jun 20, 2019

Update: Removing the portion below from PKs_Rebalancing-master\items\ammo.json appears to fix the issue. Default flare ammo is still available after the change.

{
"id": "signal_flare",
"type": "AMMO",
"name": "signal flare",
"description": "A heavy plastic cartridge made for use in flare guns. It appears to be a modified 12 gauge shotgun shell.",
"weight": 32,
"volume": 1,
"price": 2500,
"material": [ "plastic", "powder" ],
"symbol": "=",
"color": "red",
"count": 4,
"stack_size": 20,
"ammo_type": [ "signal_flare", "shot" ],
"casing": "shot_hull",
"range": 30,
"damage": 16,
"dispersion": 200,
"recoil": 100,
"drop": "handflare_lit",
"effects": [ "NEVER_MISFIRES", "NO_EMBED", "RECOVER_10", "ACT_ON_RANGED_HIT" ]
},

@dissociativity

This comment has been minimized.

Copy link
Owner

commented Jul 1, 2019

thankyou, fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.