Ludeon Forums

RimWorld => Mods => Releases => Topic started by: Thom Blair III on September 03, 2018, 04:07:45 PM

Title: [1.0] Caravan Gear
Post by: Thom Blair III on September 03, 2018, 04:07:45 PM
(https://i.imgur.com/hnz4cfb.png)

Provides lightweight, portable gear specially designed for caravans and camping.

Caravan Chair:
- Prevents the "Uncomfortable (need something soft to sit on)" mood while on caravans
- Weight: 1kg
- Research requirement: Complex furniture

Caravan Table:
- Prevents the "Ate without a table" mood while on caravans
- Size: 1x1
- Seats 4 people
- Weight: 2kg
- Research requirement: Complex furniture

Caravan Chemfuel Stove:
- Holds 3 chemfuel
- Can cook any type of meal
- Size: 1x1
- Weight: 1kg

Caravan Lantern:
- Powered by chemfuel
- 3 chemfuel provides 1.4 days of runtime
- Can be switched on and off
- Weight: 0.5kg

Caravan Biofuel Refinery:
- Produces chemfuel from wood, raw food, and plant matter
- Approximately 2 organic matter yields 1 chemfuel
- Weight: 1kg
- Research requirement: Electricity and Biofuel refining

Caravan Generator:
- Powered by chemfuel
- Generates 500W
- 5 chemfuel provides 2.5 days of runtime
- Weight: 2.5kg
- Research requirement: Electricity

Fully save compatible. Please report any errors.

(For tents, see "Camping Stuff" by Alias (https://steamcommunity.com/profiles/76561198157131786/myworkshopfiles/?appid=294100))

Steam (https://steamcommunity.com/sharedfiles/filedetails/?id=1530267593)
Dropbox (https://www.dropbox.com/s/mrryykaniyt6lli/Caravan%20Gear%20v1.6%20%5B1.0%5D.zip?dl=1)
Older versions and all my other Rimworld mods on Dropbox (https://www.dropbox.com/sh/2q3l72kn13k3clf/AADVkwWo75a_j7_-p2SKvKVEa?dl=0)
Title: Re: [B19] Caravan Furniture
Post by: rawrfisher on September 03, 2018, 04:37:57 PM
Could you expand on it a bit to include other items like whats normally found for camping.
Title: Re: [B19] Caravan Furniture
Post by: Thom Blair III on September 03, 2018, 04:57:27 PM
I'd be glad to, but what would they be? I had considered tents and lighter weight bedrolls. But since the normal bedrolls are 3.5kg now I decided to leave them as is. I also wasn't sure how exactly to make a tent or if it was even needed. I haven't seen a debuff for not having a tent and I couldn't find a way to make it rain on a caravan, so I only included the chairs and the tables because the only debuff I was seeing was for "ate without a table". If you see any other debuff, please let me know. Or, if you want lighter bedrolls, let me know what you think would be a reasonable weight.
Title: Re: [B19] Caravan Furniture
Post by: Canute on September 03, 2018, 04:57:54 PM
I know you arn't a C# modder (yet).
But it would be cool if there would exist something similar like the
Camping Stuff
https://ludeon.com/forums/index.php?topic=29145.0
In your case some deloyable camping furniture.
It would create the table with 4 stools and refuelable stove, like the tent from the other mod.

But about your mod, do you just need to have the table at the caravan inventory to prevent the debuff, or table and chair/stool ?
Title: Re: [B19] Caravan Furniture
Post by: 5thHorseman on September 03, 2018, 04:59:19 PM
Are there detriments to using these over regular tables and stools in your colony, or are they the same as regular ones only cheaper and better?
Title: Re: [B19] Caravan Furniture
Post by: Thom Blair III on September 03, 2018, 05:39:04 PM
Quote from: Canute on September 03, 2018, 04:57:54 PM
But about your mod, do you just need to have the table at the caravan inventory to prevent the debuff, or table and chair/stool ?
It appears you only need the table to prevent the "ate without a table" debuff, but I'm now seeing everyone on my caravan is getting a "uncomfortable (we need something soft to sit on)" debuff as well. So, I'm going to work on making the chairs padded so that uncomfortable buff can be eliminated.

As for the tents, stoves and butcher spot:
- tents & heater: I'm not sure if they are needed yet, but I have yet to test in cold weather. I assume they will be needed to prevent the "I slept in the cold" debuff. I'll work on how to make these.
- butcher spot: I will work on seeing how this can be implemented. So far, I haven't needed it, but I'm sure it would be useful if the caravan stops for a while and you can hunt.
- sleeping bags: I might make a mummy bag style sleeping bag and see if that can take the place of the heater and the bedroll. They can be very light weight and also extremely warm. When I went camping in real life, I had to be careful not to get too hot in mine when we were camping at lower altitudes, but it was great when we were camping on ice and snow. I slept out on a glacier top at 10,000ft in only my mummy bag and a sleeping pad. No heater or tent and I was perfectly warm all night long.

Any other suggestions or ideas? Any feedback is welcome.
:)
Title: Re: [B19] Caravan Furniture
Post by: Ruisuki on September 03, 2018, 06:59:42 PM
i hope you get around to adding tents and portable stoves. Nandos camping stuff mod has been mostly integrated into vanilla by now. And its portable stove is inferior in every way to the vanilla campfire
Title: Re: [B19] Caravan Furniture
Post by: rawrfisher on September 03, 2018, 07:52:08 PM
My main one is recreation.
I just load my caravans up with booze and candy then send em off.
Title: Re: [B19] Caravan Furniture
Post by: Ruisuki on September 04, 2018, 02:10:16 AM
You the man Thom i like where this mod is going. I think i remember Tynan mentioning he added a butcher spot for B19 in the latest update didnt he? And sleeping rolls were added in b18. Or do you plan on adding something different to them? I dont want to discourage you if you do
Title: Re: [B19] Caravan Furniture
Post by: Ruisuki on September 05, 2018, 05:32:46 AM
yeah im really liking the lantern and stove textures. Other than tents Im not sure what else would be required for camping, if I think of anything ill let you know but I doubt I can think of anything else other than minor conveniences. I agree theres no need for a butcher spot or bedrolls since tynan added them

One thing that really bothered me about Nandos stove was that its recipes were a lot weaker than a campfire in that I could do bulk meals and use wood instead with the latter and not his mod. Others have mentioned portables shouldnt have bulk options so do you think youd ever consider adding a couple original made-for-travel meals to your stove? If I had to say one way to make portable stoves more attractive to use than vanilla would be to make meals cooked on them cook foods that are maybe less nutritious but also faster to cook. The biggest advantage portable stove meals should have is for them to be focused on lower carry weight, as thats vital while caravanning
Title: Re: [B19] Caravan Furniture
Post by: Thom Blair III on September 05, 2018, 09:47:08 AM
Quote from: Ruisuki on September 05, 2018, 05:32:46 AM
yeah im really liking the lantern and stove textures. Other than tents Im not sure what else would be required for camping.
Thank you. Someone else requested a portable biofuel refinery, so I made a small one for long-term camping. I'm about to post the version with that in it. I'll definitely think about travel foods, though the packaged survival meals seem like they might suffice. If other people also agree new meals are needed, I'll see what I can do.
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: Thom Blair III on September 06, 2018, 04:16:44 PM
I've updated this to version 1.5 with these changes:
- Now includes chair, table, lantern, stove, chemfuel refinery and generator
- Renamed to "Caravan Gear" since it's more than just furniture now
- Lots of balance adjustments

Please let me know if there's something that should be more balanced...I've been trying to follow vanilla ratios, but I might have made some mistakes.
Title: Re: [B19] Caravan Furniture
Post by: Thom Blair III on September 06, 2018, 04:20:11 PM
Quote from: Ruisuki on September 04, 2018, 02:10:16 AM
I think i remember Tynan mentioning he added a butcher spot for B19 in the latest update didnt he?
Yep, there's a butcher spot in B19, so unless people really want something different, I don't think I'll make any other version of that.

Also, if anyone notices any fields/tags I've forgotten to add to anything, please let me know. It's all pretty confusing to me since I'm so new to modding, but my intention is to include everything that's supposed to be there. Thanks!
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: rawrfisher on September 06, 2018, 04:39:04 PM

Config error in CaravanChemfuelStove_TWB: has duplicate thingCategory BuildingsProduction.
Verse.Log:Error(String, Boolean)
Verse.DefDatabase`1:ErrorCheckAllDefs()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType(Type, Type, String)
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

I'll leave this right here
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: Thom Blair III on September 06, 2018, 05:20:57 PM
I'm not getting that error in my debug log, and when I check CaravanChemfuelStove_TWB.xml, there is only one reference to thingCategory. Where else could this error be coming from?
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: rawrfisher on September 06, 2018, 05:25:25 PM
Given its me who found it your guess is as good as mine :P
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: Thom Blair III on September 07, 2018, 12:55:10 AM
I just realized the original person who asked me to include a portable version of the chemfuel generator wanted it to provide the same 1000W, but when I was making it, I was thinking that if it's only going to weigh 2.5kg, then it'd probably not be able to provide the same watts. Does anyone have significant feelings one way or the other: increase/decrease weight/wattage?
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: rawrfisher on September 07, 2018, 01:21:16 AM
I think its fine how it is
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: Thom Blair III on September 07, 2018, 02:17:17 AM
Ok, thanks!

Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: Thom Blair III on September 07, 2018, 02:43:15 AM
So, I'm working on making some tents for the mod. But, it's not immediately obvious to me how to make one as a 1 piece item with a predefined size & shape. I liked the tents Nando's Camping Stuff had and that style of using vanilla wall & door look might be the way to go.

But, I was wondering if it would be possible to make a predefined tent item that would look like a 5x7 sleeping spot, but would count as indoors so it would hold heat, light and protect from weather.

Does anyone know how to do this, and if so, can you tell me how to do it in XML? Or, would you be interested in writing the code to make it in C#?
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: thecookiemaker on September 07, 2018, 07:58:28 AM
The only pregenerated structures I've seen have been using the Misc. MapGenerator mod by Haplo_X1. His mod generates extra structures when the map is generated, but he makes it really easy to add your own structures. The basic layout of his xml is the first part telling what the size of the building is. For example: 5,7. Then there are 3 layers: Walls, Floor, Items. each layer in the xml consists of a a series of characters representing what goes on that position in the layer going left to right, top to bottom. For the 5x7 building there should be a total of 35 characters for each layer. After each layer in the XML it will have a legend defining what each of the characters you entered means. For example: defining each W to be a wall and each D to be a door. Each . in the characters is left as an unchanged area. The items layer is where you would put any furniture you wanted to appear in the building, or things like gold in a dungeon. it can also be used to place power cables.

I would recommend checking out that mod or reaching out to Haplo_X1 to see if he might be able to offer assistance.
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: Thom Blair III on September 07, 2018, 10:05:04 AM
Oh wow, awesome! I'll definitely check that out. Thanks a lot!
  👍
Title: Re: [B19] Caravan Gear (was Caravan Furniture)
Post by: Amnesiac on September 22, 2018, 03:56:11 PM
Can you update your dropbox link to be the latest version? v1.5 has some errors for me :(
Title: Re: [1.0] Caravan Gear
Post by: Thom Blair III on October 04, 2018, 04:22:23 PM
Updated for Rimworld 1.0

PS: For tents, see "Camping Stuff" by Alias (https://steamcommunity.com/profiles/76561198157131786/myworkshopfiles/?appid=294100)
Title: Re: [1.0] Caravan Gear
Post by: Amnesiac on October 07, 2018, 07:22:34 PM
still getting some errors on mod load :(
https://i.imgur.com/CCeqdqc.png (https://i.imgur.com/CCeqdqc.png)
I removed this from the two xml listed in the error and the error is gone

<thingCategories>
      <li>BuildingsProduction</li>
</thingCategories>
Title: Re: [1.0] Caravan Gear
Post by: Thom Blair III on October 07, 2018, 09:06:13 PM
Sorry about that--it should be fixed now. Thank you for pointing it out!
Enjoy!
:)
Title: Re: [1.0] Caravan Gear
Post by: Ruisuki on October 11, 2018, 12:47:15 AM
not planning on adding tents anymore? Seems alias mod also adds its own stove
Title: Re: [1.0] Caravan Gear
Post by: Thom Blair III on October 11, 2018, 08:43:49 AM
I don't have the programming skill to add tents...they are much more complicated than I'd originally thought. Alias knew how to do it, so I'm just pointing people to that mod.
Title: Re: [1.0] Caravan Gear
Post by: Alias on October 13, 2018, 01:03:01 AM
Quote from: Thom Blair III on October 11, 2018, 08:43:49 AM
I don't have the programming skill to add tents...they are much more complicated than I'd originally thought. Alias knew how to do it, so I'm just pointing people to that mod.

Lol, you give me too much credit, Nandonalt knew how to add tents, I just keep the lights on. Most of the modifications I've made have been either fixing red squiggle lines in Visual Studio or focused on the data structure used to represent tents, I'm still not 100% sure what all of the code does...

Your mod is really neat, I'll be sure to add a link from my pages as well. (I actually have a forums page for the b19 version of camping stuff (https://ludeon.com/forums/index.php?topic=45944.msg436772#msg436772) as well if you'd rather link there for users that may not have the steam distribution).
Did you draw all of your textures yourself?
Title: Re: [1.0] Caravan Gear
Post by: vandal on October 19, 2018, 03:54:03 AM
Any chance you can create a backpack for the mod Thom? I feel it fits nicely with camping
Title: Re: [1.0] Caravan Gear
Post by: Thom Blair III on October 19, 2018, 09:50:45 AM
Quote from: vandal on October 19, 2018, 03:54:03 AM
Any chance you can create a backpack for the mod Thom? I feel it fits nicely with camping
That's a great idea, but far beyond my low level of programming skills. Carrying things is way more complicated than I can figure out. But it's a great idea!
Title: Re: [1.0] Caravan Gear
Post by: vovik on January 02, 2019, 01:21:53 PM
I patched out most stuff - mostly names and cost:
- chemfueld refinery and generator take 1 more component
- generator is less eficient (it should be less desirable to use compact generator as stationary, its not that productive)
- table needs less materials
- chair now needs 10 cloth and 4 steel - resulting in smaller price (instead of carrying around chaitr in price of quarter of assault rifle)
- caravan lantern costs less steel and requires one component to function
- caravan chemfuel stove costs less steel and one component
- added compact solarpanel from remote explosives (it perfectly fits here, not there)

here is url for download:
https://drive.google.com/open?id=1TlBAWWNcr3XyO3O63nmJXhqPLqb-Qyx2 (https://drive.google.com/open?id=1TlBAWWNcr3XyO3O63nmJXhqPLqb-Qyx2)

I really appreciate this mod, i always wanted a 1x1 table, and portable chair is like a fishing chair
https://www.google.com.ua/search?q=fishing+chair&safe=off&client=opera&hs=rPT&tbm=isch&tbo=u&source=univ&sa=X&ved=2ahUKEwiV-pLF2s_fAhUDBywKHY0yAmoQsAR6BAgFEAE&biw=1517&bih=696#imgrc=ycG0EG-gLd0-rM: (https://www.google.com.ua/search?q=fishing+chair&safe=off&client=opera&hs=rPT&tbm=isch&tbo=u&source=univ&sa=X&ved=2ahUKEwiV-pLF2s_fAhUDBywKHY0yAmoQsAR6BAgFEAE&biw=1517&bih=696#imgrc=ycG0EG-gLd0-rM:), and portable refinery is so.. perfect, no need to carry full-sized refinery from furniture minification mod with caravan anymore, also i can now carry turrets with generator for some neato tactics!

A really nice and cozy mod for rimworld.
Title: Re: [1.0] Caravan Gear
Post by: Ruisuki on August 26, 2019, 07:38:40 PM
[table]
[tr]
[td][/td]
[/tr]
[/table]
Quote from: Thom Blair III on October 19, 2018, 09:50:45 AM
Quote from: vandal on October 19, 2018, 03:54:03 AM
Any chance you can create a backpack for the mod Thom? I feel it fits nicely with camping
That's a great idea, but far beyond my low level of programming skills. Carrying things is way more complicated than I can figure out. But it's a great idea!
Just a heads up for anyone interested in this, Chickenplucker figured out a way to get backpacks in the game. I'd link but Im unable to atm. https://ludeon.com/forums/index.php?topic=40519.0 Great stuff

I guess Im going to have to use the camping stuff mod in conjunction with this one. Its a shame, I wanted to avoid bringing in the now superceded content in it, but Im only doing it for tents. They are very nice to have, not only to avoid mood debuffs (rain, slept outside, etc) but also for capturing raiders you down in your travels. Given how you need a room to do so in. Still hoping you one day change your mind and decide to include your own version Thom. Well balanced mod nonetheless.
Title: Re: [1.0] Caravan Gear
Post by: Simstu on December 20, 2019, 02:39:53 PM
Howdy! So... How exactly ,,portable'' are these? I probably don't get it...