Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: spaying?  (Read 518 times)

vadia

  • Bay Watcher
  • tacky picture given the forum; I know.
    • View Profile
spaying?
« on: August 08, 2012, 01:17:55 pm »

If I set "child:0" have I spayed or set up a massive bug?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: spaying?
« Reply #1 on: August 08, 2012, 01:33:19 pm »

Neither, I think. Removing the child tag entirely is what you want.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: spaying?
« Reply #2 on: August 08, 2012, 01:50:01 pm »

CHILD:0 will default to "1" but removing both CHILD and BABY tags stops breeding altogeter, you can however make a reaction/syndrome/interaction that spays/neuters pets. An example would be this:

[INTERACTION:SHUT_BREEDER_DOWN] --- Shuts Breeders, breeding for 2 days
   [I_SOURCE:CREATURE_ACTION]
   [I_TARGET:A:CREATURE]
      [IT_LOCATION:CONTEXT_CREATURE]
      [IT_MANUAL_INPUT:creature]
      [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
      [IT_AFFECTED_CLASS:BREEDER] --- targets only Breeders
   [I_EFFECT:ADD_SYNDROME]
            [IE_TARGET:A]
            [IE_IMMEDIATE]
            [IE_ARENA_NAME:Breeding off]
            [SYNDROME]
                  [SYN_NAME:shut off]   
            [CE_ADD_TAG:STERILE:START:0:END:2048]
            [CE_FLASH_TILE:TILE:'X':4:0:1:FREQUENCY:2000:1000:START:0:END:2048] --- to let you know if it's turned off

may have to be altered to better suit your needs, and aquiring it is entirely up to you.
Logged

vadia

  • Bay Watcher
  • tacky picture given the forum; I know.
    • View Profile
Re: spaying?
« Reply #3 on: August 08, 2012, 02:05:06 pm »

thx
Logged