mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
Explosions are logged to log now.
Books uploading is loggable too. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1312 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -614,6 +614,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
|
||||
if(!query.Execute())
|
||||
usr << query.ErrorMsg()
|
||||
else
|
||||
log_game("[usr.name]/[usr.key] has uploaded the book titled [scanner.cache.name], [length(scanner.cache.dat)] signs")
|
||||
alert("Upload Complete.")
|
||||
dbcon.Disconnect()
|
||||
if(href_list["targetid"])
|
||||
|
||||
@@ -3,12 +3,12 @@ proc/explosion(turf/epicenter, devastation_range, heavy_impact_range, light_impa
|
||||
spawn(0)
|
||||
defer_powernet_rebuild = 1
|
||||
if (!istype(epicenter, /turf))
|
||||
epicenter = epicenter.loc
|
||||
return explosion(epicenter, devastation_range, heavy_impact_range, light_impact_range, flash_range)
|
||||
epicenter = get_turf(epicenter.loc)
|
||||
playsound(epicenter.loc, 'explosionfar.ogg', 100, 1, round(devastation_range*2,1) )
|
||||
playsound(epicenter.loc, "explosion", 100, 1, round(devastation_range,1) )
|
||||
if (adminlog)
|
||||
message_admins("Explosion with size ([devastation_range], [heavy_impact_range], [light_impact_range]) in area [epicenter.loc.name] ")
|
||||
log_game("Explosion with size ([devastation_range], [heavy_impact_range], [light_impact_range]) in area [epicenter.loc.name] ")
|
||||
|
||||
if(heavy_impact_range > 1)
|
||||
var/datum/effects/system/explosion/E = new/datum/effects/system/explosion()
|
||||
|
||||
Reference in New Issue
Block a user