Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Mill/still/distill - proper item links  (Read 884 times)

Teldin

  • Bay Watcher
  • Canadian Bacon
    • View Profile
Mill/still/distill - proper item links
« on: November 06, 2007, 07:08:00 pm »

It would be nice if, instead of auto-generating items based on the raws, it instead just pointed to a proper object to link them together, like entities and creatures, or bodies and creatures.

Example:

It's currently this way-

code:
[MATGLOSS_PLANT:MUSHROOM_HELMET_PLUMP]
[TILE:6][COLOR:5:0:0]
[NAME :plump helmet][NAME_PLURAL :plump helmets]
[GROWDUR:300][VALUE:2]
[DRINK:dwarven wine:5:0:0]
[DRINKVALUE:2]
[SEEDNAME :plump helmet spawn][SEED:4:0:1]
[GENPOWER:2]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[PREFSTRING:rounded tops]
[WET][DRY][BIOME_SUBTERRANEAN_WATER]

When it generates the items based on this, it simply uses this plant and automatically comes up with the wine and seed items, right?

Well, how about something like this:

code:
[MATGLOSS_PLANT:MUSHROOM_HELMET_PLUMP]
[TILE:6][COLOR:5:0:0]
[NAME :plump helmet][NAME_PLURAL :plump helmets]
[GROWDUR:300][VALUE:2]
[DRINK :DWARVEN_WINE]
[SEEDNAME :plump helmet spawn][SEED:4:0:1]
[GENPOWER:2]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[PREFSTRING:rounded tops]
[WET][DRY][BIOME_SUBTERRANEAN_WATER]

[MATGLOSS_PRODUCT :DWARVEN_WINE]
[TILE:249][COLOR:5:0:0]
[NAME:dwarven wine][NAME_PLURAL:dwarven wine]
[VALUE:2]
[ALCOHOL][BARREL]
[PREFSTRING:smokey flavor


You could do the exact same for milled or distilled products as well.. and make tags so -those- can be distilled or milled or brewed, forming a chain of products and items. The 'DRINK:' or MILLED: or whatever tags could just point to another item somewhere, which appears after the item is processed. This means you could make something brewed, then the result milled, like sauerkraut, or something silly like make plump helmets be milled into a plump helmet hat (pointing to the appropriate hat item type that you make).

Essentially, forming proper distinct item chains instead of implied ones like they are now.

[ November 07, 2007: Message edited by: Teldin ]

Logged

Armok

  • Bay Watcher
  • God of Blood
    • View Profile
Re: Mill/still/distill - proper item links
« Reply #1 on: November 07, 2007, 01:55:00 pm »

Secunded!

This would make moding mutsh more flexible, might be hard to implement, bou also might not be hard to implement.
Should be part of moving workshops to the raws, really.

Logged
So says Armok, God of blood.
Sszsszssoo...
Sszsszssaaayysss...
III...

THLawrence

  • Bay Watcher
  • Mad Scientest
    • View Profile
Re: Mill/still/distill - proper item links
« Reply #2 on: November 07, 2007, 02:05:00 pm »

Thirded, as a dabbling modder I would love to just be able to point it to a separate object instead of making it there. Then you can set the numbers for the new item as well.
Logged

Teldin

  • Bay Watcher
  • Canadian Bacon
    • View Profile
Re: Mill/still/distill - proper item links
« Reply #3 on: November 07, 2007, 04:30:00 pm »

Edited OP to make the stupid smileys go away. Damn you, smileys!   :mad:
Logged

Metalax

  • Bay Watcher
    • View Profile
    • Steam Profile
Re: Mill/still/distill - proper item links
« Reply #4 on: November 08, 2007, 01:39:00 am »

If such a thing was done I'd like to see EDIBLE, EDIBLE_WHENCOOKED, DRINKABLE, etc tags on the products, as there may be items distilled, milled or processed that are inedible, etc.
Logged
In the beginning was the word, and the word was "Oops!"