mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 01:22:13 +00:00
Computer sprites (#3622)
Constructing a computer now makes sense sprite-wise. Also edited some fluff text to be more accurate during construction.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
density = 1
|
||||
anchored = 0
|
||||
name = "computer frame"
|
||||
icon = 'icons/obj/stock_parts.dmi'
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_state = "0"
|
||||
var/state = 0
|
||||
var/obj/item/weapon/circuitboard/circuit = null
|
||||
@@ -50,7 +50,7 @@
|
||||
user << "<span class='warning'>This frame does not accept circuit boards of this type!</span>"
|
||||
if(isscrewdriver(P) && circuit)
|
||||
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
user << "<span class='notice'>You screw the circuit board into place.</span>"
|
||||
user << "<span class='notice'>You screw the circuit board into place and screw the drawer shut.</span>"
|
||||
src.state = 2
|
||||
src.icon_state = "2"
|
||||
if(iscrowbar(P) && circuit)
|
||||
@@ -93,22 +93,22 @@
|
||||
user << "<span class='warning'>You need two sheets of glass to put in the glass panel.</span>"
|
||||
return
|
||||
playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1)
|
||||
user << "<span class='notice'>You start to put in the glass panel.</span>"
|
||||
user << "<span class='notice'>You start to put in the glass keyboard.</span>"
|
||||
if(do_after(user, 20) && state == 3)
|
||||
if (G.use(2))
|
||||
user << "<span class='notice'>You put in the glass panel.</span>"
|
||||
user << "<span class='notice'>You put in the glass keyboard.</span>"
|
||||
src.state = 4
|
||||
src.icon_state = "4"
|
||||
if(4)
|
||||
if(iscrowbar(P))
|
||||
playsound(src.loc, 'sound/items/Crowbar.ogg', 50, 1)
|
||||
user << "<span class='notice'>You remove the glass panel.</span>"
|
||||
user << "<span class='notice'>You remove the glass keyboard.</span>"
|
||||
src.state = 3
|
||||
src.icon_state = "3"
|
||||
new /obj/item/stack/material/glass( src.loc, 2 )
|
||||
if(isscrewdriver(P))
|
||||
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
user << "<span class='notice'>You connect the monitor.</span>"
|
||||
user << "<span class='notice'>You connect the glass keyboard.</span>"
|
||||
var/B = new src.circuit.build_path ( src.loc )
|
||||
src.circuit.construct(B)
|
||||
qdel(src)
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
A.state = 3
|
||||
A.icon_state = "3"
|
||||
else
|
||||
user << "<span class='notice'>You disconnect the monitor.</span>"
|
||||
user << "<span class='notice'>You disconnect the glass keyboard panel.</span>"
|
||||
A.state = 4
|
||||
A.icon_state = "4"
|
||||
M.deconstruct(src)
|
||||
|
||||
Reference in New Issue
Block a user