Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: A large arboreal lobster? [now with shell!]  (Read 785 times)

Fireborn

  • Bay Watcher
    • View Profile
A large arboreal lobster? [now with shell!]
« on: March 05, 2012, 09:07:59 am »

Right, so I'm making this thing (A) to have shell on demand, and (B) to give a friend vermin control beyond cats, as he dislikes cats.  And then it spiraled from there...

So far so good, but I've seen that chiten may or may not count as shell, so I'm attempting to staple a shell onto it, but the slaughter returns don't list any shell... just organs, meat and fat.

Here's the raw as it stands, mostly entirely cribbed from Cave Lobster and Dog.  Also my first attempt at modding a creature.  Claws from the Giant Scorpion.

Code: [Select]
creature_lobster_coconut_CUSTOM

[OBJECT:CREATURE]

[CREATURE:LOBSTER_COCONUT]
 [DESCRIPTION:An arboreal lobster the size of a dog.  They are able to be trained in a similar fashion, and prey upon smaller animals.]
 [NAME:coconut lobster:coconut lobsters:coconut lobster]
 [CASTE_NAME:coconut lobster:coconut lobsters:coconut lobster]
 [CREATURE_TILE:157][COLOR:7:0:1]
 [HUNTS_VERMIN]
 [PET]
 [PETVALUE:30][NATURAL]
 [COMMON_DOMESTIC][TRAINABLE]
 [AMPHIBIOUS][UNDERSWIM]
 [NATURAL] [BIOME:SUBTERRANEAN_WATER]
 [UNDERGROUND_DEPTH:1:2]
 [POPULATION_NUMBER:2:5]
 [SPEED:2900]
 [PREFSTRING:mighty clamps]
 [ALL_ACTIVE]
 [NO_DRINK][NO_SLEEP]
 [SWIMS_INNATE][SWIM_SPEED:2500]
 [NOFEAR]
 [NOBONES]
 [USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE]
 [USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE]
 [BODY:SPIDER:SHELL:2EYES:HEART:GUTS:BRAIN:MOUTH:TAIL:UPPERBODY_PINCERS]
   [BODY_DETAIL_PLAN:CHITIN_MATERIALS]
   [BODY_DETAIL_PLAN:CHITIN_TISSUES]
   [BODY_DETAIL_PLAN:SHELL:SHELL_TEMPLATE]
   [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:SHELL:FAT:MUSCLE]
   [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
 [USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
 [TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
 [LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
 [HAS_NERVES]
 [USE_MATERIAL_TEMPLATE:ICHOR:ICHOR_TEMPLATE]
 [BLOOD:LOCAL_CREATURE_MAT:ICHOR:LIQUID]
 [CREATURE_CLASS:GENERAL_POISON]
 [GETS_WOUND_INFECTIONS]
 [GETS_INFECTIONS_FROM_ROT]
 [USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
 [PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
 [BODY_SIZE:0:0:1000]
 [BODY_SIZE:1:0:12500]
 [BODY_SIZE:2:0:30000]
 [MAXAGE:10:20]
 [HOMEOTHERM:10040]
 [CHILD:1]
 [LITTERSIZE:1:4]
 [GENERAL_CHILD_NAME:fry:fry]
 [ATTACK:PINCER:BODYPART:BY_CATEGORY:PINCER]
    [ATTACK_SKILL:GRASP_STRIKE]
    [ATTACK_VERB:snatch:snatches]
    [ATTACK_CONTACT_PERC:100]
    [ATTACK_PENETRATION_PERC:100]
    [ATTACK_FLAG_EDGE]
    [ATTACK_PRIORITY:MAIN]
    [ATTACK_FLAG_CANLATCH]
    [ATTACK_FLAG_WITH]
 [CASTE:FEMALE]
    [FEMALE]
 [CASTE:MALE]
    [MALE]
 [SELECT_CASTE:ALL]
    [SET_TL_GROUP:BY_CATEGORY:ALL:CHITIN]
    [TL_COLOR_MODIFIER:WHITE:1:BLUE:1:RED:1:BLACK:1]
    [TLCM_NOUN:chitin:SINGULAR]
    [SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
    [TL_COLOR_MODIFIER:BLACK:1]
    [TLCM_NOUN:eyes:PLURAL]
Edit: Realized that shell was already in the [BODY] tag, so removed to resdundant one.  Tried just changing chitin to shell under [BODY_DETAIL_PLAN] which didn't work...  Looking at the b_detail_plan_default file it's looking like I might need to make a file for that so that it pulls shell instead of chitin... or maybe change it to vertibrate...

Edit2: Thank you Hugo_The_Dwarf
+Updated the code file
« Last Edit: March 05, 2012, 10:15:34 am by Fireborn »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: A large arboreal lobster? [minor issue getting shell from slaughter]
« Reply #1 on: March 05, 2012, 09:54:52 am »

these two go above the [BODY:SPIDER:.....]
      [USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE]
      [USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE]

after [BODY:SPIDER:....]
   [BODY_DETAIL_PLAN:SHELL_POSITIONS]

also I have no idea what  [BODY_DETAIL_PLAN:SHELL:SHELL_TEMPLATE] is :/ but I'm sure it will cause issues

also remove [FISHITEM]

Hopefully this helps
Logged

Fireborn

  • Bay Watcher
    • View Profile
Re: A large arboreal lobster? [minor issue getting shell from slaughter]
« Reply #2 on: March 05, 2012, 10:13:49 am »

Yeah, that seems to have done the trick.

Tried it with and without the chitin lines, without just produced a pile of 31 shell, (Which turned to a stack of "coconut lobster corpse," and was still used as shell when I added the chitin lines back in.)  While with produced the meat and shell.

Also took out most of the [NO___] stuff from the cave-lobster, leaving just [NOFEAR].
« Last Edit: March 05, 2012, 10:17:30 am by Fireborn »
Logged