![]() |
G2O function getArmorStat - Printable Version +- Gothic Online Forums (https://archive.gothic-online.com) +-- Forum: Main (English) (https://archive.gothic-online.com/forum-3.html) +--- Forum: Ideas (https://archive.gothic-online.com/forum-5.html) +--- Thread: G2O function getArmorStat (/thread-1936.html) |
function getArmorStat - Hades - 09.12.2016 Hi there! I've recently got an idea which you can implement.
In G2O Source code is a function called "getItemName" but every item in Singe Player Game
have two diffrent names, one name is "focus name" and the second is "description name".
The problem is, that i can't return "description name".
You could modify getItemName function by adding third argument, or create new function
example:
void getItemDescription(string item_code)
Also usefull would be function, which will returns item statistics (in armors)
(There are five diffrent protection values in single player items)
example how this function could be look:
void getArmorStat(string item_code, string protection_value)
All understand ? RE: function getArmorStat - Bimbol - 09.12.2016 Not gonna happend in dev 8. In new G2O this will be available. |