This repository was archived by the owner on Aug 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff Large diffs are not rendered by default.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22 name = " remote door-control"
33 desc = " A remote control-switch for a door."
44 icon = ' icons/obj/stationobjs.dmi'
5- icon_state = " doorctrl0"
5+ icon_state = " doorctrl"
6+ var /icon_button = " doorctrl" // Для хранения начального icon_state и перезаписи при разных взаимодействиях на нужный
67 power_channel = ENVIRON
78 var /id = null
89 var /safety_z_check = 1
5960
6061 if (! allowed(user) && (wires & 1 ) && ! user. can_advanced_admin_interact())
6162 to_chat (user, " <span class='warning'>Access Denied.</span>" )
62- flick (" doorctrl -denied" ,src )
63+ flick (" [ icon_button ] -denied" ,src )
6364 return
6465
6566 use_power (5 )
66- icon_state = " doorctrl1 "
67+ icon_state = " [ icon_button ] -inuse "
6768 add_fingerprint (user)
6869
6970 if (normaldoorcontrol)
116117 desiredstate = ! desiredstate
117118 spawn (15 )
118119 if (! (stat & NOPOWER ))
119- icon_state = " doorctrl0 "
120+ icon_state = " [ icon_button ] "
120121
121122/ obj / machinery/ door_control/ power_change()
122123 .. ()
123124 if (stat & NOPOWER )
124- icon_state = " doorctrl -p"
125+ icon_state = " [ icon_button ] -p"
125126 else
126- icon_state = " doorctrl0 "
127+ icon_state = " [ icon_button ] "
Original file line number Diff line number Diff line change 2121 var /my_shockcooldown = 1 SECONDS
2222
2323/ obj / structure/ grille/ fence
24- var /width = 3
24+ var /width = 2
2525
2626/ obj / structure/ grille/ fence/ Initialize(mapload)
2727 . = .. ()
Original file line number Diff line number Diff line change 1111// END_PREFERENCES
1212// BEGIN_INCLUDE
1313#include "_maps\__MAP_DEFINES.dm"
14- #include "_maps\cyberiad .dm"
14+ #include "_maps\delta .dm"
1515#include "code\_compile_options.dm"
1616#include "code\hub.dm"
1717#include "code\world.dm"
You can’t perform that action at this time.
0 commit comments