aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/O/backlight.edc
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/edc/O/backlight.edc')
-rw-r--r--data/themes/edc/O/backlight.edc58
1 files changed, 0 insertions, 58 deletions
diff --git a/data/themes/edc/O/backlight.edc b/data/themes/edc/O/backlight.edc
deleted file mode 100644
index de7ace5d6..000000000
--- a/data/themes/edc/O/backlight.edc
+++ /dev/null
@@ -1,58 +0,0 @@
-/////////////////////////////////////////////////////////////////////////////
-/*** MOD: BACKLIGHT ***/
- group { name: "e/modules/backlight/main";
- images {
- image: "O/bulb-0.png" COMP;
- image: "O/bulb-1.png" COMP;
- image: "O/bulb-2.png" COMP;
- }
- min: 16 16;
- max: 128 128;
- script {
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_FLOAT) && (id == 0)) {
- new Float:val;
- val = getfarg(2);
- set_tween_state(PART:"glow", val, "default", 0.0, "full", 0.0);
- set_tween_state(PART:"glow2", val, "default", 0.0, "full", 0.0);
- }
- }
- }
- parts {
- part {
- name: "glow";
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "O/bulb-1.png";
- color: 255 255 255 0;
- }
- description { state: "full" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "base";
- description { state: "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image.normal: "O/bulb-0.png";
- }
- }
- part {
- name: "glow2";
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image.normal: "O/bulb-2.png";
- color: 255 255 255 0;
- }
- description { state: "full" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- }
- }
-