mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Adds logging for AI uploads somewhat, makes rolling pin a normal weapon (seriously that thing is silly), hacky fix for hiding stealthmin names in PMs
This commit is contained in:
@@ -75,6 +75,8 @@ AI MODULES
|
|||||||
target << "[sender] has uploaded a change to the laws you must follow, using a [name]. From now on: "
|
target << "[sender] has uploaded a change to the laws you must follow, using a [name]. From now on: "
|
||||||
var/time = time2text(world.realtime,"hh:mm:ss")
|
var/time = time2text(world.realtime,"hh:mm:ss")
|
||||||
lawchanges.Add("[time] <B>:</B> [sender.name]([sender.key]) used [src.name] on [target.name]([target.key])")
|
lawchanges.Add("[time] <B>:</B> [sender.name]([sender.key]) used [src.name] on [target.name]([target.key])")
|
||||||
|
message_admins("[sender.name]([sender.key]) uploaded a new AI/Cyborg law.")
|
||||||
|
log_game("[sender.name]([sender.key]) uploaded a new AI/Cyborg law.")
|
||||||
|
|
||||||
|
|
||||||
/******************** Modules ********************/
|
/******************** Modules ********************/
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ KNIFE
|
|||||||
|
|
||||||
|
|
||||||
// ROLLING PIN
|
// ROLLING PIN
|
||||||
|
/* //Honestly this doesn't even work and is very silly. -- Erthilo
|
||||||
/obj/item/weapon/kitchen/rollingpin/attack(mob/M as mob, mob/living/user as mob)
|
/obj/item/weapon/kitchen/rollingpin/attack(mob/M as mob, mob/living/user as mob)
|
||||||
if ((user.mutations & CLUMSY) && prob(50))
|
if ((user.mutations & CLUMSY) && prob(50))
|
||||||
user << "\red The [src] slips out of your hand and hits your head."
|
user << "\red The [src] slips out of your hand and hits your head."
|
||||||
@@ -121,6 +121,7 @@ KNIFE
|
|||||||
M.eye_blurry += 3
|
M.eye_blurry += 3
|
||||||
|
|
||||||
return
|
return
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
//get message text, limit it's length.and clean/escape html
|
//get message text, limit it's length.and clean/escape html
|
||||||
if(!msg)
|
if(!msg)
|
||||||
msg = input(src,"Message:", "Private message to [C.key]") as text|null
|
msg = input(src,"Message:", "Private message") as text|null // This is to stop identification of stealthmins for now -- Erthilo
|
||||||
if(!msg) return
|
if(!msg) return
|
||||||
if(!C)
|
if(!C)
|
||||||
if(holder) src << "<font color='red'>Error: Admin-PM: Client not found.</font>"
|
if(holder) src << "<font color='red'>Error: Admin-PM: Client not found.</font>"
|
||||||
|
|||||||
Reference in New Issue
Block a user