Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: dragonflare on February 29, 2008, 02:32:00 am

Title: Breeding
Post by: dragonflare on February 29, 2008, 02:32:00 am
Some of you may think that i'm insane for suggesting this, but I recently noticed a large glaring detail missing from the fortress I'm currently playing that I just can't ignore: how can I make giant gave spiders BREED?

Can someone help me fix this minor detail? So that I can begin raising a (half still hostile) nightmarish army the likes of which should never ever exist?

Title: Re: Breeding
Post by: Nightflame on February 29, 2008, 05:50:00 am
HUNTING GIANT CAVE SPIDER!

if you like your meat shredded?

Title: Re: Breeding
Post by: Kagus on February 29, 2008, 07:11:00 am
Add
code:

    [BABY:1][MULTIPLE_LITTER_RARE][BABYNAME:giant cave spiderling:giant cave spiderlings]


To the giant cave spider profile.  I'm not sure if this will require a new world or not, but it probably will.

Title: Re: Breeding
Post by: dragonflare on March 02, 2008, 02:09:00 am
So I have to make a new world for this to work? So another question:

If I make a world in an older version, with this change, and bring it over to a newer version, would the change still work, and do I need to add the change to the new version too?

Also, is there some way to make these spiders more readily available without living in constant fear of wild spiders being appearing at anytime, anyplace, anywhere, at every fortress?

Thanks.

[ March 02, 2008: Message edited by: dragonflare ]

Title: Re: Breeding
Post by: Zirallan on March 02, 2008, 11:47:00 am
Leave their biome tag alone and they won't appear anywhere but where they originally do.

Add the [COMMON_DOMESTIC] tag and you'll be able to buy them from the embark screen and traders will occasionally bring them to you. If you make them buyable you might want to lower their value a bit though.. I accidently enabled them when checking out what some tags did and they cost over 1000 to take with you from the embark screen.

Title: Re: Breeding
Post by: Salmeuk on March 02, 2008, 02:36:00 pm
quote:
they cost over 1000  

I think thats about the right price for the evildeomcreaturethatkillseverythingandhuntsinpacksof20plus.

:D

Title: Re: Breeding
Post by: dragonflare on March 02, 2008, 05:32:00 pm
I can't seem to get this to work, so you add these tags in the creature_subterranean.txt in the df\raw\objects folder, under
[CREATURE:SPIDER_CAVE_GIANT]
does it matter where/how you add it(new line/tab, after an existing tag...)?

I add the tags, and make a new world, but when I embark, I can't find them on the embark screen.

Title: Re: Breeding
Post by: Zirallan on March 02, 2008, 07:45:00 pm
I always make my editions to a new line rather than tagging it on to an already existing one. I don't think it matters though.. I just tested it and was able to purchase giant cave spiders on the embark screen. Here's how their file looks currently.

[CREATURE:SPIDER_CAVE_GIANT]
   [NAME:giant cave spider:giant cave spiders:giant cave spider]
   [TILE:'S'][COLOR:7:0:0]
   [MODVALUE:10]
   [LARGE_ROAMING][FREQUENCY:20][DIFFICULTY:3]
   [EXTRACT:giant cave spider venom:7:0:0]
   [EXTRACT_VALUE:100]
   [EXTRACT_PARALYZE][NATURAL][PET][TRAINABLE]
   [EXTRACT_ANTIDOTE:giant cave spider antivenin:7:0:0:100]
   [WEBBER][THICKWEB][WEBIMMUNE][AMBUSHPREDATOR][PARALYZEIMMUNE]
   [LARGE_PREDATOR]
   [GENPOWER:4]
   [BLOODTYPE:W][CHITIN]
   [PETVALUE:2500]
   [GRASSTRAMPLE:10]
   [CARNIVORE]
   [NOPAIN][EXTRAVISION][NOSTUN][NOEMOTION][NOSKULL][NOBONES]
   [BUILDINGDESTROYER:1]
   [NOFEAR]
   [PREFSTRING:mystery]
   [BODY:SPIDER:2EYES:HEART:GUTS:BRAIN:MOUTH]
   [SIZE:10]
   [MAXAGE:20:30]
   [ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:6:GORE][ATTACKFLAG_CANLATCH][SPECIALATTACK_INJECT_EXTRACT:50:100]
   [FAT:1]
   [NO_SLEEP]
   [ALL_ACTIVE]
   [POPULATION_NUMBER:3:5]
   [BIOME:SUBTERRANEAN_CHASM]
   [HOMEOTHERM:10040]
   [STANDARD_FLESH]
   [COMMON_DOMESTIC]

The only thing done to this is adding the [COMMON_DOMESTIC] tag to the end. Adding in the tag someone else gave you for hatchlings shouldn't have any effect on that other than letting you take hatchlings with you as well as adult spiders.

[ March 02, 2008: Message edited by: Zirallan ]

Title: Re: Breeding
Post by: dragonflare on March 02, 2008, 10:12:00 pm
Thanks, the code above worked.

Also, is it safe for me to use these edited worlds in newer versions? Would they work, do I need to edit the raws again first?