Added attack logging, some moderator groundwork, fixed alien species and save files.

This commit is contained in:
Erthilo
2012-09-23 21:49:25 +01:00
parent 2e622eae93
commit c00b0ae84d
48 changed files with 279 additions and 37 deletions

View File

@@ -285,6 +285,10 @@
switchcount++
if(rigged)
if(status == LIGHT_OK && trigger)
log_admin("LOG: Rigged light explosion, last touched by [fingerprintlast]")
message_admin("LOG: Rigged light explosion, last touched by [fingerprintlast]")
explode()
else if( prob( min(60, switchcount*switchcount*0.01) ) )
if(status == LIGHT_OK && trigger)
@@ -359,6 +363,10 @@
del(L)
if(on && rigged)
log_admin("LOG: Rigged light explosion, last touched by [fingerprintlast]")
message_admin("LOG: Rigged light explosion, last touched by [fingerprintlast]")
explode()
else
user << "This type of light requires a [fitting]."
@@ -690,6 +698,9 @@
if(S.reagents.has_reagent("plasma", 5))
log_admin("LOG: [user.name] ([user.ckey]) injected a light with plasma, rigging it to explode.")
message_admin("LOG: [user.name] ([user.ckey]) injected a light with plasma, rigging it to explode.")
rigged = 1
S.reagents.clear_reagents()