1
Masterwork DF / Re: ☼Gnomes☼ - Everything Gnome Mode
« on: August 15, 2014, 10:50:06 am »
Do the clockwork and mechanical pets benefit from being made with better metals? And if so, what part(s) matter for this?
March 6, 2024: Dwarf Fortress 50.12 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
Window 7 x64. Guilds learning bonuses did not work for dwarves transformed in fortress in 4j, in 5.10, and I got 3i from archives yesterday and it did not work either. I'll go further back as time allows.Confirmed, I was going by the bonus xp percent in Therapist, had not checked actual xp gain yet. Only tested in 5.10 here though so far, next will be 4b.
4j was somewhat modified, but two other versions were right from archive, dfhack and all that.
Also I tested install/save from Ogamaga too, and it did not work for me. From PM I got that it might not worked for him either, some more testing is needed.
All right, Meph.
I did fresh embark, with two proficient miners (skills assigned in embark, I assume that they have exactly the same XP).
One has to dig exactly 200 tiles of stone to get to talented.
Meanwhile I build a guildhall and convert second miner to Mason. Everything goes as it should, announcement, seven days pause, another announcement, dwarf info says *MASON GUILD*. And after that it takes second dwarf exactly 200 tiles of stone to level up to talented.
I did not use Therapist. For purity I didn't even run it once on this game. I only used dfhack commands "reveal" and "createitem COIN GOLD 500".
This does not work this way for dwarves who are members of guild from the start (immigrants).
So. Uhm... Either it is broken or I have some rather severe misunderstanding here. Any ideas?
Sounds like solid science, I will have to test it myself at some point. I know for a fact that it worked as advertised, but your report indicates that it got broken at some point. Maybe some dfhack upgrade... you can try using naturalskills.lua, but I think it only fixes the skill levels, not the skill learn rate.According to Therapist at least it works for me, only 1 change from "stock" masterwork. (involves pets available at embark)
either way, thats not good news, but its good to have it. Thanks.
Actually you might have been correct sorry:
http://dwarffortresswiki.org/index.php/v0.31:Modding_guide#Creature_materials_and_tissues
"[SELECT_MATERIAL:SKIN]"
Seems the reference container (the creature) is already calculated by the SELECT_MATERIAL command, since it can only be used inside the creature itself.
What I just did though, was to try upping all the base material values for egg materials in the templates ... that had no effect at all on prices.
Just to confirm ... I did a global replace of all the base material template values from 1 to 10 ... then eggs, and all other animal materials were in fact x 10 in price. So you were correct that some other material affects the value. But i gtg do stuff today, so you might have to narrow it down yourself. I might look at it later when I get home. Try something like skin, bone or muscle.
Don't forget to add that info to the modding wiki's if you get it.
"EGGSHELL" by itself isn't a "thing". This is how the raws reference the materials:Code: [Select][EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
"LOCAL_CREATURE_MAT:EGGSHELL" is the actual name of the material. Or, to access the material definition from outside the creature you use <CREATURE_NAME>:<MATERIAL_ID>
Try variations based on how the Raws reference the materials.
EDIT: Note, you could also do other things, like create your own custom body detail plan for the eggs which uses your custom material for that creature's "eggshell".
Is it possible to apply the [MULTIPLY_VALUE:] token only to a creature's eggs? If so, could I have an example or a link to useful info?
Yes, by selecting only the egg materials (which can be seen by looking at the code for the egg) with SELECT_MATERIAL and PLUS_MATERIAL.
I can't seem to make it work, here are my attempts
*snip*
thisCode: [Select][SELECT_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL]gives this
[PLUS_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE]
[PLUS_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK]
[MULTIPLY_VALUE:15]Code: [Select]*** Error(s) found in the file "data/save/region11/raw/objects/creature_domestic.txt"
BIRD_GOOSE_GOLDEN:Unrecognized Creature Token: MULTIPLY_VALUE
thisCode: [Select][SELECT_MATERIAL:EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL]gives
[PLUS_MATERIAL:EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE]
[PLUS_MATERIAL:EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK]
[MULTIPLY_VALUE:15]Code: [Select]*** Error(s) found in the file "data/save/region11/raw/objects/creature_domestic.txt"
BIRD_GOOSE_GOLDEN:Unrecognized Creature Token: MULTIPLY_VALUE
[SELECT_MATERIAL:EGGSHELL]
[MULTIPLY_VALUE:20]I've also tried applying it to EGG_WHITE and EGG_YOLK at the same time.Right after the line would be right. See what happens if you have it in this order:
EGG_MATERIALS BDP
multiply eggshell value
define egg
Try only changing eggshell, and put the material selection BEFORE the EGG_MATERIAL tokens.
[FEMALE]
[LAYS_EGGS]
[SELECT_MATERIAL:EGGSHELL]
[MULTIPLY_VALUE:15]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
[EGG_SIZE:152]
[CLUTCH_SIZE:3:8]other tokens were included to show where I put the new stuff
How exactly are you testing it?I have a world that I'm modifying the raws for, and checking the embark cost. if I do [SELECT_MATERIAL:ALL] AND [MULTIPLY_VALUE:15] the eggs and meats cost 30 points each, if I do [SELECT_MATERIAL:MUSCLE] the meat is 30 and eggs cost 2 each. so far, nothing has resulted in more valuable eggs except [SELECT_MATERIAL:ALL]
No, not like that. You still need to use SELECT_MATERIAL.
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID][SELECT_MATERIAL:EGGSHELL][MATERIAL_VALUE:15]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID][SELECT_MATERIAL:EGG_WHITE][MATERIAL_VALUE:15]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID][SELECT_MATERIAL:EGG_YOLK][MATERIAL_VALUE:15]any chance of an example? I'm best when I work from an example.