A small mod to allow you to re-cut large gems and gem-crafts back to small gems.
As high level gem cutter produce more gem crafts this raises their overall efficiently as one gem-craft can be split into a number of small gems. Can also import more gems by requesting gem-crafts from traders.
Uses Gem Cutting skills (only affects speed)
- Crown => 5 small gems
- Sceptre => 4 small gems
- Figurine, Large Gem => 3 small gems
- Earring, Amulet, Ring, Bracelet => 2 small gems
--
Drayath Gem Splitting Workshop - v2
entity_default.txt (add to existing file)
[PERMITTED_BUILDING:GEMSPLITTER]
[PERMITTED_REACTION:SPLIT_GEM]
[PERMITTED_REACTION:SPLIT_CROWN]
[PERMITTED_REACTION:SPLIT_SCEPTER]
[PERMITTED_REACTION:SPLIT_FIGURINE]
[PERMITTED_REACTION:SPLIT_EARRING]
[PERMITTED_REACTION:SPLIT_AMULET]
[PERMITTED_REACTION:SPLIT_RING]
[PERMITTED_REACTION:SPLIT_BRACELET]
building_gemsplitter.txt (new file)
building_gemsplitter
[OBJECT:BUILDING]
[BUILDING_WORKSHOP:GEMSPLITTER]
[NAME:Gem Splitter]
[NAME_COLOR:7:0:1]
[DIM:3:3]
[WORK_LOCATION:2:3]
[BUILD_LABOR:MASON]
[BUILD_KEY:CUSTOM_SHIFT_G]
[BLOCK:1:0:0:0]
[BLOCK:2:0:0:0]
[BLOCK:3:0:0:0]
[DIM:3:3]
[TILE:0:1:32:32:236]
[TILE:0:2:32:236:47]
[TILE:0:3:124:32:32]
[COLOR:0:1:0:0:0:0:0:0:0:0:1]
[COLOR:0:2:0:0:0:0:0:1:6:0:0]
[COLOR:0:3:6:0:0:0:0:0:0:0:0]
[TILE:1:1:236:32:146]
[TILE:1:2:124:32:166]
[TILE:1:3:32:32:236]
[COLOR:1:1:0:0:1:0:0:0:7:0:0]
[COLOR:1:2:6:0:0:0:0:0:7:0:0]
[COLOR:1:3:0:0:0:0:0:0:0:0:1]
[TILE:2:1:201:146:187]
[TILE:2:2:200:166:188]
[TILE:2:3:32:32:32]
[COLOR:2:1:0:0:1:7:0:0:0:0:1]
[COLOR:2:2:0:0:1:7:0:0:0:0:1]
[COLOR:2:3:0:0:0:0:0:0:0:0:0]
[TILE:3:1:201:146:187]
[TILE:3:2:200:166:188]
[TILE:3:3:230:210:248]
[COLOR:3:1:0:0:1:7:0:0:0:0:1]
[COLOR:3:2:0:0:1:7:0:0:0:0:1]
[COLOR:3:3:7:0:0:6:0:0:7:0:0]
[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]
reaction_splitgem.txt (new file)
reaction_splitgem
[OBJECT:REACTION]
[REACTION:SPLIT_GEM]
[NAME:Split Large Gem]
[BUILDING:GEMSPLITTER:'a']
[REAGENT:A:1:GEM:NO_SUBTYPE:INORGANIC:NONE]
[PRODUCT:100:3:SMALLGEM:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CUTGEM]
[AUTOMATIC]
[REACTION:SPLIT_CROWN]
[NAME:Split Crown]
[BUILDING:GEMSPLITTER:'b']
[REAGENT:A:1:SCEPTER:NO_SUBTYPE:INORGANIC:NONE]
[REACTION_CLASS:DRAY_GEM]
[PRODUCT:100:5:SMALLGEM:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CUTGEM]
[AUTOMATIC]
[REACTION:SPLIT_SCEPTER]
[NAME:Split Scepter]
[BUILDING:GEMSPLITTER:'c']
[REAGENT:A:1:SCEPTER:NO_SUBTYPE:INORGANIC:NONE]
[REACTION_CLASS:DRAY_GEM]
[PRODUCT:100:4:SMALLGEM:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CUTGEM]
[AUTOMATIC]
[REACTION:SPLIT_FIGURINE]
[NAME:Split Figurine]
[BUILDING:GEMSPLITTER:'d']
[REAGENT:A:1:FIGURINE:NO_SUBTYPE:INORGANIC:NONE]
[REACTION_CLASS:DRAY_GEM]
[PRODUCT:100:3:SMALLGEM:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CUTGEM]
[AUTOMATIC]
[REACTION:SPLIT_EARRING]
[NAME:Split Large Gem]
[BUILDING:GEMSPLITTER:'e']
[REAGENT:A:1:EARRING:NO_SUBTYPE:INORGANIC:NONE]
[REACTION_CLASS:DRAY_GEM]
[PRODUCT:100:2:SMALLGEM:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CUTGEM]
[AUTOMATIC]
[REACTION:SPLIT_AMULET]
[NAME:Split Amulet]
[BUILDING:GEMSPLITTER:'f']
[REAGENT:A:1:BRACELET:NO_SUBTYPE:INORGANIC:NONE]
[REACTION_CLASS:DRAY_GEM]
[PRODUCT:100:2:SMALLGEM:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CUTGEM]
[AUTOMATIC]
[REACTION:SPLIT_RING]
[NAME:Split Ring]
[BUILDING:GEMSPLITTER:'g']
[REAGENT:A:1:EARRING:NO_SUBTYPE:INORGANIC:NONE]
[REACTION_CLASS:DRAY_GEM]
[PRODUCT:100:2:SMALLGEM:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CUTGEM]
[AUTOMATIC]
[REACTION:SPLIT_BRACELET]
[NAME:Split Figurine]
[BUILDING:GEMSPLITTER:'h']
[REAGENT:A:1:BRACELET:NO_SUBTYPE:INORGANIC:NONE]
[REACTION_CLASS:DRAY_GEM]
[PRODUCT:100:2:SMALLGEM:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:CUTGEM]
[AUTOMATIC]
inorganic_stone.txt
Open file in a text editor and perform a find a replace:
replace [IS_GEM: with [REACTION_CLASS:DRAY_GEM][IS_GEM:
I.e. after the replace every gem should have the [REACTION_CLASS:DRAY_GEM] added with no other changes.
If you are using any mods that add new gems in different files repeat this steps there (E.g. inorganic_stone_gem_cf.txt for civilization forge)
If doing an update of this workshop you do not need to redo this step unless you have replaced the
inorganic_stone.txt file with one without the DRAY_GEM entries.
Feel free to use this as you wish, any queries of comments post them here.
--
Change Log:
11/08/10 - v2
Changed reaction_splitgem.txt (should be safe to update in an existing game)
- All reaction are now automatic, should be able to build the workshop and forget about it now.
- Output numbers changed, mainly have a random chance of producing different numbers of gems.
Known issues:
- Query: Gems already have an [IS_GEM] tag, is there anyway to hook into this rather than having to specify a custom reaction class for every gem?