31
Mod Releases / Cethegus sledwagon reborn
« on: July 24, 2020, 05:55:23 AM »
Hauling logs around is such a pain when you're building a cabin. I put together a retooled version of Cethegus's sledwagon from the old forum, so now it uses a loading mechanism inspired by Privateer's quiver mod.
Due to the nature of single-product crafting recipes, unloading cargo would destroy the sledwagon in the original mod. Privateer's quiver mod temporarily turns arrows into fish so they can be put into a container. Normally, items placed in a container cannot be recovered from the inventory, so another crafting recipe is needed to produce items by weight from the container's contents.
I applied the same concept to the sledwagon, effectively making it a glorified tub instead of a boat. Its standalone weight is 25 lbs (which seems to be the maximum property for the base object). Since logs are generally too heavy to lift, the recipe for loading cargo converts logs into a token 5% of the original weight (from 400 to 20 lbs). I've set the sledwagon's carrying capacity to 240 lbs which should be enough to return 2 walls' worth of logs. If your bull is capable of carrying a 500-pound tree trunk, this mod will let you load it up with cargo worth at least 24 logs at a time, which is ridiculously overpowered but convenient when you're committed to clearcutting a map tile for a farm. Be kind to your beasts of burden and spread the load if you can. Also, feel free to adjust the weights to your liking.
Unloading has a 1-minute preparation time to put logs on the ground. You must be able to lift the sledwagon in order to unload logs. I recommend reducing the container capacity and maximum batch/patch count if your character has a low encumbrance threshold.
I've provided alternate sprites for the sledwagon you can use depending on the season: skis for winter and wheels for summer. Changing the TILEGFX parameter from sledge to sledge1 will make stacking look a bit wonky since they'll be considered distinct enough to separate, so I recommend simply swapping the file name in your truetile folder.
Copy to DIY file:
Due to the nature of single-product crafting recipes, unloading cargo would destroy the sledwagon in the original mod. Privateer's quiver mod temporarily turns arrows into fish so they can be put into a container. Normally, items placed in a container cannot be recovered from the inventory, so another crafting recipe is needed to produce items by weight from the container's contents.
I applied the same concept to the sledwagon, effectively making it a glorified tub instead of a boat. Its standalone weight is 25 lbs (which seems to be the maximum property for the base object). Since logs are generally too heavy to lift, the recipe for loading cargo converts logs into a token 5% of the original weight (from 400 to 20 lbs). I've set the sledwagon's carrying capacity to 240 lbs which should be enough to return 2 walls' worth of logs. If your bull is capable of carrying a 500-pound tree trunk, this mod will let you load it up with cargo worth at least 24 logs at a time, which is ridiculously overpowered but convenient when you're committed to clearcutting a map tile for a farm. Be kind to your beasts of burden and spread the load if you can. Also, feel free to adjust the weights to your liking.
Unloading has a 1-minute preparation time to put logs on the ground. You must be able to lift the sledwagon in order to unload logs. I recommend reducing the container capacity and maximum batch/patch count if your character has a low encumbrance threshold.
I've provided alternate sprites for the sledwagon you can use depending on the season: skis for winter and wheels for summer. Changing the TILEGFX parameter from sledge to sledge1 will make stacking look a bit wonky since they'll be considered distinct enough to separate, so I recommend simply swapping the file name in your truetile folder.
Copy to DIY file:
Code: [Select]
[SUBMENU_START:transport]
.Sledwagon. "Wooden tub" *TIMBERCRAFT* /1h/ [effort:3] [phys:arms,stance] [assist:3] |-2| [noquality]
{Board} (8) [remove] [ground] '+for frame and skis'
{Block of wood} (4) [remove] [ground] [optional] '+for summertime wheels'
{Axe} <Carving axe> '+for shaping'
{Rope} =150= [remove] +'for securing loads'
[WEIGHT:25]
[CONT_CAPACITY:240]
[TILEGFX:sledge]
.Load cargo. "Roach" *COMMON* /10/ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon*} [ground] 'stand near sledwagon'
{Log} [remove] [ground] [patchwise] [name:%s cargo] [naming:original]
[TILEGFX:log]
[MATERIAL:wood]
[SPOILAGE_DAYS:0]
[WEIGHT:20]
.Unload logs. "Log" *COMMON* /5/ \1\ [patch:12] [effort:3] [phys:arms,stance] [assist:3] [noquality]
{Sledwagon of log cargo} #20# [remove] [patchwise]
[NAME:Log]
[SUBMENU_END:transport]