[MOD] (Alpha 2) Trade Federation

Started by Tommygunner70, March 01, 2014, 03:41:09 PM

Previous topic - Next topic

Tommygunner70

Trade Federation



Description:

I got tired of the fact that I had so many Trade goods (Meat, farmed stuff, and stone) but couldn't trade it.
So I made this.

Current Tiles added by Project Dig:

  • Added Agave, Berries, Meats an stone to all the traders
  • Farming Trader has a supply of Agave and Berries and Patatoes, all other traders don't have a stock but will trade it with you.
  • Industrial Trader has a supply of Stone, all other traders don't have a stock but will trade it with you.
  • Human Meat isn't accepted by any of the traders.

Mod Team:

  • Tommygunner70

Download:

Trade Federation (No Human Meat Trade)
Trade Federation - Dirty Deals (Allows Human Meat Trade with Slave Traders)


How to install:
- Both Versions are stand alone mods, pick which one you want.
- Unzip the contents and place them in your RimWorld/Mods folder.
- Activate the mod in the mod menu in the game.

Known Issues:

its advised that you start a new game after activating this mod.
if you continue a save game that was created before enabling this mod; Any trader is already in range will bug out your game. so either start a new game or wait for them to go out of range.



Notes:

  • Don't hesitate to give your idea's or opinions
  • Flames only serve to warm my bed at night

[attachment deleted by admin: too old]

Architect

Might I suggest human meat could be made acceptable by slave traders? In my mind at least, the slave traders are a truly nasty bunch.
Check out BetterPower+ and all its derivatives by clicking the picture below.

It adds many new methods of power generation and uses for it, as well as other things such as incidents.


Tommygunner70

Quote from: Architect on March 01, 2014, 04:13:57 PM
Might I suggest human meat could be made acceptable by slave traders? In my mind at least, the slave traders are a truly nasty bunch.

While slave trade is one thing, Cannibalism is another. Even the Dutch Slave traders of old thought of Cannibalism as taboo.

when I wrote this mod, I didn't include human meat for trade because really, its way too easy to kill raiders and then sell them as meat. But in the interest "power to the user" I'll add another mod package that includes it soon.

Psyckosama

I'd suggest adding meat to the Farm Trader. So far I've been finding it a bit of a bother to keep my meat stores stocked up and being able to trade for it would be a good idea.

Tommygunner70

Quote from: Psyckosama on March 01, 2014, 06:28:35 PM
I'd suggest adding meat to the Farm Trader. So far I've been finding it a bit of a bother to keep my meat stores stocked up and being able to trade for it would be a good idea.

Right, I'll consider doing that. right now I just noticed that the meat doesn't have a value assigned, as it its traded for 0 silver
will figure out how to fix that.

Vas

Quote from: Architect on March 01, 2014, 04:13:57 PM
Might I suggest human meat could be made acceptable by slave traders? In my mind at least, the slave traders are a truly nasty bunch.

Slave traders wouldn't likely do this at all.  But maybe if alien races every so often came by to trade with you?  They'd have all sorts of goodies in stock and love human meat.  :P
Click to see my steam. I'm a lazy modder who takes long breaks and everyone seems to hate.

Psyckosama

Quote from: Tommygunner70 on March 01, 2014, 07:40:56 PM
Quote from: Psyckosama on March 01, 2014, 06:28:35 PM
I'd suggest adding meat to the Farm Trader. So far I've been finding it a bit of a bother to keep my meat stores stocked up and being able to trade for it would be a good idea.

Right, I'll consider doing that. right now I just noticed that the meat doesn't have a value assigned, as it its traded for 0 silver
will figure out how to fix that.

I'd make meat cost 50% more than potatoes.

Tommygunner70

Quote from: Vas on March 02, 2014, 11:32:44 AM
Quote from: Architect on March 01, 2014, 04:13:57 PM
Might I suggest human meat could be made acceptable by slave traders? In my mind at least, the slave traders are a truly nasty bunch.

Slave traders wouldn't likely do this at all.  But maybe if alien races every so often came by to trade with you?  They'd have all sorts of goodies in stock and love human meat.  :P

