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 "40d:Memory hacking/v0.27.169.33d"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 33: Line 33:
 
| Token value
 
| Token value
 
| DWARF
 
| DWARF
 +
 +
|-
 +
| <code>0x001C</code>
 +
| 28
 +
| [[Memory hacking#String|string]]
 +
| race name singular
 +
| dwarf
 +
 +
|-
 +
| <code>0x0038</code>
 +
| 28
 +
| [[Memory hacking#String|string]]
 +
| race name plural
 +
| dwarves
  
 
|-
 
|-

Revision as of 08:31, 11 December 2007

Addresses

map_data_loc                     == 01460560
map_x_count_loc                  == 01460578
map_y_count_loc                  == 0146057C
map_z_count_loc                  == 01460580
dwarven_race_index_loc           == 0123FAC8
main_creature_vector_loc         == 0141EA30
another_creature_vector_loc      == 0141EA40
yet_another_creature_vector_loc  == 0141EA80
whathe_another_creature_vector_loc == 0141EA10
art_defacement_malus_loc         == 007A332F
current_unit_focus_loc           == 00C37540
next_creature_id_loc             == 00C0F9EC
race_data_vec                    == 01461F40
Language vector                  == 01462060

creature.happiness_level at 0x508, no change from .33c

The race_data_vec is a vector of s_race structs ptr:

Offset Size Type Name Notes
0x0000 28 string Token value DWARF
0x001C 28 string race name singular dwarf
0x0038 28 string race name plural dwarves
0x0054 28 string String used in the "SuperXXXly tough" dwarven