Amon_PRC8/_module/nss/_cheat.nss
Jaysyn904 92dd37996f Got rid of the rest of the DevCrit restrictions
Got rid of the rest of the DevCrit restrictions.
2025-06-10 17:30:43 -04:00

55 lines
1.5 KiB
Plaintext

//:///////////////////////////////////
//: cohesi0n's anti hacked char stuff & rules reader & other bollocks
//://////////////////////////////////
#include "craft_inc"
#include "_trisla_fun_bin"
void main()
{
/////////////////////////////////////////
//: Stats limits...which seems a little pointless now/////////
/* int _STR_ = 52;
int _DEX_ = 52;
int _CON_ = 52;
int _INT_ = 52;
int _CHA_ = 52;
int _WIS_ = 52; */
/////////////////////////
//:vars/////////////////
object oPlayer = GetEnteringObject();
string sPlayerName = GetPCPlayerName(oPlayer);
/*string sPlayerCDkey = GetPCPublicCDKey(oPlayer);*/
/*string sPlayerIP = GetPCIPAddress(oPlayer);*/
//object oTargetJail = GetWaypointByTag("PLAYER_JAIL");
object oTargetRules = GetWaypointByTag("SET_RULES");
int rulesRead;
///////////////////////////////
//REMOVAL OF DEV CRIT CRAPNESS FROM POOR SODS WHO PICKED IT ALREADY
/* int nF_ID = 495;
for (nF_ID; nF_ID <= 532; ++nF_ID){
if (GetHasFeat(nF_ID, oPlayer)){
SendMessageToAllDMs("Dev Crit has been removed from player: " + sPlayerName);
a_XPSettingReset(oPlayer);
}
else if (GetHasFeat(955, oPlayer) || GetHasFeat(996, oPlayer)){
SendMessageToAllDMs("Dev Crit has been removed from player: " + sPlayerName);
a_XPSettingReset(oPlayer);
}
else{} */
//////////////
//RULES_SET///
rulesRead = GetCampaignInt(GZ_AMON_RULES_SET, "GZ_SET_RULES_READ!", oPlayer);
if(rulesRead <= 0){
AssignCommand(oPlayer, JumpToObject(oTargetRules));
}
else{}
}