1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

format cheat table

This commit is contained in:
Laserlicht
2025-05-18 22:07:35 +02:00
parent 4a1d8efb7b
commit 01bc8f2078

View File

@ -707,7 +707,7 @@ bool PlayerMessageProcessor::handleCheatCode(const std::string & cheat, PlayerCo
"vcmisilmaril", "vcmiwin", "nwcredpill", "nwctrojanrabbit", "vcmisilmaril", "vcmiwin", "nwcredpill", "nwctrojanrabbit",
"vcmieagles", "vcmimap", "nwcwhatisthematrix", "nwcrevealourselves", "nwcgeneraldirection", "vcmieagles", "vcmimap", "nwcwhatisthematrix", "nwcrevealourselves", "nwcgeneraldirection",
"vcmiungoliant", "vcmihidemap", "nwcignoranceisbliss", "vcmiungoliant", "vcmihidemap", "nwcignoranceisbliss",
"vcmiobelisk", "nwcoracle", "nwcprophecy", "nwcalreadygotone" "vcmiobelisk", "nwcoracle", "nwcprophecy", "nwcalreadygotone"
}; };
std::vector<std::string> heroTargetedCheats = { std::vector<std::string> heroTargetedCheats = {
"vcmiainur", "vcmiarchangel", "nwctrinity", "nwcpadme", "nwcavertingoureyes", "vcmiainur", "vcmiarchangel", "nwctrinity", "nwcpadme", "nwcavertingoureyes",
@ -720,10 +720,10 @@ bool PlayerMessageProcessor::handleCheatCode(const std::string & cheat, PlayerCo
"vcminahar", "vcmimove", "nwcnebuchadnezzar", "nwcpodracer", "nwccoconuts", "vcminahar", "vcmimove", "nwcnebuchadnezzar", "nwcpodracer", "nwccoconuts",
"vcmiforgeofnoldorking", "vcmiartifacts", "vcmiforgeofnoldorking", "vcmiartifacts",
"vcmiolorin", "vcmiexp", "vcmiolorin", "vcmiexp",
"vcmiluck", "nwcfollowthewhiterabbit", "nwccastleanthrax", "vcmiluck", "nwcfollowthewhiterabbit", "nwccastleanthrax",
"vcmimorale", "nwcmorpheus", "nwcmuchrejoicing", "vcmimorale", "nwcmorpheus", "nwcmuchrejoicing",
"vcmigod", "nwctheone", "vcmigod", "nwctheone",
"vcmiscrolls" "vcmiscrolls"
}; };
if (!vstd::contains(townTargetedCheats, cheatName) && !vstd::contains(playerTargetedCheats, cheatName) && !vstd::contains(heroTargetedCheats, cheatName)) if (!vstd::contains(townTargetedCheats, cheatName) && !vstd::contains(playerTargetedCheats, cheatName) && !vstd::contains(heroTargetedCheats, cheatName))