Request for Updated Namespaces & Classes for Villager Relocation Mod

Crate Entertainment Team,

I hope you’re doing well. First, please accept my apologies for this long message—I’ve been working for days to get my mods running smoothly and was thrilled with the earlier versions I created, which ran successfully. Unfortunately, I’m now encountering several challenges.

I’m new to mod development (this is my very first mod) and I’m building a villager relocation mod for Farthest Frontier (Mono branch, v0.9.7-mono). My main goals are:

  1. Real Distance + d²: Use the squared real distance when calculating proximity to strongly favor jobs that are very close to a villager’s home.
  2. Proximity-Based Reassignment: Automatically reassign villagers to the nearest work site based on their residence.
  3. Winter Prioritization: Prioritize firewood production during winter and disable work sites that cannot operate in cold conditions.
  4. Wagon Algorithm: Prevent wagons from remaining idle, especially when two wagons are both idle.
  5. Vocation & Efficiency Buffer:
  • The efficiency buffer should start only when a villager begins a job.
  • From age 30 onward, each year of continuous experience in the same profession grants +0.5% efficiency, up to a maximum of +10%.
  • Villagers should not be able to reach the full +10% buffer before turning 30 years old.
  • If a villager is assigned to a job outside their vocation, their happiness should decrease.
  • There should be a small chance for a villager to switch vocation to the job they are performing.
  • When a villager reaches the maximum efficiency buffer (buff + vocation bonus), trigger a slow-motion visual effect for that individual.
  1. Aging & Health:
  • From age 60, efficiency decreases by −1% per year.
  • From age 70, efficiency decreases by −2% per year.
  • The probability of illness should increase as villagers age.
  1. Enhanced Enemy Combat AI:
  • Enemy troops should defend catapult flanks aggressively.
  • Enemy cavalry should avoid acting as the frontline; instead, they disperse to attack vulnerable points.
  1. Tree Logging Varieties:
  • Log different tree types with distinct properties (some optimal for firewood, others ideal for planks).

Could you please confirm whether any of the namespaces or classes in the Mono-branch Assembly-CSharp.dll have changed recently? In particular, I need the current names and namespaces for:

  • WorldManager or GameManager
  • Villager or VillagerAI
  • JobSite , WorkSite , or equivalent
  • Classes related to Cart , Inventory , and SeasonManager
  • The struct or property for Position (e.g., Vector3 ) and any AssignJobSite (or equivalent) methods

If there are additional types, enums, or helper classes relevant to these features, I would greatly appreciate those details as well.

Thank you very much for your time and patience. I understand this is a significant request, and if sharing everything is not possible, I completely understand and remain grateful for all the hard work you’ve put into the game.
Marcos Nascimento

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.