Skip to content

Export Weapon and Trap Items#70

Open
TomatechGames wants to merge 11 commits intoBanjoByTheBay:masterfrom
TomatechGames:export-weapons-and-traps
Open

Export Weapon and Trap Items#70
TomatechGames wants to merge 11 commits intoBanjoByTheBay:masterfrom
TomatechGames:export-weapons-and-traps

Conversation

@TomatechGames
Copy link
Contributor

Adds WeaponExporter, TrapExporter, WeaponItemData and TrapItemData. Weapon and Trap stat classes have been moved from the SchameticItemData file to their respective files (SchematicItemData still contains the stat classes as properties).
Moved Weapon/Trap stat converter and Category/Subtype generator methods out of SchematicExporter, and made them public and static so that SchematicExporter can still use them.
Weapons/Traps put their Disassembly recipes into the RecycleRecipe property

Depends on #67 and #69

Added UObjectExporter equivelents for exporters based on GroupExporter, and disabled GroupExporter exports by making them uninterested in any assets (GroupExporter-based exporters are now suffixed with "Old")

Additionally
- SchematicExporter now exports ammo and ingredient schematics
- HeroPerkName and CommanderPerkName in HeroItemData have been renamed to HeroPerkTemplate and CommanderPerkTemplate, and now export the entire Ability Template Id instead of just the name component
- UObjectExporters can now be forced to export rarities (including Uncommon) in cases where the exporter knows that all the items it exports are supposed to have a rarity. This allows applications to differentiate between items with a default rarity and items with no rarity
Adds a new ItemRecipe class that can contain the Cost, Result Template Id and Result Amount of a recipe. This new class is used to represent Tier Upgrade, Rarity Upgrade, and Recycling recipes.
Since Recycling and Tier Up recipes change their XP requirements based on an items level, an ItemLevelsToXP curve table is now exported, and items export their relevant rows
Alteration Slots now export the base reperk cost of the slot, and Alterations now export the evolution cost and additional reperk cost for that alteration
Adds WeaponExporter, TrapExporter, WeaponItemData and TrapItemData. Weapon and Trap stat classes have been moved from the SchameticItemData file to their respective files (SchematicItemData still contains the stat classes as properties).
Moved Weapon/Trap stat converter and Category/Subtype generator methods out of SchematicExporter, and made them public and static so that SchematicExporter can still use them.
Weapons/Traps put their Disassembly recipes into the RecycleRecipe property
@TomatechGames TomatechGames force-pushed the export-weapons-and-traps branch from 5800305 to 2e1ed61 Compare January 20, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant