mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
There is now a ten-second delay for carding the AI
This commit is contained in:
@@ -100,31 +100,31 @@
|
|||||||
user << "<span class='danger'>Transfer failed:</span> Existing AI found on remote terminal. Remove existing AI to install a new one."
|
user << "<span class='danger'>Transfer failed:</span> Existing AI found on remote terminal. Remove existing AI to install a new one."
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
if(ai.is_malf())
|
user.visible_message("\The [user] starts downloading \the [ai] into \the [src]...", "You start downloading \the [ai] into \the [src]...")
|
||||||
user << "<span class='danger'>ERROR:</span> Remote transfer interface disabled."
|
ai << "<span class='danger'>\The [user] is downloading you into \the [src]!</span>"
|
||||||
return 0
|
|
||||||
|
|
||||||
if(istype(ai.loc, /turf/))
|
if(do_after(user, 100))
|
||||||
new /obj/structure/AIcore/deactivated(get_turf(ai))
|
if(istype(ai.loc, /turf/))
|
||||||
|
new /obj/structure/AIcore/deactivated(get_turf(ai))
|
||||||
|
|
||||||
ai.carded = 1
|
ai.carded = 1
|
||||||
admin_attack_log(user, ai, "Carded with [src.name]", "Was carded with [src.name]", "used the [src.name] to card")
|
admin_attack_log(user, ai, "Carded with [src.name]", "Was carded with [src.name]", "used the [src.name] to card")
|
||||||
src.name = "[initial(name)] - [ai.name]"
|
src.name = "[initial(name)] - [ai.name]"
|
||||||
|
|
||||||
ai.loc = src
|
ai.loc = src
|
||||||
ai.destroy_eyeobj(src)
|
ai.destroy_eyeobj(src)
|
||||||
ai.cancel_camera()
|
ai.cancel_camera()
|
||||||
ai.control_disabled = 1
|
ai.control_disabled = 1
|
||||||
ai.aiRestorePowerRoutine = 0
|
ai.aiRestorePowerRoutine = 0
|
||||||
carded_ai = ai
|
carded_ai = ai
|
||||||
|
|
||||||
if(ai.client)
|
if(ai.client)
|
||||||
ai << "You have been downloaded to a mobile storage device. Remote access lost."
|
ai << "You have been downloaded to a mobile storage device. Remote access lost."
|
||||||
if(user.client)
|
if(user.client)
|
||||||
user << "<span class='notice'><b>Transfer successful:</b></span> [ai.name] ([rand(1000,9999)].exe) removed from host terminal and stored within local memory."
|
user << "<span class='notice'><b>Transfer successful:</b></span> [ai.name] ([rand(1000,9999)].exe) removed from host terminal and stored within local memory."
|
||||||
|
|
||||||
ai.canmove = 1
|
ai.canmove = 1
|
||||||
update_icon()
|
update_icon()
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
/obj/item/device/aicard/proc/clear()
|
/obj/item/device/aicard/proc/clear()
|
||||||
|
|||||||
36
html/changelogs/Kelenius-plzNoCard.yml
Normal file
36
html/changelogs/Kelenius-plzNoCard.yml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
################################
|
||||||
|
# Example Changelog File
|
||||||
|
#
|
||||||
|
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
|
||||||
|
#
|
||||||
|
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
|
||||||
|
# When it is, any changes listed below will disappear.
|
||||||
|
#
|
||||||
|
# Valid Prefixes:
|
||||||
|
# bugfix
|
||||||
|
# wip (For works in progress)
|
||||||
|
# tweak
|
||||||
|
# soundadd
|
||||||
|
# sounddel
|
||||||
|
# rscadd (general adding of nice things)
|
||||||
|
# rscdel (general deleting of nice things)
|
||||||
|
# imageadd
|
||||||
|
# imagedel
|
||||||
|
# maptweak
|
||||||
|
# spellcheck (typo fixes)
|
||||||
|
# experiment
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Your name.
|
||||||
|
author: Kelenius
|
||||||
|
|
||||||
|
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
# Any changes you've made. See valid prefix list above.
|
||||||
|
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
|
||||||
|
# SCREW THIS UP AND IT WON'T WORK.
|
||||||
|
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
|
||||||
|
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
|
||||||
|
changes:
|
||||||
|
- tweak: "There is now a ten-second delay for carding the AI."
|
||||||
Reference in New Issue
Block a user