World of Banished

MODS Garage => Mod Talk => Topic started by: Discrepancy on January 25, 2018, 08:22:54 PM

Title: Almond Tree - v1.1.1 (updated 27 Jan 2018 - 2nd update)
Post by: Discrepancy on January 25, 2018, 08:22:54 PM
(https://i.imgur.com/hE4D8Ip.jpg)
v1.1.1 (updated 27 Jan 2018)
** sorry for the 2 updates. I had not done in correctly first time and it was displaying wrong name in orchard selector. This v1.1.1 now fixes that. Save-game compatible (both updates).

This mod adds Almond trees to orchards and Almonds as an edible food.

cost of Almond Seeds = 2500

Almonds
      - edible | protein
      - production = 50/65
      - value = 1
      - weight = 1

fruit/naturalresource/growth code same as other vanilla nuts.

I always struggled to get my almond tree to work in the game, the texture still isn't as I'd like.
My original tree was too highly detailed so I reused elements from it and manipulated the fig tree example instead.



Download from here. (http://worldofbanished.com/index.php?action=downloads;sa=view;down=403)

stringtable for translation modding: AlmondTreeStringTable.rsc (https://mega.nz/#!rAtHQQaS!-I0bw2lrWhZLzg-XJA0RPQvbtLQSC2zPrQQn6_CQjKE) v1.1.1


Change Log:

v1.1.1  --  27 Jan 2018
      - fix to name of Almonds in orchards.


v1.1  --  27 Jan 2018
      - fix to name of Almond Seeds in trader (was only showing Almonds) thanks to @twilightbreeze.

v1.0  --  26 Jan 2018
      - initial release.

Title: Re: Almond Tree
Post by: kid1293 on January 25, 2018, 08:44:16 PM
Nice! Good stuff! :)
Title: Re: Almond Tree
Post by: taniu on January 25, 2018, 10:34:46 PM
@Discrepancy :D Thank you - beautiful trees and you can collect almonds - a nice surprise :D
Title: Re: Almond Tree
Post by: twilightbreeze on January 26, 2018, 04:26:54 AM
Nice. I love almonds.

Although, the trader just lists Almond Seeds as "Almonds" and that's it. At last, I hope those are seeds, they are listed with the other orchard seeds.
Title: Re: Almond Tree
Post by: RedKetchup on January 26, 2018, 04:29:47 AM
Quote from: twilightbreeze on January 26, 2018, 04:26:54 AM
Nice. I love almonds.

Although, the trader just lists Almond Seeds as "Almonds" and that's it. At last, I hope those are seeds, they are listed with the other orchard seeds.

if you paid 2500 value for qty: 1 ... thats the seeds :)
Title: Re: Almond Tree
Post by: twilightbreeze on January 26, 2018, 04:33:20 AM
sigh.

I haven't bought any, I only looked under the orders section and it lists "Almonds" with the Apple Seeds, Plum Seeds, etc. So I can only assume. I've seen Almonds for sale, and bought them, but they are just the food kind. So I am not sure. I only thought to bring to light the possibility.


EDIT: Ok, just bought some, they work fine, but still listed among the seeds as just "Almond". FYI
Title: Re: Almond Tree
Post by: Discrepancy on January 26, 2018, 04:49:41 PM
Quote from: twilightbreeze on January 26, 2018, 04:33:20 AM
sigh.

I haven't bought any, I only looked under the orders section and it lists "Almonds" with the Apple Seeds, Plum Seeds, etc. So I can only assume. I've seen Almonds for sale, and bought them, but they are just the food kind. So I am not sure. I only thought to bring to light the possibility.


EDIT: Ok, just bought some, they work fine, but still listed among the seeds as just "Almond". FYI

okay thanks for that, i missed that. i actually made this mod a long time ago so should have paid more attention to the code I had written when i compiled.
Title: Re: Almond Tree - v1.1 (updated 27 Jan 2018)
Post by: Discrepancy on January 26, 2018, 05:52:45 PM
updated to v1.1

thanks to @twilightbreeze for spotting the mistake in the seed name.
Title: Re: Almond Tree - v1.1 (updated 27 Jan 2018)
Post by: RedKetchup on January 26, 2018, 06:12:00 PM
btw , with your permission... i ll add almond to the nmt 3.0 orchard (if i didnt add it yet - which i think i didnt)

:)
Title: Re: Almond Tree - v1.1 (updated 27 Jan 2018)
Post by: Discrepancy on January 26, 2018, 06:18:57 PM
Quote from: RedKetchup on January 26, 2018, 06:12:00 PM
btw , with your permission... i ll add almond to the nmt 3.0 orchard (if i didnt add it yet - which i think i didnt)

Of course you can :)

I added it to the lab yesterday, you'll just have to update string text for seeds to display Almond Seeds.
Title: Re: Almond Tree - v1.1 (updated 27 Jan 2018)
Post by: RedKetchup on January 26, 2018, 06:22:05 PM
Quote from: Discrepancy on January 26, 2018, 06:18:57 PM
Quote from: RedKetchup on January 26, 2018, 06:12:00 PM
btw , with your permission... i ll add almond to the nmt 3.0 orchard (if i didnt add it yet - which i think i didnt)

Of course you can :)

I added it to the lab yesterday, you'll just have to update string text for seeds to display Almond Seeds.

yeah i took it yesterday and put on my desktop in the to do list :)
thanks !