mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 05:52:17 +00:00
Added attack logging, some moderator groundwork, fixed alien species and save files.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user