Author Topic: New Limits and Flags of 1.0.7  (Read 2243 times)

0 Members and 1 Guest are viewing this topic.

Offline brads3

  • Banished Expert
  • *****
  • Posts: 1480
Re: New Limits and Flags of 1.0.7
« Reply #15 on: February 22, 2017, 02:28:44 PM »
REd can we add to the luxury side so that when banis are idle instead of them just drinking our ales they would use up furniture,candles,bedding, or other household items?? or would all the items have to be tagged as luxury items?

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 7453
Re: New Limits and Flags of 1.0.7
« Reply #16 on: February 22, 2017, 02:40:56 PM »
REd can we add to the luxury side so that when banis are idle instead of them just drinking our ales they would use up furniture,candles,bedding, or other household items?? or would all the items have to be tagged as luxury items?

euh ... the thing is you need to go with flags, you can't target a specific resource or 2 ... so if we accept the fact we go with flags ....
the command is :

HappinessDescription happiness
{
   HappinessType _happinessType = Entertainment;
   bool _requireWorker = true;
   bool _requireStorage = true;
   RawMaterialFlags _requiredTypes = Alcohol;
   int _idleRange = 3;
}

i guess , probably, under reserve... a change in this line to add more tags....

   RawMaterialFlags _requiredTypes = Alcohol | Custom0;

should work... under reserve though... sometimes this game has hidden "rules" ^^
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline elemental

  • Trader
  • ****
  • Posts: 459
Re: New Limits and Flags of 1.0.7
« Reply #17 on: February 22, 2017, 02:54:02 PM »
poor banis slave away making items they never get to use.

Just like in real life...  :)


 :o

'death to materialistic desires!'


let's keep the forests alive.

Is that what the DS tents are for? Environmentally conscious bannies?

Offline brads3

  • Banished Expert
  • *****
  • Posts: 1480
Re: New Limits and Flags of 1.0.7
« Reply #18 on: February 22, 2017, 05:23:27 PM »
ok,so we have a way for banis to use the extra items we have.might not be the best solution but will work. now we wait for CC to see what tags they use for specific items. to we have any control on how much  of the goods they use?? say set to a % or amount ale + a % or amount furniture,etc? or as you pointed out ,not let them  take all the ale?

Offline kralyerg

  • Modders
  • Trader
  • *****
  • Posts: 101
Re: New Limits and Flags of 1.0.7
« Reply #19 on: February 22, 2017, 05:48:47 PM »
ok,so we have a way for banis to use the extra items we have.

They don't really *use* it in the code that RK posted. It just has to be present.

Basically, it says that if there is a worker working there, and alcohol in it's storage, then it gives happiness. If there's nothing in stock, or there's no worker, then it doesn't give happiness.  If you made one just like that but it stored Fuel, they wouldn't actually use the firewood, they would just hang out there and be happy because the firewood was in stock.

I don't believe that their desire to consume alcohol can be copied to other flags.

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 7453
Re: New Limits and Flags of 1.0.7
« Reply #20 on: February 22, 2017, 07:05:22 PM »
but that part isnt about storage... is about to take an item flag and get there and get happiness...

it is exactly same thing with the apothecary. the raw material flag = Health

so they pickup whatever "health" and go to apothecary and get "health"
was the same thing when i made "soap" = health .... they took the soap and go get health making a nice tea with ... soap!

the only thing as i said, depends of "hidden rules" if you put something else than "alcohol" for tavern , or something else than "health" at apothecary .... still will work accordingly with hidden rules ? :)
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline brads3

  • Banished Expert
  • *****
  • Posts: 1480
Re: New Limits and Flags of 1.0.7
« Reply #21 on: February 22, 2017, 07:48:22 PM »
RED i don't mean to make you think hard. i know you is busy recoding mods. i figured while the modders was busy i'd brainstorm and see if we players could come up with a way to use various items and maybe make the game more interesting. i do agree with you the game has "hidden"rules inside it. there are guidlines and they are not all foolproof. sometimes the game does what it wants for no apparent reason.

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 7453
Re: New Limits and Flags of 1.0.7
« Reply #22 on: February 22, 2017, 09:03:43 PM »
RED i don't mean to make you think hard. i know you is busy recoding mods. i figured while the modders was busy i'd brainstorm and see if we players could come up with a way to use various items and maybe make the game more interesting. i do agree with you the game has "hidden"rules inside it. there are guidlines and they are not all foolproof. sometimes the game does what it wants for no apparent reason.

yeah like the hidden rule we cant make millions numbers appear even if we go over the million and we changed the number box sizes :(
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline Bartender

  • Coding Magician
  • Modders
  • Trader
  • *****
  • Posts: 176
Re: New Limits and Flags of 1.0.7
« Reply #23 on: April 01, 2017, 03:49:04 AM »
This is a good initiative to keep things organised :).

I have tried to use it, and one thing I thought of is that it might be better to also include updated templates for StorageBarn, StockPile and TradingPost. I edited the first two myself, but I don't quite know how to make the TradingPost work with this.

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 7453
Re: New Limits and Flags of 1.0.7
« Reply #24 on: April 01, 2017, 07:06:00 AM »
here some files make by the genius @kralyerg :)


there was a little problem about the automatic buyout window... but it has been fixed last update 1.0.7B
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline embx61

  • Modders
  • Banished Expert
  • *****
  • Posts: 1275
  • You are always on my mind, Forever in my heart
Re: New Limits and Flags of 1.0.7
« Reply #25 on: April 01, 2017, 11:10:19 AM »
Thanks.

I had coded the Trade post fix myself but after comparing mine with Kralyerg's one his was coded cleaner in some areas.

My beloved Kathy
As you were you will always be
Treasured forever in my memory

Offline Bartender

  • Coding Magician
  • Modders
  • Trader
  • *****
  • Posts: 176
Re: New Limits and Flags of 1.0.7
« Reply #26 on: April 01, 2017, 11:20:01 PM »
Thanks! That fixed the tradingpost indeed. I'm still getting an error when I open the TownHall window for the first time, and for some reason my resource is being listed twice, but I guess those are just me having made a mistake somewhere ;)