- 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.
Difference between revisions of "User talk:Vjek"
(→Material prefs: new section) |
|||
Line 13: | Line 13: | ||
==Pref_adjust== | ==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). --[[User:Quietust|Quietust]] 16:56, 26 July 2012 (UTC) | 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). --[[User:Quietust|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. ;) |
Revision as of 08:04, 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. ;)