From eee05e14519a523659c239050c58a491fafe399e Mon Sep 17 00:00:00 2001 From: clusterfack Date: Thu, 14 Sep 2017 23:46:34 -0500 Subject: [PATCH] Adds basic wire object (#6) * Adds basic wire object * Tests out the entity parenting system --- Resources/Prototypes/Entities/Power.yml | 25 ++++++++++++++++++ .../Prototypes/{ => Entities}/discoball.yml | 0 .../{ => Entities}/prototype_test.yml | 0 Resources/textures/Objects/eightdirwire.png | Bin 0 -> 389 bytes 4 files changed, 25 insertions(+) create mode 100644 Resources/Prototypes/Entities/Power.yml rename Resources/Prototypes/{ => Entities}/discoball.yml (100%) rename Resources/Prototypes/{ => Entities}/prototype_test.yml (100%) create mode 100644 Resources/textures/Objects/eightdirwire.png diff --git a/Resources/Prototypes/Entities/Power.yml b/Resources/Prototypes/Entities/Power.yml new file mode 100644 index 0000000000..c1c294f5c9 --- /dev/null +++ b/Resources/Prototypes/Entities/Power.yml @@ -0,0 +1,25 @@ +- type: entity + id: Wire + name: Wire + components: + - type: Transform + - type: Clickable + - type: Sprite + drawdepth: FloorPlaceable + color: Red + sprites: + - eightdirwire + + - type: Icon + icon: eightdirwire + + snap: + - Wire + +- type: entity + parent: Wire + id: BlueWire + name: BlueWire + components: + - type: Sprite + color: Blue \ No newline at end of file diff --git a/Resources/Prototypes/discoball.yml b/Resources/Prototypes/Entities/discoball.yml similarity index 100% rename from Resources/Prototypes/discoball.yml rename to Resources/Prototypes/Entities/discoball.yml diff --git a/Resources/Prototypes/prototype_test.yml b/Resources/Prototypes/Entities/prototype_test.yml similarity index 100% rename from Resources/Prototypes/prototype_test.yml rename to Resources/Prototypes/Entities/prototype_test.yml diff --git a/Resources/textures/Objects/eightdirwire.png b/Resources/textures/Objects/eightdirwire.png new file mode 100644 index 0000000000000000000000000000000000000000..d0786fe1d161ae27a8c8fa148ab21febe1348f0c GIT binary patch literal 389 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}Ea{HEjtmSN z`?>!lvI6;>1s;*b3=DjSL74G){)!Z!pk#?_L`iUdT1k0gQ7S`0VrE{6US4X6f{C7i zo}sY`b95C@(N|9w$B+p3y%V{)4l9VT6sw(o`O+pJ*zB$LwI7wcv)Edk3eqRZ86Gok zDUf5*T)J|1!T&l9=d1%~SGs91`c4-*$i^d^!y^3PUYgP##y8zN^(&Y%c0Sx`!8PIO zv5W=c2D;`|&TAV|ix!(ka7XBwXB|#GV74=m>r=zqB4zQ&1Ia~;duB{}yr`(?^`|<||j;7W#dTZ93EE0)yczd%btI38Tr#pjpI%7hmOa2BihH0)nZBdK~ zR)>r)a5EIOe1D|Da6#}4t3N|Q{-&+>7!2;DJ#FA*@NHLO&tcfHGsH50>A?Kpsm!Jf eHA;_uvMsFssAW9k2?sC$7(8A5T-G@yGywpP7mlI; literal 0 HcmV?d00001