Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Transform curses create "toad" in Legends?  (Read 730 times)

Warlord255

  • Bay Watcher
  • Master Building Designer
    • View Profile
Transform curses create "toad" in Legends?
« on: February 10, 2018, 10:23:24 am »

I tried to implement a custom deity curse which would turn temple-topplers into monsters (much like werebeasts). However, it seems that all such persons are listed in worldgen as "toads", unlike the humans/etc. cursed to be werebeasts on the full moon.

IIRC, toads are the default "error" animal for transformations, right? If so, does that mean the game is forgetting what the creature in question used to be before it transformed? What can I do to amend this if I want to add transformation curses in the future?
Logged
DF Vanilla-Spice Revised: Better balance, more !!fun!!
http://www.bay12forums.com/smf/index.php?topic=173907.msg7968772#msg7968772

LeadfootSlim on Steam, LeadfootSlim#1851 on Discord. Hit me up!

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Transform curses create "toad" in Legends?
« Reply #1 on: February 10, 2018, 11:11:51 am »

Can you provide your raws for troubleshooting?
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Transform curses create "toad" in Legends?
« Reply #2 on: February 10, 2018, 01:02:10 pm »

Toads are the first creature alphabetically in the raws (first entry in creature_amphibian.txt), and are used if the creature_id you use in your custom interactions is wrong, aka there is no creature in the raws that fits the ID and caste.

Best to post your raws, as Knight Otu suggested.
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 :::

Warlord255

  • Bay Watcher
  • Master Building Designer
    • View Profile
Re: Transform curses create "toad" in Legends?
« Reply #3 on: February 10, 2018, 02:04:36 pm »

I copied the Werebeast example raw, but substituted my own creature and removed CE:PERIODIC:MOON_PHASE, so it looked like this;

[CE_BODY_TRANSFORMATION:START:0]
      [CE:CREATURE:PLUMP_HELMET_MAN:DEFAULT]
      [CE_ADD_TAG:NO_AGING:START:0]

In Legends, I was able to find deities who had cursed people to become plump helmet men, and found their individual Legends entries describing their lives afterward - but it simply listed them as "plump helmet men" for their creature type. I was only able to determine what race they had been previously by looking up their civ/subgroups.
Logged
DF Vanilla-Spice Revised: Better balance, more !!fun!!
http://www.bay12forums.com/smf/index.php?topic=173907.msg7968772#msg7968772

LeadfootSlim on Steam, LeadfootSlim#1851 on Discord. Hit me up!

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Transform curses create "toad" in Legends?
« Reply #4 on: February 10, 2018, 05:05:37 pm »

You're pointing to a "DEFAULT" caste, which doesn't exist for plump helmet men. They have "FEMALE" and "MALE". Because the game doesn't know what caste you want, it's turning people into toads. Legends normally retroactively refers to transformed people by whatever they were in the end for their entire lives. The reason werebeasts don't normally do that is that they turn back into humanoids after every full moon.

By the way, if you're using plump helmet men you may want to get rid of this section at the end of their entry.

Code: [Select]
[SET_TL_GROUP:BY_CATEGORY:ALL:MUSHROOM]
[TL_COLOR_MODIFIER:PURPLE:1]
[TLCM_NOUN:exterior:SINGULAR]

That changes their description, which might cause crashes when viewed later. To get the same effect without the crash risk, just add "Its exterior is purple." to the main description.
« Last Edit: February 10, 2018, 05:07:46 pm by Enemy post »
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Warlord255

  • Bay Watcher
  • Master Building Designer
    • View Profile
Re: Transform curses create "toad" in Legends?
« Reply #5 on: February 14, 2018, 12:09:03 pm »

Welp, new problem - deities don't seem to be applying curses, because people don't seem to be toppling statues. I thought decreasing the number of procedural curses would leave the custom curse as the only option, but that doesn't seem to be the case. I'll have to keep adjusting the raws until I get it right...
Logged
DF Vanilla-Spice Revised: Better balance, more !!fun!!
http://www.bay12forums.com/smf/index.php?topic=173907.msg7968772#msg7968772

LeadfootSlim on Steam, LeadfootSlim#1851 on Discord. Hit me up!