RimWorld

RimWorld

Jewelry
Showing 1-4 of 4 entries
Update: 23 Feb @ 2:52am

v1.03:

- Fix: long standing issue where some of the jewelry items lost part of their durability seemingly at random. Their MaxHitPoints is now recached once their stuff is changed post recipe to avoid this.
- Assorted fixes by Divine Derivative:
- Allow bioferrite for eltex jewelry
- Fix smelting eltex jewelry when recipe does not exist
- Fix for gemstone label in the infobox
- Minor fixes for the gemstones stuff category

Update: 4 May, 2024 @ 10:22am

v1.02:

Tweak: removed achievements code, and moved achievements as their own custom def for the future when VE Achievements is updated
Split code between 1.4 and 1.5 to adjust to new Achievements code

Update: 2 May, 2024 @ 12:34am

v1.01:

- Removed 1.1 to 1.3 support because come on
- HUGE update courtesy of Divine Derivative:

I had some ideas about improving the mod, and... I may have gotten carried away. Main feature is that jewelry can now be made with any metal/gem combination without requiring new defs for every metal.

**Two color texture masks**

This allows both the metal and the gemstone to color the item.

**New thing class, JewelryThing**

Inherits from Apparel, this stores the gemstone and overrides several methods to add the gemstone in various places.

- The Stuff is now the metal instead of the gemstone.
- Both the metal and the gemstone can be returned when smelting jewelry.
- Label includes both the metal and the gemstone.
- Gemstone is displayed on the info card after stuff.

**Recipe worker**

Added an empty recipe worker class, RecipeWorker_Jewelry. This is just to easily target the correct recipes when needed.

**Consolidation**

- Removed the silver jewelry defs since they are no longer needed.
- Removed duplication of patches and defs for 1.4 vs 1.5 since the differences are minimal
- Put more of the xml in abstract bases, so it's easier to change something and not have to remember to change it everywhere.
- Where possible, put conditional things directly in the defs using MayRequire instead of using patches so it's easier to see all the info in one place.
- Put similar defs in one file, simply my own preference.

**Back compatibility**

Two patches to back compatibility functions to convert old jewelry to the new format when loading a save file.

- Any jewelry with the Apparel thing class will be changed to JewelryThing.
- The old stuff will be added as the gemstone and the metal will be inferred from the defName, to be set as the new stuff.
- Old silver jewelry will then have the defName changed.

Update: 27 Mar, 2024 @ 2:08pm

[Auto-generated text]: Initial upload.