mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 13:33:29 +00:00
TG: - Moved three (well two, one was doubled for some reason) screen/attackby()
procs to appear AFTER the screen object is defined. They were in a random file instead of where the objects are. If you double-click and 'screen' object in the object browser it now takes you to the definition instead of some random file. - Clicking a grille with a glass or r-glass sheet in your hand, when the grille is in one of your cardinal directions (North, south, east or west) will make you start building a window. It takes 2s to build the window, which spawns unfastened (same as when you create one.) This should make fixing damaged grille-window combinations easier. If you are standing on a grille and click it with a glass / r-glass sheet in your hand, the window will face the direction you're currently facing. Screenshot: http://www.kamletos.si/placing%20windows%20on%20grilles.PNG Revision: r3081 Author: baloh.matevz
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
name = "close"
|
||||
master = null
|
||||
|
||||
/obj/screen/close/DblClick()
|
||||
if (src.master)
|
||||
src.master:close(usr)
|
||||
return
|
||||
|
||||
/obj/screen/grab
|
||||
name = "grab"
|
||||
master = null
|
||||
@@ -19,6 +24,10 @@
|
||||
name = "storage"
|
||||
master = null
|
||||
|
||||
/obj/screen/storage/attackby(W, mob/user as mob)
|
||||
src.master.attackby(W, user)
|
||||
return
|
||||
|
||||
/obj/screen/zone_sel
|
||||
name = "Damage Zone"
|
||||
icon = 'zone_sel.dmi'
|
||||
|
||||
Reference in New Issue
Block a user