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:
@ -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))
|
||||||
|
Reference in New Issue
Block a user