Allow markers to change the short and/or long description of any feature, not just portal vault entrances. The feature_description() and feature_description_long() functions have been removed from the mapmark classes and turned into ordinary properties. Also added the marker property "door_description_suffix", which can be used to alter the short description of (known) doors by appending a string to them.
FUEQ344KIQEMOSXUYPA4JVNZPITKCFG4ZJ635WVXHAP7VWVVZLYQC CGVVHYCRLMKDZ6VRGREAOUT4SWKFW6N3JGZ2MNTFKVP66LPAG7NQC I2WJK6VZZCWKSJ2XQH7W4HXRNZZ2MSCKO65IIRFBGGMWMUZ2VZ6QC 3GDZE2MD5D6BIA3GS6SQ2XVW6SRVWPWWEFZ623WBOAOZQ5IKT5WQC TLO257LZSB6ZO36STDUEWJBO2LETXFKTFGXELA6Y4BZBVAEIIINAC GQL5SIGBHLU3FMCE54XVGLRY5AZHRM6DUEB722REA2DPLGJSN6EQC EJ4GIPFSSQCQASUMRF4CR2WPUQOTEHFRGLOYEZ7BH6YEMIR6DN4QC 7Y5HSDFKA5TPLS2TWTRFMQVX6UXUDHXU5MUMXQSDFAIY4THQ3BIQC UZ6N6HOUPGVSPC5NQROEEDWMEGJA5XUWUY2AKH5QG65AZ25PVXDAC LJPUO3NNFABVOQOBA5LUDNT2R5H4LMP6TPJBNVJ7VJBERCBYZIXQC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC UEI5JAVCMN7Y2SACTEZPZSNFJWOJTC55G24Q6LKQCT4XNDH5ZQIAC L4RYVF46EQKMVOEADGRG4WMPVTQ6NNFGYMU4SHAH6XJIKWVHT77QC SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC TGJZXTUIAKCFZQJ54ZQEBGFBVZSJCAX6AWDRSH3TP7UJRLGUM5SAC MFONX2CQ4V7HA5NSD6P5NDDBXYDSKIOCYUKRZXJ4ZER2OKJWT2HQC HXIETRYLTZYNJR4QHS5ZN4ZZR76SLRIXTEJQQJGI33XMXHO6MNBAC 2KTJHQUX2LTU2BCLS5YXVRRKMOYKKIZAPF2LBKORFGSHEN5IO3IAC CRX4RG35C3DH57NIXCW4CG4X7SBMSX7TAJR2BAFQ4LQKCLYUNANQC Y3NLZQBRMBULLMTLNCG5VSLRZFUAD4MI6VMYN7Q3L5YMIVDN5DAQC NOUFW6ACJ7KPVHSPF4WLRAVOWI7PZ6OAVYDRMI3WYNPXVMGAB3QAC R6XS2HO5QX2FJUGL5UQQRNETKCMYWTUFPHPPS5SYWK3OQA4UDUQQC }std::string map_lua_marker::feature_description() const{return (call_str_fn("feature_description"));}std::string map_lua_marker::feature_description_long() const{return (call_str_fn("feature_description_long"));
}static std::string _marker_feature_description(const coord_def &p){std::vector<map_marker*> markers = env.markers.get_markers_at(p);for (int i = 0, size = markers.size(); i < size; ++i){const std::string desc = markers[i]->feature_description();if (!desc.empty())return (desc);}return ("");
}static std::string _marker_feature_description(const coord_def &pos){std::vector<map_marker*> markers = env.markers.get_markers_at(pos);for (int i = 0, size = markers.size(); i < size; ++i){const std::string desc = markers[i]->feature_description_long();if (!desc.empty())return (desc);}return ("");
endfunction PortalDescriptor:feature_description(marker)return self:unmangle(self.props.desc)endfunction PortalDescriptor:feature_description_long(marker)return self:unmangle(self.props.desc_long)
* door_description_suffix: A string to append to the description ofany door the marker is on. This should be used for doorsrather than the feature_description property since it elemintatesthe need to track if the door is opened or closed, plus it willhave no effect on secret doors which have yet to be detected.* feature_description: What to use as the short description of thecell's feature.