Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

Commit 097cdb7

Browse files
committed
Мои наработки
1 parent 9dbd12e commit 097cdb7

8 files changed

Lines changed: 98034 additions & 355 deletions

File tree

_maps/map_files/cyberiad/z2 (old).dmm

Lines changed: 98025 additions & 0 deletions
Large diffs are not rendered by default.

_maps/map_files/generic/z2.dmm

Lines changed: 0 additions & 347 deletions
This file was deleted.

code/game/machinery/door_control.dm

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
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
@@ -59,11 +60,11 @@
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)
@@ -116,11 +117,11 @@
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]"

code/game/objects/structures/grille.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
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
. = ..()

icons/fence-ew.dmi

-271 Bytes
Binary file not shown.

icons/obj/stationobjs.dmi

5.04 KB
Binary file not shown.

icons/turf/decals.dmi

10.4 KB
Binary file not shown.

paradise.dme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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"

0 commit comments

Comments
 (0)