Well that's why there is two versions of this mod. In Dirty Deals, the slave traders do buy Human meat.
In the normal Version they don't. download the one that goes alongside your opinion ;)

Quote from: Psyckosama on March 02, 2014, 02:54:21 PM
Quote from: Tommygunner70 on March 01, 2014, 07:40:56 PM
Quote from: Psyckosama on March 01, 2014, 06:28:35 PM
I'd suggest adding meat to the Farm Trader. So far I've been finding it a bit of a bother to keep my meat stores stocked up and being able to trade for it would be a good idea.

Right, I'll consider doing that. right now I just noticed that the meat doesn't have a value assigned, as it its traded for 0 silver
will figure out how to fix that.

I'd make meat cost 50% more than potatoes.

I've looked into the meat not having prices assigned to them. Sadly the data part that allows me to set the price isn't in any of the XML files. meaning they aren't XML based just yet. I could try to write the XML myself but without knowing the programming for it, its like a shotgun blast in the dark. no doubt I'll hit something but the chance of hitting the right target is nigh impossible. and the potential for it messing up with how meat currently acts and is used in the game is too high. Until I see that the data on meat is moved to XML, this is as far as I'll go with this mode for now.


Note: I suspect that I could find the data if I opened the hard code of the game, but I haven't a clue on how to do that.

Psyckosama

Quote from: Tommygunner70 on March 03, 2014, 03:16:01 PM
I've looked into the meat not having prices assigned to them. Sadly the data part that allows me to set the price isn't in any of the XML files. meaning they aren't XML based just yet. I could try to write the XML myself but without knowing the programming for it, its like a shotgun blast in the dark. no doubt I'll hit something but the chance of hitting the right target is nigh impossible. and the potential for it messing up with how meat currently acts and is used in the game is too high. Until I see that the data on meat is moved to XML, this is as far as I'll go with this mode for now.


Note: I suspect that I could find the data if I opened the hard code of the game, but I haven't a clue on how to do that.

Something to ask for in Alpha 3 I guess.

Psyckosama

#9
Update: I believe found where the prices are set.

It's under "Base Price" in the resources.xml

You can change that to change the price of an item and if the item doesn't have the entry I'm pretty sure you can add it in...

The problem is where are the meat entries to begin with?

Vas

Why not add a version that adds new races that come by for trade, who would accept alien meat?  Or maybe reavers!  Stopping by for trade.... xD  (Reavers, from the show Firefly :P  If you didn't get the ref)
Click to see my steam. I'm a lazy modder who takes long breaks and everyone seems to hate.

Psyckosama

What would you think about a version that adds Synthmeat to the trade list?

Psyckosama

Made a version with Synthmeat Compatibility.

[attachment deleted by admin: too old]

Vas

I'd like a version that adds wood and planks to the things you can buy too.  It's possible I could add that myself tomorrow.  I'm using the Wood Economy mod, so that's why I'd like to see wood in the trade availability.  If you don't constantly cut down trees, they take over the world on you.  xD
Click to see my steam. I'm a lazy modder who takes long breaks and everyone seems to hate.

Tommygunner70

Quote from: Psyckosama on March 04, 2014, 06:02:08 PM
What would you think about a version that adds Synthmeat(fixed link) to the trade list?
Quote from: Psyckosama on March 04, 2014, 07:36:29 PM
Made a version with Synthmeat Compatibility.

I would have liked it better if you first talked to me before just releasing a file in my mod thread.
I'll make an official release that includes Synthmeat when I have a little time.
Sadly the real problem is that if I include Synthmeat as standard pack, the everyone will have to install Synthmeat to run TF. and sadly, Rimworld doesn't 'merge' mods if they effect the same thing. the last mod to be loaded will over write everything in memory.

Quote from: Vas on March 05, 2014, 01:33:55 AM
I'd like a version that adds wood and planks to the things you can buy too.  It's possible I could add that myself tomorrow.  I'm using the Wood Economy mod, so that's why I'd like to see wood in the trade availability.  If you don't constantly cut down trees, they take over the world on you.  xD

I haven't looked into Wood Economy, been way too busy but I'll look at it soon.


Note; I don't mind people making modifications/additions to my mods. I just like to see the modifications made before people start uploading to my mod threads.