Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: outdoor farming  (Read 950 times)

durt101

  • Bay Watcher
    • View Profile
outdoor farming
« on: July 15, 2009, 12:18:45 am »

So this is a section of the standard dwarf code, in raw>objects>entity_default

       
Spoiler (click to show/hide)

I want to add the tag [OUTDOOR_FARMING] in so dwarves can also buy outdoor seeds at the start. Where oh where do I put this? I've tried and cannot find he correct place.
Logged

LOSNR

  • Bay Watcher
    • View Profile
Re: outdoor farming
« Reply #1 on: July 15, 2009, 01:36:49 am »

Other than a few specific tokens, the location you place it doesn't really matter. After the [INDOOR_FARMING] token would probably be best, simply to make it easy to find.

What problem are you having, exactly? Have you already tried adding the token? Did you gen a new world?
Logged

durt101

  • Bay Watcher
    • View Profile
Re: outdoor farming
« Reply #2 on: July 15, 2009, 01:38:45 am »

Oh damn, do I have to gen a new world every time I edit the init?
Does init, mayhaps, stand for initialization?  :'( Sorry for being such a noob.
Logged

LOSNR

  • Bay Watcher
    • View Profile
Re: outdoor farming
« Reply #3 on: July 15, 2009, 01:52:22 am »

The init file is something completely different from the raws. Any changes to the init are applied the next time you start DF. Changes to the raws may require a new world, depending on what you edit.

The sticky at the top of the modding forum has a list of changes that require genning a world. Entities are one of the special cases where a new world is needed simply because you changed or added a few tokens.
Logged