--- deliantra/Deliantra/Deliantra.pm 2006/03/22 03:32:09 1.53 +++ deliantra/Deliantra/Deliantra.pm 2006/03/23 06:45:23 1.54 @@ -39,8 +39,55 @@ maplore => "endmaplore", ); -# not used yet, maybe alphabetical is ok -our @FIELD_ORDER = (qw(name name_pl)); +# same as in server save routine, to (hopefully) be compatible +# to the other editors. +our @FIELD_ORDER = (qw( + name name_pl custom_name title race + slaying skill msg lore other_arch face + #events + animation is_animated + Str Dex Con Wis Pow Cha Int + hp maxhp sp maxsp grace maxgrace + exp perm_exp expmul + food dam luck wc ac x y speed speed_left move_state attack_movement + nrof level direction type subtype + + resist_physical resist_magic resist_fire resist_electricity + resist_cold resist_confusion resist_acid resist_drain + resist_weaponmagic resist_ghosthit resist_poison resist_slow + resist_paralyze resist_turn_undead resist_fear resist_cancellation + resist_deplete resist_death resist_chaos resist_counterspell + resist_godpower resist_holyword resist_blind resist_internal + resist_life_stealing resist_disease + + path_attuned path_repelled path_denied material materialname + value carrying weight invisible state magic + last_heal last_sp last_grace last_eat + connected glow_radius randomitems npx_status npc_program + run_away pick_up container will_apply smoothlevel + current_weapon_script weapontype tooltype elevation client_type + item_power duration range + range_modifier duration_modifier dam_modifier gen_sp_armour + move_type move_block move_allow move_on move_off move_on move_slow move_slow_penalty + + alive wiz was_wiz applied unpaid can_use_shield no_pick is_animated monster + friendly generator is_thrown auto_apply treasure player sold see_invisible + can_roll overlay_floor is_turnable is_used_up identified reflecting changing + splitting hitback startequip blocksview undead scared unaggressive + reflect_missile reflect_spell no_magic no_fix_player is_lightable tear_down + run_away pick_up unique no_drop can_cast_spell can_use_scroll can_use_range + can_use_bow can_use_armour can_use_weapon can_use_ring has_ready_range + has_ready_bow xrays is_floor lifesave no_strength sleep stand_still + random_move only_attack confused stealth cursed damned see_anywhere + known_magical known_cursed can_use_skill been_applied has_ready_scroll + can_use_rod can_use_horn make_invisible inv_locked is_wooded is_hilly + has_ready_skill has_ready_weapon no_skill_ident is_blind can_see_in_dark + is_cauldron is_dust no_steal one_hit berserk neutral no_attack no_damage + activate_on_push activate_on_release is_water use_content_on_gen is_buildable + + body_range body_arm body_torso body_head body_neck body_skill + body_finger body_shoulder body_foot body_hand body_wrist body_waist +)); sub MOVE_WALK (){ 0x01 } sub MOVE_FLY_LOW (){ 0x02 }