Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Can I put more than one [OBJECT] token in a raw file?  (Read 710 times)

ShinyandKittens

  • Bay Watcher
  • Armok can’t really be much different from Arceus..
    • View Profile
Can I put more than one [OBJECT] token in a raw file?
« on: April 25, 2018, 09:14:49 pm »

For example:

Code: [Select]
[OBJECT:CREATURE]
blah blah blah
[OBJECT:PLANT]
blah blah blah
[OBJECT:INORGANIC]
blah blah blah

... or would it fail to load?
Logged
No amount of mods is too much

scamtank

  • Bay Watcher
    • View Profile
Re: Can I put more than one [OBJECT] token in a raw file?
« Reply #1 on: April 25, 2018, 10:22:28 pm »

Well, there's one really quick fuckin way to find out!!
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: Can I put more than one [OBJECT] token in a raw file?
« Reply #2 on: April 25, 2018, 10:25:17 pm »

Apparently... you can? :o
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: Can I put more than one [OBJECT] token in a raw file?
« Reply #3 on: April 25, 2018, 10:33:10 pm »

Okay what the fresh hell is this

My b_detail_plan_default.txt now contains, in order:

  • the contents of item_armor.txt
  • the contents of item_tool.txt
  • the contents of creature_standard.txt
  • the contents of body_default.txt
  • the existing contents of b_detail_plan_default.txt

And the damn thing loaded in the arena, all armors and tools and basic creatures and such in working condition. The executable hanged for like 20 seconds while it loaded up the body detail plans, but load it did.

e: dang, this error log is festive. I wonder if it can reach fortress mode

e2: It does. And while the log complained of mannerisms and such being unknown body detail plan tokens, it's somehow managed to parse all the tokens into at least superficially functional state. My dwarves have all the custom job titles and mannerisms and everything. This seems precarious.
« Last Edit: April 25, 2018, 10:41:47 pm by scamtank »
Logged

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Can I put more than one [OBJECT] token in a raw file?
« Reply #4 on: April 26, 2018, 07:08:00 am »

I do know that the files are loaded in a very particular order.  It is quite likely that playing around with this will introduce all kinds of bugs and crashes.  Best not to risk it.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Can I put more than one [OBJECT] token in a raw file?
« Reply #5 on: April 26, 2018, 07:09:14 am »

Yeah don't do that. The game crashes once a single text file in the raws reaches a certain length.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

ShinyandKittens

  • Bay Watcher
  • Armok can’t really be much different from Arceus..
    • View Profile
Re: Can I put more than one [OBJECT] token in a raw file?
« Reply #7 on: April 27, 2018, 09:16:32 pm »

This seems like a great idea

Apparently it’s not. Don’t try it
Logged
No amount of mods is too much