mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
@@ -527,7 +527,11 @@ var/global/list/rnwords = list("ire","ego","nahlizet","certum","veri","jatkaa","
|
|||||||
user << "<span class='notice'>You do not have enough space to write a proper rune.</span>"
|
user << "<span class='notice'>You do not have enough space to write a proper rune.</span>"
|
||||||
var/list/runes = list("teleport", "itemport", "tome", "armor", "convert", "tear in reality", "emp", "drain", "seer", "raise", "obscure", "reveal", "astral journey", "manifest", "imbue talisman", "sacrifice", "wall", "freedom", "cultsummon", "deafen", "blind", "bloodboil", "communicate", "stun")
|
var/list/runes = list("teleport", "itemport", "tome", "armor", "convert", "tear in reality", "emp", "drain", "seer", "raise", "obscure", "reveal", "astral journey", "manifest", "imbue talisman", "sacrifice", "wall", "freedom", "cultsummon", "deafen", "blind", "bloodboil", "communicate", "stun")
|
||||||
r = input("Choose a rune to scribe", "Rune Scribing") in runes //not cancellable.
|
r = input("Choose a rune to scribe", "Rune Scribing") in runes //not cancellable.
|
||||||
var/obj/effect/rune/R = new /obj/effect/rune
|
if(locate(/obj/effect/rune) in user.loc)
|
||||||
|
user << "<span class='warning'>There is already a rune in this location.</span>"
|
||||||
|
return
|
||||||
|
|
||||||
|
var/obj/effect/rune/R = new /obj/effect/rune(user.loc)
|
||||||
if(istype(user, /mob/living/carbon/human))
|
if(istype(user, /mob/living/carbon/human))
|
||||||
var/mob/living/carbon/human/H = user
|
var/mob/living/carbon/human/H = user
|
||||||
R.blood_DNA = list()
|
R.blood_DNA = list()
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
/datum/game_mode/malfunction/verb/advanced_encryption_hack()
|
/datum/game_mode/malfunction/verb/advanced_encryption_hack()
|
||||||
set category = "Software"
|
set category = "Software"
|
||||||
set name = "Advanced Encrypthion Hack"
|
set name = "Advanced Encryption Hack"
|
||||||
set desc = "75 CPU - Attempts to bypass encryption on Central Command Quantum Relay, giving you ability to fake centcom messages. Has chance of failing."
|
set desc = "75 CPU - Attempts to bypass encryption on Central Command Quantum Relay, giving you ability to fake centcom messages. Has chance of failing."
|
||||||
var/price = 75
|
var/price = 75
|
||||||
var/mob/living/silicon/ai/user = usr
|
var/mob/living/silicon/ai/user = usr
|
||||||
@@ -106,15 +106,12 @@
|
|||||||
announce_hack_failure(user, "quantum message relay")
|
announce_hack_failure(user, "quantum message relay")
|
||||||
return
|
return
|
||||||
|
|
||||||
var/datum/announcement/priority/command/AN = new/datum/announcement/priority/command()
|
command_announcement.Announce(text, title)
|
||||||
AN.title = title
|
|
||||||
AN.Announce(text)
|
|
||||||
|
|
||||||
|
|
||||||
/datum/game_mode/malfunction/verb/elite_encryption_hack()
|
/datum/game_mode/malfunction/verb/elite_encryption_hack()
|
||||||
set category = "Software"
|
set category = "Software"
|
||||||
set name = "Elite Encryption Hack"
|
set name = "Elite Encryption Hack"
|
||||||
set desc = "200 CPU - Allows you to hack station's ALERTCON system, changing alert level. Has high chance of failijng."
|
set desc = "200 CPU - Allows you to hack station's ALERTCON system, changing alert level. Has high chance of failing."
|
||||||
var/price = 200
|
var/price = 200
|
||||||
var/mob/living/silicon/ai/user = usr
|
var/mob/living/silicon/ai/user = usr
|
||||||
if(!ability_prechecks(user, price))
|
if(!ability_prechecks(user, price))
|
||||||
|
|||||||
@@ -1067,8 +1067,8 @@ About the new airlock wires panel:
|
|||||||
|
|
||||||
/obj/machinery/door/airlock/emp_act(var/severity)
|
/obj/machinery/door/airlock/emp_act(var/severity)
|
||||||
if(prob(40/severity))
|
if(prob(40/severity))
|
||||||
var/duration = world.time + SecondsToTicks(30 / severity)
|
var/duration = SecondsToTicks(30 / severity)
|
||||||
if(duration > electrified_until)
|
if(electrified_until > -1 && (duration + world.time) > electrified_until)
|
||||||
electrify(duration)
|
electrify(duration)
|
||||||
..()
|
..()
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
|
|
||||||
/datum/unarmed_attack/proc/apply_effects(var/mob/living/carbon/human/user,var/mob/living/carbon/human/target,var/armour,var/attack_damage,var/zone)
|
/datum/unarmed_attack/proc/apply_effects(var/mob/living/carbon/human/user,var/mob/living/carbon/human/target,var/armour,var/attack_damage,var/zone)
|
||||||
|
|
||||||
|
if(target.stat == DEAD)
|
||||||
|
return
|
||||||
|
|
||||||
var/stun_chance = rand(0, 100)
|
var/stun_chance = rand(0, 100)
|
||||||
|
|
||||||
if(attack_damage >= 5 && armour < 2 && !(target == user) && stun_chance <= attack_damage * 5) // 25% standard chance
|
if(attack_damage >= 5 && armour < 2 && !(target == user) && stun_chance <= attack_damage * 5) // 25% standard chance
|
||||||
|
|||||||
@@ -25,7 +25,10 @@
|
|||||||
if(standard_feed_mob(user, M))
|
if(standard_feed_mob(user, M))
|
||||||
return
|
return
|
||||||
|
|
||||||
afterattack(var/obj/target, var/mob/user, var/flag)
|
afterattack(var/obj/target, var/mob/user, var/proximity)
|
||||||
|
if(!proximity)
|
||||||
|
return
|
||||||
|
|
||||||
if(standard_dispenser_refill(user, target))
|
if(standard_dispenser_refill(user, target))
|
||||||
return
|
return
|
||||||
if(standard_pour_into(user, target))
|
if(standard_pour_into(user, target))
|
||||||
|
|||||||
@@ -21,6 +21,10 @@
|
|||||||
runerandom()
|
runerandom()
|
||||||
var/list/runes = list("Teleport", "Teleport Other", "Spawn a Tome", "Change Construct Type", "Convert", "EMP", "Drain Blood", "See Invisible", "Resurrect", "Hide Runes", "Reveal Runes", "Astral Journey", "Manifest a Ghost", "Imbue Talisman", "Sacrifice", "Wall", "Free Cultist", "Summon Cultist", "Deafen", "Blind", "BloodBoil", "Communicate", "Stun")
|
var/list/runes = list("Teleport", "Teleport Other", "Spawn a Tome", "Change Construct Type", "Convert", "EMP", "Drain Blood", "See Invisible", "Resurrect", "Hide Runes", "Reveal Runes", "Astral Journey", "Manifest a Ghost", "Imbue Talisman", "Sacrifice", "Wall", "Free Cultist", "Summon Cultist", "Deafen", "Blind", "BloodBoil", "Communicate", "Stun")
|
||||||
var/r = input(user, "Choose a rune to scribe", "Rune Scribing") in runes //not cancellable.
|
var/r = input(user, "Choose a rune to scribe", "Rune Scribing") in runes //not cancellable.
|
||||||
|
if(locate(/obj/effect/rune) in user.loc)
|
||||||
|
user << "<span class='warning'>There is already a rune in this location.</span>"
|
||||||
|
return
|
||||||
|
|
||||||
var/obj/effect/rune/R = new /obj/effect/rune(user.loc)
|
var/obj/effect/rune/R = new /obj/effect/rune(user.loc)
|
||||||
if(istype(user.loc,/turf))
|
if(istype(user.loc,/turf))
|
||||||
var/area/A = get_area(user)
|
var/area/A = get_area(user)
|
||||||
|
|||||||
Reference in New Issue
Block a user