Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4 ... 6

Author Topic: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.  (Read 13307 times)

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #15 on: February 16, 2013, 06:48:58 pm »

[ITEM_GEL:ITEM_GEL_GREEN]  <<<=== ITEM_TOOL:GEL_GREEN
[NAME:green gel:green gel]
[HARD_MAT]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[EDIBLE_COOKED]

PRODUCT:100:1:TOOL:ITEM_GEL_GREEN:PLANT_MAT:GEL_GREEN:STRUCTURAL

And you need to make a plant called gel_green, otherwise people dont know that its food.
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 :::

Eggman360

  • Bay Watcher
    • View Profile
    • Green Gel Mod
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #16 on: February 16, 2013, 06:54:43 pm »

Ah, ok, right, I'll make all the changes and repost the raws again, so everyone's on the same page :)
Logged
Victory Smells So Sweet...It smells like Green Gel and Plump Helmets Mixed Together....

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #17 on: February 16, 2013, 06:57:07 pm »

better yet: name the item_tool only "gel" and the plant only "green", because otherwise you get green gel green gel. ^^
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 :::

Eggman360

  • Bay Watcher
    • View Profile
    • Green Gel Mod
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #18 on: February 16, 2013, 06:59:08 pm »

Erm, ok I'll change those but when i repost feel free to facepalm and correct me :P
Logged
Victory Smells So Sweet...It smells like Green Gel and Plump Helmets Mixed Together....

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #19 on: February 16, 2013, 07:00:44 pm »

better yet: name the item_tool only "gel" and the plant only "green", because otherwise you get green gel green gel. ^^

Or you could just have [PREFIX:NONE] on the green gel material...

Eggman360

  • Bay Watcher
    • View Profile
    • Green Gel Mod
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #20 on: February 16, 2013, 07:08:18 pm »

(Building)
*****************
[BUILDING_WORKSHOP:BOILING_POT]
   [NAME:Boiling Pot]
   [NAME_COLOR:7:0:1]
   [DIM:3:3]
   [WORK_LOCATION:2:2]
   [BUILD_LABOR:SOAP_MAKER]
   [BUILD_KEY:CUSTOM_SHIFT_G]
   [BLOCK:1:0:0:1]
   [BLOCK:2:0:0:1]
   [BLOCK:3:0:0:0]
   [TILE:0:1:' ':' ':150]
   [TILE:0:2:' ':' ':'/']
   [TILE:0:3:'-':' ':' ']
   [COLOR:0:1:0:0:0:0:0:0:6:0:0]
   [COLOR:0:2:0:0:0:0:0:0:6:0:0]
   [COLOR:0:3:6:0:0:0:0:0:0:0:0]
   [TILE:1:1:' ':' ':'=']
   [TILE:1:2:'-':' ':8]
   [TILE:1:3:' ':' ':150]
   [COLOR:1:1:0:0:0:0:0:0:6:0:0]
   [COLOR:1:2:6:0:0:0:0:0:6:0:0]
   [COLOR:1:3:0:0:0:0:0:0:6:0:0]
   [TILE:2:1:'-':' ':8]
   [TILE:2:2:' ':' ':8]
   [TILE:2:3:' ':150:' ']
   [COLOR:2:1:6:0:0:0:0:0:6:0:0]
   [COLOR:2:2:0:0:0:0:0:0:6:0:0]
   [COLOR:2:3:0:0:0:6:0:0:0:0:0]
   [TILE:3:1:150:' ':8]
   [TILE:3:2:' ':' ':8]
   [TILE:3:3:' ':240:' ']
   [COLOR:3:1:6:0:0:0:0:0:6:7:0]
   [COLOR:3:2:0:0:0:0:0:0:6:7:0]
   [COLOR:3:3:0:0:0:7:0:1:0:0:0]
   [BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]
*****************
(Reaction) <--I know this is wrong because it uses logs as a reagent, is there a tag for ONLY food plants?
*****************
[REACTION:PLANTS_TO_GREEN]
   [NAME:Make green gel]
   [BUILDING:BOILING_POT:CUSTOM_A]
   [REAGENT:A:1:NONE:NONE:NONE:NONE][ANY_PLANT_MATERIAL][UNROTTEN]
   [PRODUCT:100:1:TOOL:ITEM_GEL:PLANT_MAT:GREEN:STRUCTURAL]
   [SKILL:COOK]
