Bay 12 Games Forum

Please login or register.

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

Author Topic: Procedural content creation: Random plant creation script  (Read 34510 times)

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #45 on: February 07, 2011, 12:54:12 pm »

The only reason normal plants don't grow in tundras is because most of the stock plants have the NOT_FREEZING biome, which is basically "every land biome except for mountain, glacier, and tundra" (and doesn't actually have anything at all to do with climate).
Well, as I said, I'm pretty sure that I tested it with my frost stalks and didn't find any before, so I retested it.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Rex_Nex

  • Bay Watcher
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #46 on: February 09, 2011, 08:42:41 pm »

As much as I love having a completely vanilla DF, I think I will use this, it is too awesome to miss.
Logged

purpl monstr

  • Bay Watcher
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #47 on: February 10, 2011, 01:32:20 am »

I've been trying to mod in as many real plants as i can think of, but i'm not good at inventing fantasy plants.

I have fallen in love with your plant generator.


[PLANT:CACTUS_SLUT]
   [NAME:slutcactus]
   [NAME_PLURAL:slutcacti]
   [ADJ:slutcactus]
   [PICKED_TILE:232]
   [PICKED_COLOR:7:0:0]
   [WET]
   [DRY]
   [BIOME:ANY_DESERT]
   [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
      [MATERIAL_VALUE:1]
   [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
   [GROWDUR:300]
   [VALUE:1]
   [USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
      [MATERIAL_VALUE:1]
      [EDIBLE_VERMIN]
      [EDIBLE_COOKED]
   [SEED:slutcactus seed:slutcactus seeds:7:0:0:LOCAL_PLANT_MAT:SEED]
   [SPRING]
   [SUMMER]
   [AUTUMN]
   [WINTER]
   [FREQUENCY:100]
   [CLUSTERSIZE:5]
   [PREFSTRING:sluts]
   [PREFSTRING:untowardness]
   [PREFSTRING:ugliness]
   [SHRUB_COLOR:7:0:0]
   [DEAD_SHRUB_COLOR:0:0:1]

[PLANT:TUBE_SOUTH]
   [NAME:south tube]
   [NAME_PLURAL:south tubes]
   [ADJ:south tube]
   [PICKED_TILE:22]
   [PICKED_COLOR:7:0:0]
   [WET]
   [DRY]
   [BIOME:NOT_FREEZING]
   [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
      [MATERIAL_VALUE:3]
   [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
   [GROWDUR:300]
   [VALUE:3]
   [SPRING]
   [SUMMER]
   [AUTUMN]
   [WINTER]
   [FREQUENCY:100]
   [CLUSTERSIZE:5]
   [PREFSTRING:southness]
   [SHRUB_COLOR:7:0:0]
   [DEAD_SHRUB_COLOR:0:0:1]

[PLANT:BEARD_PLAY_FUN]
   [NAME:playful beard]
   [NAME_PLURAL:playful beards]
   [ADJ:playful beard]
   [PICKED_TILE:3]
   [PICKED_COLOR:4:0:1]
   [WET]
   [DRY]
   [BIOME:NOT_FREEZING]
   [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
      [MATERIAL_VALUE:3]
   [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
   [GROWDUR:300]
   [VALUE:3]
   [USE_MATERIAL_TEMPLATE:THREAD:THREAD_PLANT_TEMPLATE]
      [MATERIAL_VALUE:3]
   [THREAD:LOCAL_PLANT_MAT:THREAD]
   [USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
      [MATERIAL_VALUE:1]
      [EDIBLE_VERMIN]
      [EDIBLE_COOKED]
   [SEED:playful beard seed:playful beard seeds:4:0:1:LOCAL_PLANT_MAT:SEED]
   [SPRING]
   [SUMMER]
   [AUTUMN]
   [WINTER]
   [FREQUENCY:100]
   [CLUSTERSIZE:5]
   [PREFSTRING:playfulness]
   [PREFSTRING:wildness]
   [SHRUB_COLOR:4:0:1]
   [DEAD_SHRUB_COLOR:0:0:1]

[PLANT:BEARD_INCEST]
   [NAME:incestbeard]
   [NAME_PLURAL:incestbeards]
   [ADJ:incestbeard]
   [PICKED_TILE:3]
   [PICKED_COLOR:0:0:1]
   [WET]
   [DRY]
   [EVIL]
   [BIOME:NOT_FREEZING]
   [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
      [MATERIAL_VALUE:2]
   [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
   [GROWDUR:300]
   [VALUE:2]
   [USE_MATERIAL_TEMPLATE:THREAD:THREAD_PLANT_TEMPLATE]
      [MATERIAL_VALUE:2]
   [THREAD:LOCAL_PLANT_MAT:THREAD]
   [USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
      [MATERIAL_VALUE:1]
      [EDIBLE_VERMIN]
      [EDIBLE_COOKED]
   [SEED:incestbeard seed:incestbeard seeds:0:0:1:LOCAL_PLANT_MAT:SEED]
   [SPRING]
   [SUMMER]
   [AUTUMN]
   [WINTER]
   [FREQUENCY:100]
   [CLUSTERSIZE:5]
   [PREFSTRING:incests]
   [PREFSTRING:familialness]
   [PREFSTRING:untowardness]
   [PREFSTRING:evils]
   [SHRUB_COLOR:0:0:1]
   [DEAD_SHRUB_COLOR:0:0:1]

it also spat out a mind boggling array of peppers
Logged

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #48 on: February 10, 2011, 04:55:51 am »

I am totally using "slutcactus."

Vorthon

  • Bay Watcher
  • Now with 50% more pointless rambling!
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #49 on: February 10, 2011, 09:00:54 am »

Hey, Sphalerite, I was wondering if you could pm this to me. I can't access DFFD, but this'd be great for a mod I'm working on.
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Procedural content creation: Random plant creation script
« Reply #50 on: February 10, 2011, 09:17:05 am »

Hey, Sphalerite, I was wondering if you could pm this to me. I can't access DFFD, but this'd be great for a mod I'm working on.
I can't fit the whole script in a PM - it's over the character limit.  I did put a copy of it in a textbin if that helps:

http://textbin.com/3y726

You should just be able to copy and paste it from that.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Vorthon

  • Bay Watcher
  • Now with 50% more pointless rambling!
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #51 on: February 10, 2011, 09:26:56 am »

It's blocked by the firewall. Deon did find a site a while ago, when I was toying with the idea of a dwarven mutant mod. You could ask him for the address for that one.
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Procedural content creation: Random plant creation script
« Reply #52 on: February 10, 2011, 09:49:28 am »

I can email it to you, if you have an email address that will allow an attached file.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Vorthon

  • Bay Watcher
  • Now with 50% more pointless rambling!
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #53 on: February 10, 2011, 09:52:35 am »

I just looked around a bit, and pastebin.com isn't blocked.
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Procedural content creation: Random plant creation script
« Reply #54 on: February 10, 2011, 10:04:31 am »

Here's a pastebin, then.

http://pastebin.com/MhYYTLMu
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Vorthon

  • Bay Watcher
  • Now with 50% more pointless rambling!
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #55 on: February 10, 2011, 10:18:48 am »

Okay, just ran it, and I got some weird stuff:
(Warning: Wall of code)
Spoiler (click to show/hide)
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Procedural content creation: Random plant creation script
« Reply #56 on: February 10, 2011, 10:20:09 am »

Yep, looks like it's working normally for you now.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #57 on: February 10, 2011, 10:21:13 am »

subscribin the thread

Vorthon

  • Bay Watcher
  • Now with 50% more pointless rambling!
    • View Profile
Re: Procedural content creation: Random plant creation script
« Reply #58 on: February 10, 2011, 10:21:55 am »

@ Sphalerite: Also, I noticed that the thread materials tend not to have names. Is that going to affect things?
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Procedural content creation: Random plant creation script
« Reply #59 on: February 10, 2011, 10:24:34 am »

@ Sphalerite: Also, I noticed that the thread materials tend not to have names. Is that going to affect things?
It doesn't seem to be a problem.  None of the default plants have names for their thread materials either.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.
Pages: 1 2 3 [4] 5 6 ... 13