diff --git a/courses/course_IPSF b/courses/course_IPSF new file mode 100644 index 0000000..c888a29 --- /dev/null +++ b/courses/course_IPSF @@ -0,0 +1,17 @@ +COURSE = {} +COURSE.code = "IPSF" +COURSE.name = "Introduction au Patrouille en surface" +COURSE.icon = "icon16/user.png" +COURSE.description = "Pour les patrouilles en surface" +COURSE.requirement = {} +COURSE.callback = function(client) + local character = client:GetCharacter() + if not character then return false end + if not (client:Team() == FACTION_SECURITY) then return false end + if character:GetRank() >7 then return true end + if character:HasCourse("HFORM") then return true end + return false +end + + +return COURSE