Răsfoiți Sursa

Temporary removal of hidden event in journal check pending integration of new code for next dev cycle.

Hooded Silence 1 an în urmă
părinte
comite
976694d77b
2 a modificat fișierele cu 4 adăugiri și 5 ștergeri
  1. 4 4
      locations/emp_functions.qsrc
  2. 0 1
      locations/shop_photography.qsrc

+ 4 - 4
locations/emp_functions.qsrc

@@ -212,19 +212,19 @@ if $ARGS[0] = 'disp_evt':
 			job_idx = 0		
 			*nl
 			:jmp_list_create
-				if evt_silent[job_idx] = 1:
+				!!if evt_silent[job_idx] = 1:
 					$evtbody += '<tr><td>' +$week[evt_dow[job_idx]]+' '+ evt_day[job_idx] + $evt_suffix + ', '+ $monthName[evt_month[job_idx]] +' 20'+ evt_year[job_idx] + '</td><td>' + $evt_job[evt_event[job_idx]] + '</td>' 
 					$evtbody += '<td>' + evt_wages[job_idx] + '₽</td><td>' + evt_hour[job_idx] + ':' +  iif(evt_minutes[job_idx] >= 0 and evt_minutes[job_idx] <= 4, '00', '30') + '</td>'
 					$evtbody += '<td>' + evt_duration[job_idx] + iif(evt_duration[job_idx]  = 1, ' hour',  ' hours') + '</td><td>' + $evt_mc_locat[job_idx] + '</td>'
 					$evtbody += '<td><a  href="exec: gs ''emp_functions'',''del_evt'', 2, <<job_idx>>"><img src="images\system\icons\evt_del.png"></a></a></td></tr>'
-				end
+				!!end
 				job_idx += 1
 				if job_idx < arrsize('evt_event') : jump 'jmp_list_create'
-				if evt_silent[job_idx] = 1: 
+				!!if evt_silent[job_idx] = 1: 
 					'<center><h2>Current Task List</h2></center>'		
 					$evtheader = '<tr><th>Date</th><th>Task</th><th>Pay</th><th>Time</th><th>Duration</th><th>Location</th><th>Cancel Job</th></tr>'
 					'<center><table width="90%" align="center" width="90%" cellspacing="5" cellpadding="5" valign="top"><tr><<$evtheader>><<$evtbody>></tr></table></center>'
-				end
+				!!end
 				killvar '$evtbody'
 				killvar '$evtheader'
 			else

+ 0 - 1
locations/shop_photography.qsrc

@@ -223,7 +223,6 @@ if $ARGS[0] = 'job_init':
 	dynamic $photojob[evt_PhotoID]
 	!! set Day of Week for job to appear on	
 	transient_evt_dow = 6
-	!! evt_silent - hide event from player  in journal (or other locations) - 1 to enable.
     !! Now set up the event date
     gs 'shop_photography' , 'photojob_pay'
     gs 'emp_functions', 'gen_evt'