TownTopia Additions 0.8.4
Curse Maven Snippet
What's new
Changed
- Iron golems spawn outside. Village golems no longer appear inside houses. They're summoned on open ground with sky above: on grass or dirt first, then any other open ground nearby, then a little further out. If there's nowhere outside, no golem spawns that time.
New
- Village supplies. Wandering Traders and TownTopia's visiting Merchants now also sell supplies for your village's own emeralds (the green-named ones), to make up shortages in the mid to late game. Sneak + right-click a trader inside your village with an empty hand: a normal trading screen opens. A Novice trader brings 6 lots of food and farm supplies (crops, seeds, bone meal, bread, eggs...). Buying levels the trader up like a vanilla villager (Novice to Master, with the progress bar): each level brings 3 more lots, from meat, fish and cooking ingredients, through the jobs' everyday materials (coal, logs, leather, string, feathers, paper, books), metals, lapis and arrows, up to diamonds and golden food, and 5% off everything per level. Each lot can be bought 4 times from that trader, and only things TownTopia's villagers actually use are sold. What you buy goes straight into the village's Storage, marked as the village's so its workers can use it. Prices follow TownTopia's own market prices: by default a lot costs twice what the Merchant pays the village for the same items. Villages can also let their Tradesman do the buying (
/village supplies tradesman on, owner or officer; off until you turn it on): it then takes emeralds from Storage, walks to the trader, buys random lots it can afford, keeping the last 32 emeralds, and carries them into Storage. TownTopia's own selling still comes first./village supplies(also in the Village Menu) shows what each trader in the village sells. - Rally Horn. Craft any goat horn with a bell (operators:
/village rallyhorn [player]) and blow it inside your own village (owner, officer or friend): every Guard, Captain, Archer, Mage and Cleric there drops what it's doing, even off shift or asleep, and comes to your side, fighting anything around you, for 2 minutes. Blow it again to keep them with you. Archers leave their lookout, Clerics go on call and still heal first. It's a goat horn with its own name, so players don't need anything installed. - All soldiers collect monster loot. TownTopia tags the arrows, string and bones dropped by monsters the village's defenders kill, but only Archers ever collected them. Guards, Captains, Mages and Clerics now collect them too, using the Archers' own routine, within 20 blocks, then into Storage. Guards, Captains and Mages collect as soon as no monster is within 8 blocks (even right after a fight); Clerics only during their quiet rounds, once the danger has passed, never while healing.
- Wandering animals brought in. Loose cows, sheep, pigs and chickens inside the village's borders and near its buildings (16 blocks from a building's door) are led into a Ranch's pen by a Rancher, the same way TownTopia brings back animals that got out. Only kinds a Ranch already keeps, and only while its pen has room. Animals further out are left alone, so the Rancher doesn't run off into the forest after them. Babies and players' animals (named, saddled or tamed) are left alone too.
Fixed
- Sugar cane on dirt or grass is harvested. TownTopia's Farmers only cut cane standing on sand, so cane growing on dirt or grass in a Farm's field was ignored. They now cut cane on any block cane grows on (sand, dirt, grass, podzol, mud, moss...). Only cane in a Farm's own field counts, so Farmers never go after wild cane outside the village, and new cane is still only planted on sand.
- Archers restock first. An Archer with a bow and no arrows at all now drops what it's doing (even a fight or a Rally Horn call) and restocks from Storage, or fletches, before anything else, retrying every 5 seconds. Before, TownTopia only restocked when there was nothing to fight, so Archers ran around with empty quivers all night.
- Storage sorting works. The idle Builder and children skip chests nobody can reach (one such chest used to stop all sorting), and chests without settings now get grouped: each item category gathers in the chest that already holds the most of it. Villagers note what they sorted in their diary.
- Cooks stuck opening and closing Storage chests. TownTopia hands every villager a 16-item packed lunch and picks a Cook's own dishes for it, but then makes the Cook deliver its dishes, so the Cook put its lunch back, was given it again, and so on, every few seconds (and ate raw potatoes instead). Cooks now keep up to 16 of their own dishes as lunch, like everyone else's food; anything above that is delivered as before.
- Cooks giving up on an ingredient they can't get. A Cook only plans to fetch an ingredient that's in a Storage chest it can actually reach and take from (not one it has just failed to reach, stock that's reserved, or something its pack has no room for), instead of failing at once and starting over.
- Blacksmiths that never make armour. The Blacksmith starts each session by recycling old tools left in Storage; when that tool was in a chest it couldn't reach, it failed, threw the whole plan away and tried the same tool again all day, so no swords or armour got made. It now only plans to recycle old tools it can reach.
New config: [cook_fixes] (enabled), covering the three fixes; [soldier_loot] (enabled); [wandering_animals] (enabled, near_buildings 16); [rally_horn] (enabled, minutes 2); [archer_restock] (enabled); sort_group_by_category in [idle_builder]; [supplies] (enabled, lots, price_percent 200, lots_first_level 6, lots_per_level 3, discount_per_level 5, xp_per_emerald 2, uses_per_lot 4, tradesman_allowed, tradesman_keep_emeralds 32, tradesman_lots_per_trader 3); [sugar_cane] (any_soil).
This mod has no additional files