mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Update 5
- Made use_exp_restrictions_heads_hours text2num'ed in configuration.dm, rather than on use - Converted all exp_types to #defines, instead of magic strings - Moved exp_jobsmap to jobs.dm - Replaced has_exp_for_job with job.available_in_playtime, which returns - Changed <BR> -s to <LI>s, for proper HTML lists - Made update_exp less indented, easier to read - Fixed potential runtime in admin/topic.dm when calling exp window on a non-existent mob - Made job preferences screen tell you how long until you unlock each locked job, in hours or minutes as appliccable - Changed SQL storage format because mediumtext does not support default '' - Converted exptimer() into a roundstart hook proc Missed body tag Typo fix
This commit is contained in:
@@ -552,8 +552,9 @@ var/global/list/special_role_times = list( //minimum age (in days) for accounts
|
||||
if(jobban_isbanned(user, rank))
|
||||
HTML += "<del>[rank]</del></td><td><b> \[BANNED]</b></td></tr>"
|
||||
continue
|
||||
if(!has_exp_for_job(user, job.title))
|
||||
HTML += "<del>[rank]</del></td><td> \[TIME]</td></tr>"
|
||||
var/available_in_playtime = job.available_in_playtime(user.client)
|
||||
if(available_in_playtime)
|
||||
HTML += "<del>[rank]</del></td><td> \[ " + get_exp_format(available_in_playtime) + " as [job.exp_type] ]</td></tr>"
|
||||
continue
|
||||
if(!job.player_old_enough(user.client))
|
||||
var/available_in_days = job.available_in_days(user.client)
|
||||
|
||||
Reference in New Issue
Block a user