(Solved) All I want is to store 1 simple thing

Started by Saularian, April 22, 2015, 04:08:01 PM

Previous topic - Next topic

Saularian

So, I'm kinda pulling out my hair at the moment as I'm not getting it right it seems. I'm trying to create a storage that stores one thing and one thing only (in this case uranium) but I don't seem to be getting it right with the allowances on it...

EDIT: Its a working thing now  :D
<fixedStorageSettings>
        <priority>Critical</priority>
        <allowances>
<thingDefs>
         <li>Uranium</li>
</thingDefs>
</allowances>
      </fixedStorageSettings>


As this should be easy, I think I'm missing something, keep getting the "not in a thingfilterdef" message...
Anyone knows what line I'm missing? Even been sniffing through the source code to find the right line, but all I can find is about the parentgroups.

skullywag

Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

1000101

The <allowances> only accepts lists of <categories> and <thingDefs>.  It does not accept lists directly.
<allowances>
   <thingDefs>
      <li>Uranium</li>
   </thingDefs>
</allowances>


<allowances>
   <categories>
      <li>RawFood</li>
   </categories>
</allowances>



Edit:  Looks like skullywag beat me to it.  :P
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Saularian

Quote from: skullywag on April 22, 2015, 04:10:58 PM
Wrap the uranium li in <thingDefs>

I am currently hitting myself... Had tried that, but botched up something else, mistakingly thinking I screwed up the same thing again  :P

Thanks for showing me the error of my ways.  ;D

skullywag

69 dude! thats your name...im too drunk to be posting.

Edit - Saul ruined it....booo
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

1000101

Actually that my nick works out to be 69 is only coincidental to the first character of my name being 'E' and capital 'E' is the 69th ASCII character code.  (Note hidden/embedded message in my icon.)
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Saularian

Binary... its been a long time since I used that.

Anyways, thanks for the help, I need beer now, and on to the next thing. Creating filled bodybags with the name on it of whose in it  :P Think I'm going to pull out some more hair  :-X