*****************
(Item)
*****************
[ITEM_TOOL:GEL]
[NAME:gel:gel]
[HARD_MAT]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[EDIBLE_COOKED]
*****************
(Plant) <---Just used plump helmets as a template
*****************
[PLANT:GREEN]
   [NAME:green][NAME_PLURAL:greens][ADJ:green]
   [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
   [MATERIAL_VALUE:2]
   [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
   [EDIBLE_VERMIN]
   [EDIBLE_RAW]
   [EDIBLE_COOKED]
   [PICKED_TILE:161][PICKED_COLOR:6:13:0]
   [GROWDUR:300][VALUE:2]
***********************

****EDIT**** I noticed the reaction building was in lower case, changed that.
« Last Edit: February 16, 2013, 07:43:38 pm by Eggman360 »
Logged
Victory Smells So Sweet...It smells like Green Gel and Plump Helmets Mixed Together....

Eggman360

  • Bay Watcher
    • View Profile
    • Green Gel Mod
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #21 on: February 16, 2013, 07:15:46 pm »

Do I really need the TOOL_GEL item? can I not just make the workshop make a PLANT_ITEM as a product?
Logged
Victory Smells So Sweet...It smells like Green Gel and Plump Helmets Mixed Together....

Eggman360

  • Bay Watcher
    • View Profile
    • Green Gel Mod
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #23 on: February 16, 2013, 07:32:40 pm »

To be honest the wiki wasn't that clear for a first timer.
Logged
Victory Smells So Sweet...It smells like Green Gel and Plump Helmets Mixed Together....

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #24 on: February 16, 2013, 07:33:52 pm »

To be honest the wiki wasn't that clear for a first timer.

Be very specific, I'm always trying to improve the wiki's documentation on modding.

Eggman360

  • Bay Watcher
    • View Profile
    • Green Gel Mod
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #25 on: February 16, 2013, 07:41:30 pm »

sorry, I didn't mean to be too general.

i found it was well broken up into each line of the RAWS and what each is for, and what it means, but i found a lack of examples.

In specific there weren't clear comparisons between one item and another, using the same "layout" but how the raws make them different.

A good example of what i mean would be a side by side creature RAWS comparison. Line by line showing what makes each different yet clearly shows what type of information is needed in each line and what information is optional.

As i read the wiki i thought more and more that the content of some lines were optional. The wiki is amazing in general though :)
Logged
Victory Smells So Sweet...It smells like Green Gel and Plump Helmets Mixed Together....

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #26 on: February 16, 2013, 07:47:36 pm »

The content of a lot of lines are optional. Note the modding guide--I annotated Mysteryguye's hydling to show what each individual line means.

Eggman360

  • Bay Watcher
    • View Profile
    • Green Gel Mod
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #27 on: February 16, 2013, 07:50:42 pm »

Well perhaps i was just a little out of my depths when i first looked over it, its very detailed, just a little daunting lol.

I'm sure once i get my teeth into Modding it will suddenly click :)

Right, the only issue i can see right now (so far) is that my reaction wants to use any plant item, and anything made from one, while testing i just saw one of my dwarves tro to turn a wooden barrel into "Green Gel" :(

is there a "Food Plants Only" RAW tag?
Logged
Victory Smells So Sweet...It smells like Green Gel and Plump Helmets Mixed Together....

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #28 on: February 16, 2013, 07:52:34 pm »

Look in that item token article I linked a few posts back.

Eggman360

  • Bay Watcher
    • View Profile
    • Green Gel Mod
Re: I'm working on a "Soylent Green"-ish mod, but need a few pointers please.
« Reply #29 on: February 16, 2013, 07:57:11 pm »

Ah!

So if i change
[REAGENT:A:1:NONE:NONE:NONE:NONE][ANY_PLANT_MATERIAL][UNROTTEN]
to
[REAGENT:A:1:NONE:NONE:NONE:NONE][PLANT][UNROTTEN]

will that fix it?
(If so it all makes sense now)
« Last Edit: February 16, 2013, 07:59:57 pm by Eggman360 »
Logged
Victory Smells So Sweet...It smells like Green Gel and Plump Helmets Mixed Together....
Pages: 1 [2] 3 4 ... 6