v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "User talk:Vjek"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(→‎Material prefs: new section)
Line 17: Line 17:
  
 
Is there any way to mod what materials dwarves like? nice to have a smith that likes steel. ;)
 
Is there any way to mod what materials dwarves like? nice to have a smith that likes steel. ;)
 +
 +
vjek says: Yep, you can.  From my notes, type 0 (zero) appears to be materials like bronze.  This type field I'm referring to is found under unit.status.current_soul.preferences within each particular preference per dwarf.  If that's not clear, reply, PM or email me.

Revision as of 14:06, 3 October 2012

Created page. --Briess 17:59, 28 June 2012 (UTC)
First version --Vjek 20:26, 28 June 2012 (UTC)

Scripts

So far, I've only tried 2 of your scripts: make_legendary and armoks_blessing. The make_legendary is working fine, but armoks_blessing broke when it tried to do what I'm guessing was the elevate_mental and/or elevate_physical part. The trace said line 72. I'm not complaining. I'm just letting you know that the new 34.11 version of DFHack is out and some of your scripts still work. :) --Zackman0010 05:35, 1 July 2012 (UTC)

Update

Updated & tested all scripts for 34.11, everything appears ok.

Vjek 02:50, 4 July 2012 (UTC)

Pref_adjust

Taking a brief look at this script, it is not necessary to set all of item_type, creature_id, color_id, shape_id, and plant_id - they're all in a union, so it should be enough to just set one of them. Additionally, your logic for clearing preferences really should be removing them from the list, not just zeroing out their fields. In case you're curious, the "unk" field is actually just a random number seed which is used to consistently select a random prefstring (df-structures has since been updated to reflect this). --Quietust 16:56, 26 July 2012 (UTC)

Material prefs

Is there any way to mod what materials dwarves like? nice to have a smith that likes steel. ;)

vjek says: Yep, you can. From my notes, type 0 (zero) appears to be materials like bronze. This type field I'm referring to is found under unit.status.current_soul.preferences within each particular preference per dwarf. If that's not clear, reply, PM or email me.