added description to item

This commit is contained in:
GHOST11111100
2025-07-26 16:49:39 +03:00
parent b4b49ccd83
commit 21364af7a3
4 changed files with 41 additions and 7 deletions
+1
View File
@@ -4,6 +4,7 @@
ItemDef::ItemDef(const std::string& name) : name(name) {
caption = util::id_to_caption(name);
description = "";
}
void ItemDef::cloneTo(ItemDef& dst) {
dst.caption = caption;