if pc . count_item ( 31038 ) < 100 then 
if number ( 1 , 50 ) == 1 then 
pc . give_item2 ( 31038 , 1 ) 
local remain = 100 - pc . count_item ( 31038 ) 
if remain < 0 then 
remain = 0 
end 
q . set_counter_value ( remain ) 
if pc . count_item ( 31038 ) >= 100 then 
notice_multiline ( gameforge . main_quest_lv96 . _110_1_notice , notice ) 
notice_multiline ( gameforge . main_quest_lv96 . _110_2_notice , notice ) 
set_state ( "state1_3" ) 
end 
end 
end 
