Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: The Fifth Elephant  (Read 2424 times)

Thunderforge

  • Bay Watcher
    • View Profile
The Fifth Elephant
« on: July 12, 2024, 08:50:47 am »

I’ve just re-read The Fifth Elephant and want to add some bits and pieces to the raws.

I’ve added a new stone called ‘Fat’ with the specs of tallow. Currently it mines as a boulder of fat, but I want it to mine as a piece (or preferably several pieces) of generic tallow. How would I do this?
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

DPh Kraken

  • Bay Watcher
  • [PRONOUN:she:her:herself][PRONOUN:it:its:itself]
    • View Profile
Re: The Fifth Elephant
« Reply #1 on: July 12, 2024, 10:12:31 am »

This has to do with item types. Mining only has two options for item type, boulder or gem. You would need to create a new reaction that takes "mined fat" and convert it into tallow globs as the "Render fat" job does.
Logged
[CHEESE_PLANT] and [CHEESE_GRAPHICS] biggest fan
My mods:
Language & symbolsMiscellanyGraphics resourcesPseudo-ASCII

Thunderforge

  • Bay Watcher
    • View Profile
Re: The Fifth Elephant
« Reply #2 on: July 12, 2024, 12:32:47 pm »

Thank you!

I’ve created a smelter reaction to convert boulders of fat into globs of tallow, unfortunately it’s putting out bars of fat.
I’ll have another go later this evening!
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

DPh Kraken

  • Bay Watcher
  • [PRONOUN:she:her:herself][PRONOUN:it:its:itself]
    • View Profile
Re: The Fifth Elephant
« Reply #3 on: July 12, 2024, 03:03:14 pm »

The smelter job to make use of METAL_ORE isn't a reaction, it's generated by that token. You should be looking in reaction_other for examples of this, and make sure to add it to the playable entity.
Logged
[CHEESE_PLANT] and [CHEESE_GRAPHICS] biggest fan
My mods:
Language & symbolsMiscellanyGraphics resourcesPseudo-ASCII

Thunderforge

  • Bay Watcher
    • View Profile
Re: The Fifth Elephant
« Reply #4 on: July 12, 2024, 03:42:32 pm »

I got ya, I see there are two options listed in the Smelter: ‘Smelt fat ore’ (generated by its existence) and ’render fat into tallow’ (the reaction I created).

I currently have [PRODUCT:100:1:GLOB:NO_SUBTYPE:TALLOW] which doesn’t work.
I’m pretty sure it’s not correct because it doesn’t create anything in the smelter.

Is tallow just tallow or does it have to be something-tallow? (ie cow-tallow etc)
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: The Fifth Elephant
« Reply #5 on: July 12, 2024, 07:18:21 pm »

It had to be creature specific. Specifically you'd want to use something like CREATURE_MAT:(creature ID):TALLOW, where creature ID is the ID of the creature.

If your tallow shouldn't come from a creature that actually exists in the world, you can create one with the tallow material added and then add [DOES_NOT_EXIST], and it won't show up anywhere but the tallow will still be valid
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

Thunderforge

  • Bay Watcher
    • View Profile
Re: The Fifth Elephant
« Reply #6 on: August 11, 2024, 10:18:48 am »

My added reaction is as follows, but it doesn’t work, I think it’s something in the product line:
(Note, Schmaltz is the name of the rock which should be smelted into elephant tallow)

[REACTION:TALLOW_MAKING]
[NAME:render tallow from fat]
[BUILDING:SMELTER:NONE]
[REAGENT:A:1:BOULDER:NO_SUBTYPE:STONE:SCHMALTZ]
[PRODUCT:100:1:GLOB:CREATURE_MAT:ELEPHANT:TALLOW]
[PRODUCT_DIMENSION:150]
[FUEL]
[SKILL:SMELT]
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else

brewer bob

  • Bay Watcher
  • euphoric due to inebriation
    • View Profile
Re: The Fifth Elephant
« Reply #7 on: August 11, 2024, 10:45:14 am »

Add a subtype NONE (or NO_SUBTYPE) to GLOB, like this:

[PRODUCT:100:1:GLOB:NONE:CREATURE_MAT:ELEPHANT:TALLOW]

Thunderforge

  • Bay Watcher
    • View Profile
Re: The Fifth Elephant
« Reply #8 on: August 11, 2024, 11:24:31 am »

Thank you! I’ve just tested it and I’ve now got a stockpile with eight lumps of elephant tallow in it!

I think the next step is to add little clusters of BCBs in the veins of fat.
(BCBs = burnt crunchy bits) but I’ll save that for later.
Logged
Klinka Na Karaz : Grung A Na Grungron : Az A Na Ankor
A Pick for the Earth : A Hammer for the Anvil : An Axe for everything else