-- [Hk]Config++ by Hekkaryk -- Config mod with many MANY options. Since you're here - enjoy reading! ;) -- Loading variables that are going to be used later. local require = GLOBAL.require local STRINGS = GLOBAL.STRINGS local TUNING = GLOBAL.TUNING local Ingredient = GLOBAL.Ingredient local CHARACTER_INGREDIENT = GLOBAL.CHARACTER_INGREDIENT local RECIPETABS = GLOBAL.RECIPETABS local Recipe = GLOBAL.Recipe local TECH = GLOBAL.TECH local stackable_replica = require "components/stackable_replica" local IsServer = GLOBAL.TheNet:GetIsServer() local net_byte = GLOBAL.net_byte -- locals from tuning.lua that we use local seg_time = 30 local total_day_time = seg_time * 16 local multiplayer_armor_durability_modifier = 0.7 local multiplayer_armor_absorption_modifier = 1 local wilson_health = 150 local day_segs = 10 local dusk_segs = 4 local night_segs = 2 local day_time = seg_time * day_segs local dusk_time = seg_time * dusk_segs local night_time = seg_time * night_segs -- icebox perish rate local hk_icebox_perish = GetModConfigData("hk_co_icebox_perish") if hk_icebox_perish ~= 0.5 then TUNING.PERISH_FRIDGE_MULT = hk_icebox_perish end -- quick pick local hk_quick_pick = GetModConfigData("hk_co_quick_pick") if hk_quick_pick then local function quickpick(inst) if inst.components.pickable then inst.components.pickable.quickpick = true end end AddPrefabPostInit("berrybush", quickpick) AddPrefabPostInit("berrybush2", quickpick) AddPrefabPostInit("blue_mushroom", quickpick) AddPrefabPostInit("cactus", quickpick) AddPrefabPostInit("flower_cave", quickpick) AddPrefabPostInit("flower_cave_double", quickpick) AddPrefabPostInit("flower_cave_triple", quickpick) AddPrefabPostInit("grass", quickpick) AddPrefabPostInit("green_mushroom", quickpick) AddPrefabPostInit("lichen", quickpick) AddPrefabPostInit("marsh_bush", quickpick) AddPrefabPostInit("red_mushroom", quickpick) AddPrefabPostInit("reeds", quickpick) AddPrefabPostInit("sapling", quickpick) end -- respawn penalty local hk_respawn_penalty = GetModConfigData("hk_co_respawn_penalty") if hk_respawn_penalty then TUNING.REVIVE_HEALTH_PENALTY_AS_MULTIPLE_OF_EFFIGY = 0 TUNING.EFFIGY_HEALTH_PENALTY = 0 TUNING.REVIVE_HEALTH_PENALTY = 0 TUNING.MAXIMUM_HEALTH_PENALTY = 0 end -- thermal stones local hk_thermal_stone_uses = GetModConfigData("hk_co_thermal_stone_uses") if hk_thermal_stone_uses ~= 5 then TUNING.HEATROCK_NUMUSES = hk_thermal_stone_uses end -- telltale heart local hk_telltale_heart = GetModConfigData("hk_co_telltale_heart") if hk_telltale_heart == true then ingredients = {Ingredient("cutgrass", 3), Ingredient("spidergland", 1)} telltaleheart = GLOBAL.AllRecipes["reviver"] telltaleheart.ingredients = {} telltaleheart.character_ingredients = {} for k, v in pairs(ingredients) do if table.contains(CHARACTER_INGREDIENT, v.type) then table.insert(telltaleheart.character_ingredients, v) else table.insert(telltaleheart.ingredients, v) end end end -- stack size local hk_stack_size = GetModConfigData("hk_co_stack_size") if hk_stack_size ~= 0 then TUNING.STACK_SIZE_LARGEITEM = hk_stack_size TUNING.STACK_SIZE_MEDITEM = hk_stack_size TUNING.STACK_SIZE_SMALLITEM = hk_stack_size local stackable_replica_ctorBase = stackable_replica._ctor or function() return true end function stackable_replica._ctor(self, inst) self.inst = inst self._stacksize = net_byte(inst.GUID, "stackable._stacksize", "stacksizedirty") self._maxsize = hk_stack_size end local stackable_replicaSetMaxSize_Base = stackable_replica.SetMaxSize or function() return true end function stackable_replica:SetMaxSize(maxsize) self._maxsize = hk_stack_size end local stackable_replicaMaxSize_Base = stackable_replica.MaxSize or function() return true end function stackable_replica:MaxSize() return self._maxsize end end -- no fire spread local hk_no_fire_spread = GetModConfigData("hk_co_no_fire_spread") if hk_no_fire_spread then local function SetPropagateRangeToZero(inst) if inst.components.propagator then inst.components.propagator.propagaterange = 0 end end local CurrentMakeSmallPropagator = GLOBAL.MakeSmallPropagator GLOBAL.MakeSmallPropagator = function(inst) CurrentMakeSmallPropagator(inst) SetPropagateRangeToZero(inst) end local CurrentMakeMediumPropagator = GLOBAL.MakeMediumPropagator GLOBAL.MakeMediumPropagator = function(inst) CurrentMakeMediumPropagator(inst) SetPropagateRangeToZero(inst) end local MakeLargePropagator = GLOBAL.MakeLargePropagator GLOBAL.MakeLargePropagator = function(inst) MakeLargePropagator(inst) SetPropagateRangeToZero(inst) end end -- free hammering local hk_free_hammering = GetModConfigData("hk_co_free_hammering") if hk_free_hammering then TUNING.HAMMER_LOOT_PERCENT = 1 TUNING.BURNT_HAMMER_LOOT_PERCENT = 1 end -- tool uses local hk_tools_ratio = GetModConfigData("hk_co_tools_ratio") if hk_tools_ratio == 0 then hk_tools_ratio = math.huge end if hk_tools_ratio ~= 1 then TUNING.AXE_USES = 100 * hk_tools_ratio TUNING.HAMMER_USES = 75 * hk_tools_ratio TUNING.SHOVEL_USES = 25 * hk_tools_ratio TUNING.PITCHFORK_USES = 25 * hk_tools_ratio TUNING.PICKAXE_USES = 33 * hk_tools_ratio TUNING.BUGNET_USES = 10 * hk_tools_ratio TUNING.FISHINGROD_USES = 9 * hk_tools_ratio TUNING.TRAP_USES = 8 * hk_tools_ratio TUNING.MULTITOOL_AXE_PICKAXE_USES = 400 * hk_tools_ratio TUNING.SADDLEHORN_USES = 10 * hk_tools_ratio TUNING.BRUSH_USES = 75 * hk_tools_ratio TUNING.UMBRELLA_USES = 20 * hk_tools_ratio TUNING.SEWINGKIT_USES = 5 * hk_tools_ratio TUNING.HORN_USES = 10 * hk_tools_ratio end -- weapon uses local hk_weapons_ratio = GetModConfigData("hk_co_weapons_ratio") if hk_weapons_ratio == 0 then hk_weapons_ratio = math.huge end if hk_weapons_ratio ~= 1 then TUNING.WHIP_USES = 175 * hk_weapons_ratio TUNING.SPEAR_USES = 150 * hk_weapons_ratio TUNING.CLAW_GLOVE_USES = 200 * hk_weapons_ratio TUNING.WATHGRITHR_SPEAR_USES = 200 * hk_weapons_ratio TUNING.SPIKE_USES = 100 * hk_weapons_ratio TUNING.BOOMERANG_USES = 10 * hk_weapons_ratio TUNING.NIGHTSWORD_USES = 100 * hk_weapons_ratio TUNING.HAMBAT_USES = 100 * hk_weapons_ratio TUNING.BATBAT_USES = 75 * hk_weapons_ratio TUNING.RUINS_BAT_USES = 150 * hk_weapons_ratio TUNING.TRAP_TEETH_USES = 10 * hk_weapons_ratio end -- staff uses local hk_staffs_ratio = GetModConfigData("hk_co_staffs_ratio") if hk_staffs_ratio == 0 then hk_staffs_ratio = math.huge end if hk_staffs_ratio ~= 1 then TUNING.ICESTAFF_USES = 20 * hk_staffs_ratio TUNING.FIRESTAFF_USES = 20 * hk_staffs_ratio TUNING.YELLOWSTAFF_USES = 20 * hk_staffs_ratio TUNING.TELESTAFF_USES = 5 * hk_staffs_ratio TUNING.OPALSTAFF_USES = 50 * hk_staffs_ratio TUNING.ORANGESTAFF_USES = 20 * hk_staffs_ratio TUNING.GREENSTAFF_USES = 5 * hk_staffs_ratio end -- amulet uses local hk_amulets_ratio = GetModConfigData("hk_co_amulets_ratio") if hk_amulets_ratio == 0 then hk_amulets_ratio = math.huge end if hk_amulets_ratio ~= 1 then TUNING.REDAMULET_USES = 20 * hk_amulets_ratio TUNING.BLUEAMULET_FUEL = total_day_time * 0.75 * hk_amulets_ratio TUNING.PURPLEAMULET_FUEL = total_day_time * 0.4 * hk_amulets_ratio TUNING.YELLOWAMULET_FUEL = total_day_time * hk_amulets_ratio TUNING.ORANGEAMULET_USES = 225 * hk_amulets_ratio TUNING.GREENAMULET_USES = 5 * hk_amulets_ratio end -- clothes durability local hk_clothes_durability = GetModConfigData("hk_co_clothes_durability") if hk_clothes_durability == 0 then hk_clothes_durability = math.huge end if hk_clothes_durability ~= 1 then TUNING.SPIDERHAT_PERISHTIME = 4 * seg_time * hk_clothes_durability TUNING.ONEMANBAND_PERISHTIME = 6 * seg_time * hk_clothes_durability TUNING.GRASS_UMBRELLA_PERISHTIME = 2 * total_day_time * hk_clothes_durability TUNING.UMBRELLA_PERISHTIME = total_day_time * 6 * hk_clothes_durability TUNING.EYEBRELLA_PERISHTIME = total_day_time * 9 * hk_clothes_durability TUNING.STRAWHAT_PERISHTIME = total_day_time * 5 * hk_clothes_durability TUNING.EARMUFF_PERISHTIME = total_day_time * 5 * hk_clothes_durability TUNING.WINTERHAT_PERISHTIME = total_day_time * 10 * hk_clothes_durability TUNING.BEEFALOHAT_PERISHTIME = total_day_time * 10 * hk_clothes_durability TUNING.TRUNKVEST_PERISHTIME = total_day_time * 15 * hk_clothes_durability TUNING.REFLECTIVEVEST_PERISHTIME = total_day_time * 8 * hk_clothes_durability TUNING.HAWAIIANSHIRT_PERISHTIME = total_day_time * 15 * hk_clothes_durability TUNING.SWEATERVEST_PERISHTIME = total_day_time * 10 * hk_clothes_durability TUNING.HUNGERBELT_PERISHTIME = total_day_time * 8 * hk_clothes_durability TUNING.BEARGERVEST_PERISHTIME = total_day_time * 7 * hk_clothes_durability TUNING.RAINCOAT_PERISHTIME = total_day_time * 10 * hk_clothes_durability TUNING.WALRUSHAT_PERISHTIME = total_day_time * 25 * hk_clothes_durability TUNING.FEATHERHAT_PERISHTIME = total_day_time * 8 * hk_clothes_durability TUNING.TOPHAT_PERISHTIME = total_day_time * 8 * hk_clothes_durability TUNING.ICEHAT_PERISHTIME = total_day_time * 4 * hk_clothes_durability TUNING.MOLEHAT_PERISHTIME = total_day_time * 1.5 * hk_clothes_durability TUNING.RAINHAT_PERISHTIME = total_day_time * 10 * hk_clothes_durability TUNING.CATCOONHAT_PERISHTIME = total_day_time * 10 * hk_clothes_durability TUNING.GOGGLES_PERISHTIME = total_day_time * 10 * hk_clothes_durability TUNING.SEWINGKIT_REPAIR_VALUE = total_day_time * 5 * hk_clothes_durability TUNING.SEWING_TAPE_REPAIR_VALUE = total_day_time * 5 * hk_clothes_durability end -- armor uses local hk_armors_durability = GetModConfigData("hk_co_armors_durability") if hk_armors_durability == 0 then hk_armors_durability = math.huge end if hk_armors_durability ~= 1 then TUNING.ARMORGRASS = wilson_health * 1.5 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMORWOOD = wilson_health * 3 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMORMARBLE = wilson_health * 7 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMORSNURTLESHELL = wilson_health * 7 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMORRUINS = wilson_health * 12 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMORSLURPER = wilson_health * 4 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMOR_FOOTBALLHAT = wilson_health * 3 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMORDRAGONFLY = wilson_health * 9 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMOR_WATHGRITHRHAT = wilson_health * 5 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMOR_RUINSHAT = wilson_health * 8 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMOR_SLURTLEHAT = wilson_health * 5 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMOR_BEEHAT = wilson_health * 10 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMOR_SANITY = wilson_health * 5 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMOR_HIVEHAT = wilson_health * 9 * multiplayer_armor_durability_modifier * hk_armors_durability TUNING.ARMOR_SKELETONHAT = wilson_health * 9 * multiplayer_armor_durability_modifier * hk_armors_durability end -- light duration local hk_light_duration = GetModConfigData("hk_co_light_duration") if hk_light_duration ~= 1 then TUNING.TINY_FUEL = seg_time * .25 * hk_light_duration TUNING.SMALL_FUEL = seg_time * .5 * hk_light_duration TUNING.MED_FUEL = seg_time * 1.5 * hk_light_duration TUNING.MED_LARGE_FUEL = seg_time * 3 * hk_light_duration TUNING.LARGE_FUEL = seg_time * 6 * hk_light_duration TUNING.TINY_BURNTIME = seg_time * .1 * hk_light_duration TUNING.SMALL_BURNTIME = seg_time * .25 * hk_light_duration TUNING.MED_BURNTIME = seg_time * 0.5 * hk_light_duration TUNING.LARGE_BURNTIME = seg_time * hk_light_duration TUNING.CAMPFIRE_FUEL_MAX = (night_time + dusk_time) * 1.5 * hk_light_duration TUNING.CAMPFIRE_FUEL_START = (night_time + dusk_time) * .75 * hk_light_duration TUNING.COLDFIRE_FUEL_MAX = (night_time + dusk_time) * 1.5 * hk_light_duration TUNING.COLDFIRE_FUEL_START = (night_time + dusk_time) * .75 * hk_light_duration TUNING.ROCKLIGHT_FUEL_MAX = (night_time + dusk_time) * 1.5 * hk_light_duration TUNING.FIREPIT_FUEL_MAX = (night_time + dusk_time) * 2 * hk_light_duration TUNING.FIREPIT_FUEL_START = night_time + dusk_time * hk_light_duration TUNING.COLDFIREPIT_FUEL_MAX = (night_time + dusk_time) * 2 * hk_light_duration TUNING.COLDFIREPIT_FUEL_START = night_time + dusk_time * hk_light_duration TUNING.PIGTORCH_FUEL_MAX = night_time * hk_light_duration TUNING.NIGHTLIGHT_FUEL_MAX = (night_time + dusk_time) * 3 * hk_light_duration TUNING.NIGHTLIGHT_FUEL_START = (night_time + dusk_time) * hk_light_duration TUNING.TORCH_FUEL = night_time * 1.25 * hk_light_duration TUNING.MINIFAN_FUEL = day_time * 0.3 * hk_light_duration TUNING.COMPASS_FUEL = day_time * 4 * hk_light_duration TUNING.NIGHTSTICK_FUEL = night_time * 6 * hk_light_duration TUNING.LIGHTER_FUEL = total_day_time * 1.25 * hk_light_duration TUNING.MINERHAT_LIGHTTIME = (night_time + dusk_time) * 2.6 * hk_light_duration TUNING.LANTERN_LIGHTTIME = (night_time + dusk_time) * 2.6 * hk_light_duration end -- boss hp ratio local hk_boss_hp_ratio = GetModConfigData("hk_co_boss_hp_ratio") if hk_boss_hp_ratio ~= 1 then TUNING.BEARGER_HEALTH = math.ceil(3000 * 2 * hk_boss_hp_ratio) TUNING.DRAGONFLY_HEALTH = math.ceil(27500 * hk_boss_hp_ratio) TUNING.BEEQUEEN_HEALTH = math.ceil(22500 * hk_boss_hp_ratio) TUNING.TOADSTOOL_HEALTH = math.ceil(52500 * hk_boss_hp_ratio) TUNING.SPIDERQUEEN_HEALTH = math.ceil(1250 * 2 * hk_boss_hp_ratio) TUNING.DEERCLOPS_HEALTH = math.ceil(2000 * 2 * hk_boss_hp_ratio) TUNING.LEIF_HEALTH = math.ceil(2000 * 1.5 * hk_boss_hp_ratio) TUNING.KLAUS_HEALTH = math.ceil(10000 * hk_boss_hp_ratio) TUNING.MINOTAUR_HEALTH = math.ceil(2500 * 4 * hk_boss_hp_ratio) TUNING.MOOSE_HEALTH = math.ceil(3000 * 2 * hk_boss_hp_ratio) end -- chopping local hk_chopping = GetModConfigData("hk_co_chopping") if hk_chopping == 2 then TUNING.EVERGREEN_CHOPS_SMALL = 1 TUNING.EVERGREEN_CHOPS_NORMAL = 1 TUNING.EVERGREEN_CHOPS_TALL = 1 TUNING.MUSHTREE_CHOPS_SMALL = 1 TUNING.MUSHTREE_CHOPS_MEDIUM = 1 TUNING.MUSHTREE_CHOPS_TALL = 1 TUNING.DECIDUOUS_CHOPS_SMALL = 1 TUNING.DECIDUOUS_CHOPS_NORMAL = 1 TUNING.DECIDUOUS_CHOPS_TALL = 1 end if hk_chopping == 3 then TUNING.EVERGREEN_CHOPS_SMALL = 2 TUNING.EVERGREEN_CHOPS_NORMAL = 4 TUNING.EVERGREEN_CHOPS_TALL = 6 TUNING.MUSHTREE_CHOPS_SMALL = 2 TUNING.MUSHTREE_CHOPS_MEDIUM = 4 TUNING.MUSHTREE_CHOPS_TALL = 6 TUNING.DECIDUOUS_CHOPS_SMALL = 2 TUNING.DECIDUOUS_CHOPS_NORMAL = 4 TUNING.DECIDUOUS_CHOPS_TALL = 6 end -- mining local hk_mining = GetModConfigData("hk_co_mining") if hk_mining == 2 then TUNING.ICE_MINE = 1 TUNING.ROCKS_MINE = 1 TUNING.ROCKS_MINE_MED = 1 TUNING.ROCKS_MINE_LOW = 1 TUNING.MARBLEPILLAR_MINE = 1 TUNING.MARBLETREE_MINE = 1 TUNING.CAVEIN_BOULDER_MINE = 1 TUNING.PETRIFIED_TREE_SMALL = 1 TUNING.PETRIFIED_TREE_NORMAL = 1 TUNING.PETRIFIED_TREE_TALL = 1 TUNING.PETRIFIED_TREE_OLD = 1 end if hk_mining == 3 then TUNING.ICE_MINE = 2 TUNING.ROCKS_MINE = 4 TUNING.ROCKS_MINE_MED = 2 TUNING.ROCKS_MINE_LOW = 1 TUNING.MARBLEPILLAR_MINE = 7 TUNING.MARBLETREE_MINE = 5 TUNING.CAVEIN_BOULDER_MINE = 2 TUNING.PETRIFIED_TREE_SMALL = 1 TUNING.PETRIFIED_TREE_NORMAL = 1 TUNING.PETRIFIED_TREE_TALL = 2 TUNING.PETRIFIED_TREE_OLD = 1 end -- stackable animals if IsServer then local function makeAnimalStackable(inst) if inst ~= nil then if (inst.components.stackable == nil) then inst:AddComponent("stackable") end inst.components.inventoryitem:SetOnDroppedFn(function(animal) inst.components.perishable:StopPerishing() inst.sg:GoToState("stunned") if inst.components.stackable then while inst.components.stackable:StackSize() > 1 do local item = inst.components.stackable:Get() if item then if item.components.inventoryitem then item.components.inventoryitem:OnDropped() end item.Physics:Teleport(inst.Transform:GetWorldPosition()) end end end end) end end local hk_stackable_animals = GetModConfigData("hk_co_stackable_animals") if hk_stackable_animals ~= 0 then if (hk_stackable_animals % 2) == 1 then --rabbits AddPrefabPostInit("rabbit", makeAnimalStackable) end if math.floor(hk_stackable_animals / 2) % 2 == 1 then --birds AddPrefabPostInit("crow", makeAnimalStackable) AddPrefabPostInit("robin", makeAnimalStackable) AddPrefabPostInit("robin_winter", makeAnimalStackable) AddPrefabPostInit("canary", makeAnimalStackable) end if math.floor(hk_stackable_animals / 4) % 2 == 1 then --moleworms AddPrefabPostInit("mole", makeAnimalStackable) end end end ---- recipes -- monster drops local hk_recipes_monster_drops = GetModConfigData("hk_co_recipes_monster_drops") if hk_recipes_monster_drops ~= 0 then STRINGS.RECIPE_DESC.SILK = "Durable and sticky" STRINGS.RECIPE_DESC.PIGSKIN = "Dirty and tough" STRINGS.RECIPE_DESC.BEEFALOWOOL = "Smelly and warm" STRINGS.RECIPE_DESC.GEARS = "Magic and science united" STRINGS.RECIPE_DESC.COONTAIL = "Feels weird" STRINGS.RECIPE_DESC.LIVINGLOG = "You could swear it moved" STRINGS.RECIPE_DESC.TENTACLESPOTS = "Velvet soft and cool" STRINGS.RECIPE_DESC.BUTTER = "Colorful block of fat" STRINGS.RECIPE_DESC.HORN = "Spiral beefalo hord" if hk_recipes_monster_drops == 1 then AddRecipe("silk", {Ingredient("spidergland", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("pigskin", {Ingredient("meat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("beefalowool", {Ingredient("meat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("gears", {Ingredient("transistor", 1)}, RECIPETABS.SCIENCE, TECH.SCIENCE_ONE) AddRecipe("coontail", {Ingredient("meat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("livinglog", {Ingredient("nightmarefuel", 1), Ingredient("log", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("tentaclespots", {Ingredient("nightmarefuel", 1), Ingredient("monstermeat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("butter", {Ingredient("butterflywings", 4)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("horn", {Ingredient("meat", 1), Ingredient("boneshard", 4)}, RECIPETABS.DRESS, TECH.SCIENCE_ONE) end if hk_recipes_monster_drops == 2 then AddRecipe("silk", {Ingredient("monstermeat", 1), Ingredient("spidergland", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("pigskin", {Ingredient("meat", 1), Ingredient("monstermeat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("beefalowool", {Ingredient("meat", 1), Ingredient("cutgrass", 2)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("gears", {Ingredient("nightmarefuel", 1), Ingredient("transistor", 1)}, RECIPETABS.SCIENCE, TECH.SCIENCE_TWO) AddRecipe("coontail", {Ingredient("nightmarefuel", 1), Ingredient("meat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("livinglog", {Ingredient("nightmarefuel", 1), Ingredient("log", 4)}, RECIPETABS.REFINE, TECH.MAGIC_TWO) AddRecipe("tentaclespots", {Ingredient("nightmarefuel", 1), Ingredient("monstermeat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("butter", {Ingredient("butterflywings", 8)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("horn", {Ingredient("nightmarefuel", 1), Ingredient("meat", 1), Ingredient("boneshard", 4)}, RECIPETABS.DRESS, TECH.SCIENCE_TWO) end if hk_recipes_monster_drops == 3 then AddRecipe("silk", {Ingredient("nightmarefuel", 1), Ingredient("monstermeat", 1), Ingredient("spidergland", 1)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("pigskin", {Ingredient("nightmarefuel", 1), Ingredient("meat", 1), Ingredient("monstermeat", 1)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("beefalowool", {Ingredient("nightmarefuel", 1), Ingredient("meat", 1), Ingredient("cutgrass", 2)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("gears", {Ingredient("nightmarefuel", 2), Ingredient("transistor", 1)}, RECIPETABS.SCIENCE, TECH.MAGIC_ONE) AddRecipe("coontail", {Ingredient("nightmarefuel", 2), Ingredient("meat", 1)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("livinglog", {Ingredient("nightmarefuel", 2), Ingredient("log", 8)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("tentaclespots", {Ingredient("nightmarefuel", 2), Ingredient("monstermeat", 1)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("butter", {Ingredient("nightmarefuel", 1), Ingredient("butterflywings", 8)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("horn", {Ingredient("nightmarefuel", 1), Ingredient("meat", 1), Ingredient("boneshard", 4)}, RECIPETABS.DRESS, TECH.MAGIC_ONE) end end -- plants local hk_recipes_plants = GetModConfigData("hk_co_recipes_plants") if hk_recipes_plants ~= 0 then STRINGS.RECIPE_DESC.DUG_SAPLING = "Small sapling" STRINGS.RECIPE_DESC.DUG_GRASS = "Small grass tuft" STRINGS.RECIPE_DESC.DUG_BERRYBUSH = "Berry bush sapling" STRINGS.RECIPE_DESC.DUG_BERRYBUSH2 = "Fancy berry bush sapling" STRINGS.RECIPE_DESC.DUG_BERRYBUSH_JUICY = "Fancy berry bush sapling" if hk_recipes_plants == 1 then AddRecipe("dug_sapling", {Ingredient("twigs", 3), Ingredient("spoiled_food", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("dug_grass", {Ingredient("cutgrass", 3), Ingredient("spoiled_food", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("dug_berrybush", {Ingredient("berries", 3), Ingredient("spoiled_food", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("dug_berrybush2", {Ingredient("berries", 3), Ingredient("spoiled_food", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("dug_berrybush_juicy", {Ingredient("berries_juicy", 3), Ingredient("spoiled_food", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) end if hk_recipes_plants == 2 then AddRecipe("dug_sapling", {Ingredient("twigs", 5), Ingredient("poop", 1)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("dug_grass", {Ingredient("cutgrass", 5), Ingredient("poop", 1)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("dug_berrybush", {Ingredient("berries", 5), Ingredient("poop", 1)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("dug_berrybush2", {Ingredient("berries", 5), Ingredient("poop", 1)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("dug_berrybush_juicy", {Ingredient("berries_juicy", 5), Ingredient("poop", 1)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) end if hk_recipes_plants == 3 then AddRecipe("dug_sapling", {Ingredient("nightmarefuel", 1), Ingredient("twigs", 5), Ingredient("poop", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("dug_grass", {Ingredient("nightmarefuel", 1), Ingredient("cutgrass", 5), Ingredient("poop", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("dug_berrybush", {Ingredient("nightmarefuel", 1), Ingredient("berries", 5), Ingredient("poop", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("dug_berrybush2", {Ingredient("nightmarefuel", 1), Ingredient("berries", 5), Ingredient("poop", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("dug_berrybush_juicy", {Ingredient("nightmarefuel", 1), Ingredient("berries_juicy", 5), Ingredient("poop", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) end end -- animals local hk_recipes_animals = GetModConfigData("hk_co_recipes_animals") if hk_recipes_animals ~= 0 then STRINGS.RECIPE_DESC.RABBIT = "Rabbits with antennaes?" STRINGS.RECIPE_DESC.MOLE = "It's ugly and keeps moving" STRINGS.RECIPE_DESC.BEE = "Sting like hornets" STRINGS.RECIPE_DESC.CROW = "Omen of death..." STRINGS.RECIPE_DESC.ROBIN = "Keeps trying to break free and fly away" STRINGS.RECIPE_DESC.ROBIN_WINTER = "Pecks and hits with wings" if hk_recipes_animals == 1 then AddRecipe("rabbit", {Ingredient("smallmeat", 1), Ingredient("cutgrass", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("mole", {Ingredient("smallmeat", 1), Ingredient("rocks", 2), Ingredient("flint", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("bee", {Ingredient("honey", 1), Ingredient("stinger", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("crow", {Ingredient("smallmeat", 1), Ingredient("feather_crow", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("robin", {Ingredient("smallmeat", 1), Ingredient("feather_robin", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("robin_winter", {Ingredient("smallmeat", 1), Ingredient("feather_robin_winter", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("canary", {Ingredient("smallmeat", 1), Ingredient("feather_canary", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) end if hk_recipes_animals == 2 then AddRecipe("rabbit", {Ingredient("smallmeat", 1), Ingredient("cutgrass", 4)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("mole", {Ingredient("smallmeat", 2), Ingredient("rocks", 4), Ingredient("flint", 2)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("bee", {Ingredient("honey", 1), Ingredient("stinger", 2)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("crow", {Ingredient("smallmeat", 1), Ingredient("feather_crow", 2)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("robin", {Ingredient("smallmeat", 1), Ingredient("feather_robin", 2)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("robin_winter", {Ingredient("smallmeat", 1), Ingredient("feather_robin_winter", 2)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) AddRecipe("canary", {Ingredient("smallmeat", 1), Ingredient("feather_canary", 2)}, RECIPETABS.FARM, TECH.SCIENCE_TWO) end if hk_recipes_animals == 3 then AddRecipe("rabbit", {Ingredient("nightmarefuel", 1), Ingredient("smallmeat", 2), Ingredient("cutgrass", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("mole", {Ingredient("nightmarefuel", 1), Ingredient("smallmeat", 4), Ingredient("rocks", 4), Ingredient("flint", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("bee", {Ingredient("nightmarefuel", 1), Ingredient("honey", 2), Ingredient("stinger", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("crow", {Ingredient("nightmarefuel", 1), Ingredient("smallmeat", 2), Ingredient("feather_crow", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("robin", {Ingredient("nightmarefuel", 1), Ingredient("smallmeat", 2), Ingredient("feather_robin", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("robin_winter", {Ingredient("nightmarefuel", 1), Ingredient("smallmeat", 2), Ingredient("feather_robin_winter", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) AddRecipe("canary", {Ingredient("nightmarefuel", 1), Ingredient("smallmeat", 2), Ingredient("feather_canary", 2)}, RECIPETABS.FARM, TECH.MAGIC_ONE) end end -- common local hk_recipes_common = GetModConfigData("hk_co_recipes_common") if hk_recipes_common ~= 0 then STRINGS.RECIPE_DESC.BONESHARD = "Call the aid" STRINGS.RECIPE_DESC.HOUNDSTOOTH = "The hunt continues" STRINGS.RECIPE_DESC.HONEYCOMB = "Bees approve of this" STRINGS.RECIPE_DESC.MARBLE = "Totally not a hoax" STRINGS.RECIPE_DESC.LIGHTBULB = "Sorcery" STRINGS.RECIPE_DESC.FIREFLIES = "Light please" if hk_recipes_common == 1 then AddRecipe("feather_crow", {Ingredient("seeds", 3), Ingredient("boneshard", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_robin", {Ingredient("seeds", 3), Ingredient("boneshard", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_robin_winter", {Ingredient("seeds", 3), Ingredient("boneshard", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_canary", {Ingredient("seeds", 3), Ingredient("boneshard", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("boneshard", {Ingredient("smallmeat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("houndstooth", {Ingredient("boneshard", 1), Ingredient("smallmeat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("honeycomb", {Ingredient("twigs", 4), Ingredient("honey", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("marble", {Ingredient("rocks", 3)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("lightbulb", {Ingredient("torch", 1), Ingredient("cutgrass", 1)}, RECIPETABS.LIGHT, TECH.SCIENCE_ONE) AddRecipe("fireflies", {Ingredient("lightbulb", 2)}, RECIPETABS.LIGHT, TECH.SCIENCE_ONE) end if hk_recipes_common == 2 then AddRecipe("feather_crow", {Ingredient("seeds", 3), Ingredient("boneshard", 2), Ingredient("smallmeat", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_robin", {Ingredient("seeds", 3), Ingredient("boneshard", 2), Ingredient("charcoal", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_robin_winter", {Ingredient("seeds", 3), Ingredient("boneshard", 2), Ingredient("ice", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_canary", {Ingredient("seeds", 3), Ingredient("boneshard", 2), Ingredient("goldnugget", 2)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("boneshard", {Ingredient("monstermeat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("houndstooth", {Ingredient("boneshard", 3), Ingredient("monstermeat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("honeycomb", {Ingredient("log", 4), Ingredient("honey", 2)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("marble", {Ingredient("cutstone", 1), Ingredient("flint", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("lightbulb", {Ingredient("torch", 1), Ingredient("log", 1)}, RECIPETABS.LIGHT, TECH.SCIENCE_TWO) AddRecipe("fireflies", {Ingredient("torch", 1), Ingredient("lightbulb", 4)}, RECIPETABS.LIGHT, TECH.SCIENCE_TWO) end if hk_recipes_common == 3 then AddRecipe("feather_crow", {Ingredient("seeds", 3), Ingredient("boneshard", 3), Ingredient("nightmarefuel", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_robin", {Ingredient("seeds", 3), Ingredient("boneshard", 3), Ingredient("redgem", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_robin_winter", {Ingredient("seeds", 3), Ingredient("boneshard", 3), Ingredient("bluegem", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("feather_canary", {Ingredient("seeds", 3), Ingredient("boneshard", 3), Ingredient("yellowgem", 1)}, RECIPETABS.FARM, TECH.SCIENCE_ONE) AddRecipe("boneshard", {Ingredient("meat", 1)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("houndstooth", {Ingredient("boneshard", 5), Ingredient("meat", 1)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("honeycomb", {Ingredient("boards", 4), Ingredient("honey", 4)}, RECIPETABS.REFINE, TECH.MAGIC_TWO) AddRecipe("marble", {Ingredient("cutstone", 2)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("lightbulb", {Ingredient("torch", 1), Ingredient("livinglog", 1)}, RECIPETABS.LIGHT, TECH.MAGIC_ONE) AddRecipe("fireflies", {Ingredient("nightmarefuel", 1), Ingredient("lightbulb", 8)}, RECIPETABS.LIGHT, TECH.MAGIC_ONE) end end -- spawners local hk_recipes_spawners = GetModConfigData("hk_co_recipes_spawners") if hk_recipes_spawners ~= 0 then if hk_recipes_spawners == 1 then AddRecipe("lureplantbulb", {Ingredient("smallmeat", 1)}, RECIPETABS.REFINE, TECH.SCIENCE_ONE) AddRecipe("spidereggsack", {Ingredient("silk", 3), Ingredient("spidergland", 2), Ingredient("monstermeat", 1)}, RECIPETABS.TOWN, TECH.SCIENCE_ONE) end if hk_recipes_spawners == 2 then AddRecipe("lureplantbulb", {Ingredient("monstermeat", 3)}, RECIPETABS.REFINE, TECH.SCIENCE_TWO) AddRecipe("spidereggsack", {Ingredient("silk", 6), Ingredient("spidergland", 4), Ingredient("monstermeat", 5)}, RECIPETABS.TOWN, TECH.SCIENCE_TWO) end if hk_recipes_spawners == 3 then AddRecipe("lureplantbulb", {Ingredient("nightmarefuel", 1), Ingredient("meat", 1)}, RECIPETABS.REFINE, TECH.MAGIC_ONE) AddRecipe("spidereggsack", {Ingredient("silk", 9), Ingredient("spidergland", 8), Ingredient("monstermeat", 10)}, RECIPETABS.TOWN, TECH.MAGIC_ONE) end end -- rares local hk_recipes_rares = GetModConfigData("hk_co_recipes_rares") if hk_recipes_rares ~= 0 then STRINGS.RECIPE_DESC.MANDRAKE = "Those used to kill with voice" STRINGS.RECIPE_DESC.KRAMPUS_SACK = "To avoid hours of paintrain" if hk_recipes_rares == 1 then AddRecipe("mandrake", {Ingredient("papyrus", 2), Ingredient("livinglog", 1)}, RECIPETABS.MAGIC, TECH.SCIENCE_TWO) AddRecipe("krampus_sack", {Ingredient("papyrus", 4), Ingredient("gears", 2)}, RECIPETABS.SURVIVAL, TECH.SCIENCE_TWO) AddRecipe("spiderhat", {Ingredient("silk", 2), Ingredient("monstermeat", 5)}, RECIPETABS.DRESS, TECH.SCIENCE_TWO) AddRecipe("walrus_tusk", {Ingredient("meat", 2), Ingredient("walrushat", 1)}, RECIPETABS.DRESS, TECH.SCIENCE_TWO) AddRecipe("walrushat", {Ingredient("silk", 5), Ingredient("fish", 3)}, RECIPETABS.DRESS, TECH.SCIENCE_TWO) end if kh_recipes_rares == 2 then AddRecipe("mandrake", {Ingredient("nightmarefuel", 2), Ingredient("livinglog", 1)}, RECIPETABS.MAGIC, TECH.MAGIC_ONE) AddRecipe("krampus_sack", {Ingredient("nightmarefuel", 3), Ingredient("papyrus", 6), Ingredient("gears", 2)}, RECIPETABS.SURVIVAL, TECH.MAGIC_ONE) AddRecipe("spiderhat", {Ingredient("silk", 6), Ingredient("monstermeat", 5)}, RECIPETABS.DRESS, TECH.MAGIC_ONE) AddRecipe("walrus_tusk", {Ingredient("meat", 10), Ingredient("walrushat", 1)}, RECIPETABS.DRESS, TECH.MAGIC_ONE) AddRecipe("walrushat", {Ingredient("meat", 2), Ingredient("silk", 8), Ingredient("fish", 5)}, RECIPETABS.DRESS, TECH.MAGIC_ONE) end if hk_recipes_rares == 3 then AddRecipe("mandrake", {Ingredient("nightmarefuel", 2), Ingredient("livinglog", 1)}, RECIPETABS.MAGIC, TECH.MAGIC_TWO) AddRecipe("krampus_sack", {Ingredient("nightmarefuel", 9), Ingredient("papyrus", 8), Ingredient("gears", 4)}, RECIPETABS.SURVIVAL, TECH.MAGIC_TWO) AddRecipe("spiderhat", {Ingredient("silk", 12), Ingredient("monstermeat", 5)}, RECIPETABS.DRESS, TECH.MAGIC_TWO) AddRecipe("walrus_tusk", {Ingredient("meat", 20), Ingredient("walrushat", 1)}, RECIPETABS.DRESS, TECH.MAGIC_TWO) AddRecipe("walrushat", {Ingredient("nightmarefuel", 2), Ingredient("silk", 12), Ingredient("fish", 7)}, RECIPETABS.DRESS, TECH.MAGIC_TWO) end end -- combat local hk_recipes_combat = GetModConfigData("hk_co_recipes_combat") if hk_recipes_combat ~= 0 then STRINGS.RECIPE_DESC.TENTACLESPIKE = "Do not swallow" if hk_recipes_combat == 1 then AddRecipe("wathgrithrhat", {Ingredient("goldnugget", 1), Ingredient("cutstone", 1)}, RECIPETABS.WAR, TECH.SCIENCE_ONE) AddRecipe("spear_wathgrithr", {Ingredient("flint", 3), Ingredient("rope", 1), Ingredient("goldnugget", 1)}, RECIPETABS.WAR, TECH.SCIENCE_ONE) AddRecipe("tentaclespike", {Ingredient("log", 1), Ingredient("stinger", 3), Ingredient("monstermeat", 1)}, RECIPETABS.WAR, TECH.SCIENCE_ONE) end if hk_recipes_combat == 2 then AddRecipe("wathgrithrhat", {Ingredient("goldnugget", 5), Ingredient("cutstone", 3)}, RECIPETABS.WAR, TECH.SCIENCE_TWO) AddRecipe("spear_wathgrithr", {Ingredient("flint", 4), Ingredient("rope", 2), Ingredient("goldnugget", 2)}, RECIPETABS.WAR, TECH.SCIENCE_TWO) AddRecipe("tentaclespike", {Ingredient("boards", 1), Ingredient("stinger", 3), Ingredient("monstermeat", 2)}, RECIPETABS.WAR, TECH.SCIENCE_TWO) end if hk_recipes_combat == 3 then AddRecipe("wathgrithrhat", {Ingredient("goldnugget", 1), Ingredient("cutstone", 1)}, RECIPETABS.WAR, TECH.MAGIC_ONE) AddRecipe("spear_wathgrithr", {Ingredient("flint", 5), Ingredient("rope", 3), Ingredient("goldnugget", 1)}, RECIPETABS.WAR, TECH.MAGIC_ONE) AddRecipe("tentaclespike", {Ingredient("livinglog", 1), Ingredient("stinger", 3), Ingredient("monstermeat", 3)}, RECIPETABS.WAR, TECH.MAGIC_ONE) end end -- caves local hk_recipes_caves = GetModConfigData("hk_co_recipes_caves") if hk_recipes_caves ~= 0 then STRINGS.RECIPE_DESC.THULECITE = "Feels cold and greasy" STRINGS.RECIPE_DESC.SLURPER_PELT = "It reeks of dead things" STRINGS.RECIPE_DESC.MANRABBIT_TAIL = "Create your own legion of Bunnyman" if hk_recipes_caves == 1 then AddRecipe("thulecite", {Ingredient("nightmarefuel", 1), Ingredient("goldnugget", 1)}, RECIPETABS.MAGIC, TECH.MAGIC_ONE) AddRecipe("slurper_pelt", {Ingredient("nightmarefuel", 1), Ingredient("monstermeat_dried", 1)}, RECIPETABS.MAGIC, TECH.MAGIC_ONE) AddRecipe("manrabbit_tail", {Ingredient("nightmarefuel", 1), Ingredient("rabbit", 1)}, RECIPETABS.MAGIC, TECH.MAGIC_ONE) end if hk_recipes_caves == 2 then AddRecipe("thulecite", {Ingredient("nightmarefuel", 5), Ingredient("goldnugget", 1), Ingredient("cutstone", 1)}, RECIPETABS.MAGIC, TECH.MAGIC_TWO) AddRecipe("slurper_pelt", {Ingredient("nightmarefuel", 1), Ingredient("monstermeat_dried", 3)}, RECIPETABS.MAGIC, TECH.MAGIC_TWO) AddRecipe("manrabbit_tail", {Ingredient("nightmarefuel", 1), Ingredient("rabbit", 3)}, RECIPETABS.MAGIC, TECH.MAGIC_TWO) end if hk_recipes_caves == 3 then AddRecipe("thulecite", {Ingredient("nightmarefuel", 10), Ingredient("goldnugget", 5), Ingredient("cutstone", 5)}, RECIPETABS.MAGIC, TECH.MAGIC_TWO) AddRecipe("slurper_pelt", {Ingredient("nightmarefuel", 5), Ingredient("monstermeat_dried", 5)}, RECIPETABS.MAGIC, TECH.MAGIC_TWO) AddRecipe("manrabbit_tail", {Ingredient("nightmarefuel", 5), Ingredient("rabbit", 5)}, RECIPETABS.MAGIC, TECH.MAGIC_TWO) end end -- chesspieces local hk_recipes_chess = GetModConfigData("hk_co_recipes_chess") if hk_recipes_chess ~= 0 then STRINGS.RECIPE_DESC.CHESSPIECE_ROOK_SKETCH = "Rook Figure sketch" STRINGS.RECIPE_DESC.CHESSPIECE_KNIGHT_SKETCH = "Knight Figure sketch" STRINGS.RECIPE_DESC.CHESSPIECE_BISHOP_SKETCH = "Bishop Figure sketch" STRINGS.RECIPE_DESC.CHESSPIECE_FORMAL_SKETCH = "Kingly Figure sketch" STRINGS.RECIPE_DESC.CHESSPIECE_MUSE_SKETCH = "Queenly Figure sketch" STRINGS.RECIPE_DESC.CHESSPIECE_PAWN_SKETCH = "Pawn Figure sketch" if hk_recipes_chess == 1 then AddRecipe("chesspiece_rook_sketch", {Ingredient("papyrus", 1), Ingredient("charcoal", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_knight_sketch", {Ingredient("papyrus", 1), Ingredient("charcoal", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_bishop_sketch", {Ingredient("papyrus", 1), Ingredient("charcoal", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_formal_sketch", {Ingredient("papyrus", 1), Ingredient("charcoal", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_muse_sketch", {Ingredient("papyrus", 1), Ingredient("charcoal", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_pawn_sketch", {Ingredient("papyrus", 1), Ingredient("charcoal", 1)}, RECIPETABS.SCULPTING, TECH.LOST) end if hk_recipes_chess == 2 then AddRecipe("chesspiece_rook_sketch", {Ingredient("nightmarefuel", 1), Ingredient("papyrus", 2), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_knight_sketch", {Ingredient("nightmarefuel", 1), Ingredient("papyrus", 2), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_bishop_sketch", {Ingredient("nightmarefuel", 1), Ingredient("papyrus", 2), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_formal_sketch", {Ingredient("nightmarefuel", 1), Ingredient("papyrus", 2), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_muse_sketch", {Ingredient("nightmarefuel", 1), Ingredient("papyrus", 2), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_pawn_sketch", {Ingredient("nightmarefuel", 1), Ingredient("papyrus", 2), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) end if hk_recipes_chess == 3 then AddRecipe("chesspiece_rook_sketch", {Ingredient("nightmarefuel", 3),Ingredient("papyrus", 3), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_knight_sketch", {Ingredient("nightmarefuel", 3),Ingredient("papyrus", 3), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_bishop_sketch", {Ingredient("nightmarefuel", 3),Ingredient("papyrus", 3), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_formal_sketch", {Ingredient("nightmarefuel", 3),Ingredient("papyrus", 3), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_muse_sketch", {Ingredient("nightmarefuel", 3),Ingredient("papyrus", 3), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) AddRecipe("chesspiece_pawn_sketch", {Ingredient("nightmarefuel", 3),Ingredient("papyrus", 3), Ingredient("featherpencil", 1)}, RECIPETABS.SCULPTING, TECH.LOST) end end