mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Thought I had done these before, turned out I did. Single-linebreak conflicts woo.
This commit is contained in:
@@ -247,6 +247,7 @@
|
|||||||
mymob.internals.icon_state = "internal0"
|
mymob.internals.icon_state = "internal0"
|
||||||
mymob.internals.name = "internal"
|
mymob.internals.name = "internal"
|
||||||
mymob.internals.screen_loc = ui_internal
|
mymob.internals.screen_loc = ui_internal
|
||||||
|
hud_elements |= mymob.internals
|
||||||
|
|
||||||
if(hud_data.has_warnings)
|
if(hud_data.has_warnings)
|
||||||
mymob.oxygen = new /obj/screen()
|
mymob.oxygen = new /obj/screen()
|
||||||
|
|||||||
@@ -240,8 +240,6 @@ update_flag
|
|||||||
|
|
||||||
nanomanager.update_uis(src) // Update all NanoUIs attached to src
|
nanomanager.update_uis(src) // Update all NanoUIs attached to src
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/obj/machinery/portable_atmospherics/canister/attack_ai(var/mob/user as mob)
|
/obj/machinery/portable_atmospherics/canister/attack_ai(var/mob/user as mob)
|
||||||
return src.attack_hand(user)
|
return src.attack_hand(user)
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,7 @@
|
|||||||
user << "\blue Nothing happens."
|
user << "\blue Nothing happens."
|
||||||
return
|
return
|
||||||
|
|
||||||
else if ((istype(W, /obj/item/device/analyzer)) && get_dist(user, src) <= 1)
|
else if ((istype(W, /obj/item/device/analyzer)) && Adjacent(user))
|
||||||
visible_message("\red [user] has used [W] on \icon[icon]")
|
visible_message("\red [user] has used [W] on \icon[icon]")
|
||||||
if(air_contents)
|
if(air_contents)
|
||||||
var/pressure = air_contents.return_pressure()
|
var/pressure = air_contents.return_pressure()
|
||||||
|
|||||||
@@ -31,6 +31,10 @@
|
|||||||
if(1 to 4) overlays += "phoron-[phorontanks]"
|
if(1 to 4) overlays += "phoron-[phorontanks]"
|
||||||
if(5 to INFINITY) overlays += "phoron-5"
|
if(5 to INFINITY) overlays += "phoron-5"
|
||||||
|
|
||||||
|
/obj/structure/dispenser/attack_ai(mob/user as mob)
|
||||||
|
if(user.Adjacent(src))
|
||||||
|
return attack_hand(user)
|
||||||
|
..()
|
||||||
|
|
||||||
/obj/structure/dispenser/attack_hand(mob/user as mob)
|
/obj/structure/dispenser/attack_hand(mob/user as mob)
|
||||||
user.set_machine(src)
|
user.set_machine(src)
|
||||||
|
|||||||
@@ -159,6 +159,7 @@
|
|||||||
log_client_to_db()
|
log_client_to_db()
|
||||||
|
|
||||||
send_resources()
|
send_resources()
|
||||||
|
nanomanager.send_resources(src)
|
||||||
|
|
||||||
if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates.
|
if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates.
|
||||||
winset(src, "rpane.changelog", "background-color=#eaeaea;font-style=bold")
|
winset(src, "rpane.changelog", "background-color=#eaeaea;font-style=bold")
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
//Pass the attack on to the target. This might delete/relocate wrapped.
|
//Pass the attack on to the target. This might delete/relocate wrapped.
|
||||||
target.attackby(wrapped,user)
|
target.attackby(wrapped,user)
|
||||||
|
|
||||||
//If wrapped did neither get deleted nor put into target, put it back into the gripper.
|
//If wrapped was neither deleted nor put into target, put it back into the gripper.
|
||||||
if(wrapped && user && (wrapped.loc == user))
|
if(wrapped && user && (wrapped.loc == user))
|
||||||
wrapped.loc = src
|
wrapped.loc = src
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -862,6 +862,7 @@ var/list/robot_verbs_default = list(
|
|||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/mob/living/silicon/robot/attack_slime(mob/living/carbon/slime/M as mob)
|
/mob/living/silicon/robot/attack_slime(mob/living/carbon/slime/M as mob)
|
||||||
if (!ticker)
|
if (!ticker)
|
||||||
M << "You cannot attack people before the game has started."
|
M << "You cannot attack people before the game has started."
|
||||||
|
|||||||
@@ -266,6 +266,7 @@
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
/mob/living/simple_animal/attack_slime(mob/living/carbon/slime/M as mob)
|
/mob/living/simple_animal/attack_slime(mob/living/carbon/slime/M as mob)
|
||||||
if (!ticker)
|
if (!ticker)
|
||||||
M << "You cannot attack people before the game has started."
|
M << "You cannot attack people before the game has started."
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ var/global/list/rad_collectors = list()
|
|||||||
src.P = W
|
src.P = W
|
||||||
W.loc = src
|
W.loc = src
|
||||||
update_icons()
|
update_icons()
|
||||||
|
return 1
|
||||||
else if(istype(W, /obj/item/weapon/crowbar))
|
else if(istype(W, /obj/item/weapon/crowbar))
|
||||||
if(P && !src.locked)
|
if(P && !src.locked)
|
||||||
eject()
|
eject()
|
||||||
@@ -84,6 +85,7 @@ var/global/list/rad_collectors = list()
|
|||||||
connect_to_network()
|
connect_to_network()
|
||||||
else
|
else
|
||||||
disconnect_from_network()
|
disconnect_from_network()
|
||||||
|
return 1
|
||||||
else if(istype(W, /obj/item/weapon/card/id)||istype(W, /obj/item/device/pda))
|
else if(istype(W, /obj/item/weapon/card/id)||istype(W, /obj/item/device/pda))
|
||||||
if (src.allowed(user))
|
if (src.allowed(user))
|
||||||
if(active)
|
if(active)
|
||||||
@@ -94,10 +96,8 @@ var/global/list/rad_collectors = list()
|
|||||||
user << "\red The controls can only be locked when the [src] is active"
|
user << "\red The controls can only be locked when the [src] is active"
|
||||||
else
|
else
|
||||||
user << "\red Access denied!"
|
user << "\red Access denied!"
|
||||||
return 1
|
|
||||||
else
|
|
||||||
..()
|
|
||||||
return 1
|
return 1
|
||||||
|
return ..()
|
||||||
|
|
||||||
/obj/machinery/power/rad_collector/examine()
|
/obj/machinery/power/rad_collector/examine()
|
||||||
..()
|
..()
|
||||||
|
|||||||
@@ -146,3 +146,7 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis).
|
|||||||
new stacktype(src.loc, amount)
|
new stacktype(src.loc, amount)
|
||||||
busy = 0
|
busy = 0
|
||||||
src.updateUsrDialog()
|
src.updateUsrDialog()
|
||||||
|
|
||||||
|
//This is to stop these machines being hackable via clicking.
|
||||||
|
/obj/machinery/r_n_d/circuit_imprinter/attack_hand(mob/user as mob)
|
||||||
|
return
|
||||||
@@ -172,3 +172,7 @@ Note: Must be placed west/left of and R&D console to function.
|
|||||||
busy = 0
|
busy = 0
|
||||||
src.updateUsrDialog()
|
src.updateUsrDialog()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
//This is to stop these machines being hackable via clicking.
|
||||||
|
/obj/machinery/r_n_d/protolathe/attack_hand(mob/user as mob)
|
||||||
|
return
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
<span class='average'><b>Balance</b>:</span>
|
<span class='average'><b>Balance</b>:</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="itemContent">
|
<div class="itemContent">
|
||||||
${{:helper.formatNumber(money)}}
|
${{:helper.formatNumber(data.money)}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user