@@ -28,28 +20,13 @@ public class MxValheimMod : BaseUnityPlugin
voidAwake()
{
Config_Locked=BindSyncConfig("General","Lock Configuration",true,"If obsession is on, only admins can change settings.");
configSync.AddLockingConfigEntry(Config_Locked);
Config_OreMultiplier=BindSyncConfig("General","OreMultiplier",3,"How many items should drop for every 1 ore/scrap found.");
Config_rangeMultiplier=BindSyncConfig("General","CraftingRangeMultiplier",2.0f,"Multiplier for the workbench build/crafting range. Default is 2x.");
Config_bowDrawSpeedBonusPerLevel=BindSyncConfig("General","BowDrawSpeedBonusPercentPerLevel",1.0f,"Shorten the bow draw speed by this percent for every bow upgrade level.");
Config_rainDamage=BindSyncConfig("General","RainDamage",true,"Set to true to stop rain damage, false to return to vanilla behavior.");
Config_boatSpeed=BindSyncConfig("General","BoatSpeedMultiplier",2.0f,"Your boat/raft will move without wind at a speed multiplied by this value.");
Config_OreMultiplier=Config.Bind("General","OreMultiplier",3,"How many items should drop for every 1 ore/scrap found.");
Config_rangeMultiplier=Config.Bind("General","CraftingRangeMultiplier",2.0f,"Multiplier for the workbench build/crafting range. Default is 2x.");
Config_bowDrawSpeedBonusPerLevel=Config.Bind("General","BowDrawSpeedBonusPercentPerLevel",1.0f,"Shorten the bow draw speed by this percent for every bow upgrade level.");
Config_rainDamage=Config.Bind("General","RainDamage",true,"Set to true to stop rain damage, false to return to vanilla behavior.");
Config_boatSpeed=Config.Bind("General","BoatSpeedMultiplier",2.0f,"Your boat/raft will move without wind at a speed multiplied by this value.");
Harmonyharmony=newHarmony(ModGUID);
harmony.PatchAll();
}
/// <summary>
/// Helper method to bind a config and register it for server syncing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.