Merge branch 'master' of github.com:Baystation12/Baystation12

This commit is contained in:
Albert Iordache
2012-06-20 23:38:34 +03:00
3 changed files with 10 additions and 6 deletions

View File

@@ -278,9 +278,12 @@ atom/Del()
. = ..()
atom/movable/Move()
ul_Extinguish()
. = ..()
ul_Illuminate()
if(LuminosityRed || LuminosityGreen || LuminosityBlue)
ul_Extinguish()
. = ..()
ul_Illuminate()
else
return ..()
turf/var/list/MaxRed

View File

@@ -37,8 +37,8 @@
power_light = 0//rastaf0
power_equip = 0//rastaf0
power_environ = 0//rastaf0
luminosity = 1
ul_Lighting = 0
if(!ul_Lighting)
luminosity = 1
else
luminosity = 0
area_lights_luminosity = rand(6,7)

View File

@@ -2,7 +2,7 @@
//SECURITY//
////////////
#define TOPIC_SPAM_DELAY 7 //7 tick delay is about half a second
#define UPLOAD_LIMIT 1048576 //Restricts client uploads to the server to 1MB //Could probably do with being lower.
#define UPLOAD_LIMIT 10485760 //Restricts client uploads to the server to 10MB //Could probably do with being lower.
/*
When somebody clicks a link in game, this Topic is called first.
It does the stuff in this proc and then is redirected to the Topic() proc for the src=[0xWhatever]
@@ -63,6 +63,7 @@
src << "<font color='red'>Error: AllowUpload(): Spam prevention. Please wait [round(time_to_wait/10)] seconds.</font>"
return 0
fileaccess_timer = world.time + FTPDELAY */
world.log << "[src] uploaded [filename] of [filelength]"
return 1