PWE_PRC8/_module/nss/ats_sc_check_lc.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

27 lines
804 B
Plaintext

/****************************************************
Starting Condition Script : Check Leathercrafting skill
ats_sc_check_lc
Last Updated: August 25, 2002
***Ambrosia Tradeskill System***
Created by Mojo(Allen Sun)
This script checks the player's leathercrafting skill
to see if he can still be taught the basics.
****************************************************/
#include "ats_inc_common"
#include "ats_const_skill"
int StartingConditional()
{
object oPlayer = GetPCSpeaker();
// Edited by Jarketh Thavin to ensure functionality
// The following line is the only original line
// return (ATS_GetTradeskill(oPlayer, CSTR_SKILLNAME_TANNING) > 0);
if(ATS_GetTradeskill(oPlayer, CSTR_SKILLNAME_TANNING) > 0)
return TRUE;
else
return FALSE;
}