-
Notifications
You must be signed in to change notification settings - Fork 290
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
Add quadruped armors #1849
Add quadruped armors #1849
Conversation
Well that's a curious random failure, don't think I've seen this one yet. Restarted tests. https://github.com/cataclysmbnteam/Cataclysm-BN/runs/8294199148?check_suite_focus=true
|
@@ -1,6 +1,6 @@ | |||
[ | |||
{ | |||
"result": "acidchitin_harness_dog", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those recipes should get an "obsolete" copy, otherwise players who know the replaced recipes will get warnings on load.
For each recipe changed to a new id, you should add an entry in data/json/obsoletion/recipes.json
. The entry should have only type, id, and a "obsolete": true
tag.
"storage": "25 L", | ||
"min_pet_vol": "20000 ml" | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For compatibility, you should add a migration entry for each of those armors, so that they can be changed into the new ones.
Migration entries are located in data/json/items/migration.json
and have a structure like:
{
"id": "old_item_id_here",
"type": "MIGRATION",
"replace": "new_item_id_here"
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok it should be good, I spawned all items, learned all recipes in a save created in current experimental and could load it on this branch without error
Summary
[Content] "add armors for small and medium quadrupeds"
Purpose of change
Add generic armors for quadrupeds to reduce the inventory/crafting menu clutter. It will also help for code maintability and if more quadrupeds becomes tameable. As a side effect, every tameable quadrupeds can now wear some kind of armor.
Describe the solution
Describe alternatives you've considered
Testing
Additional context