Added oscillators (a signal component that sends out a periodic pulse, sine wave or a square wave)

This commit is contained in:
Joonas Rikkonen
2017-10-04 20:18:01 +03:00
parent 3aaf5cbae2
commit a740bf9a56
3 changed files with 127 additions and 0 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -449,6 +449,40 @@
</ConnectionPanel>
</Item>
<Item
name="Oscillator"
category="Electrical"
Tags="smallitem"
linkable="true"
price="10"
description="Sends out a periodic, oscillating signal.">
<Deconstruct time="10">
<Item name="Steel Bar"/>
<Item name="FPGA Circuit"/>
</Deconstruct>
<Sprite texture="signalcomp.png" depth="0.8" sourcerect="17,64,16,16"/>
<OscillatorComponent canbeselected="true" outputtype="Pulse" frequency="1"/>
<Body width="16" height="16" density="30"/>
<Holdable selectkey="Action" slots="Any,RightHand,LeftHand" msg="Detach [Wrench]" PickingTime="5.0"
aimpos="65,-10" handle1="0,0" attachable="true" aimable="true">
<requireditem name="Wrench" type="Equipped"/>
</Holdable>
<ConnectionPanel selectkey="Action" canbeselected = "true" msg="Rewire [Screwdriver]">
<requireditem name="Screwdriver,Wire" type="Equipped"/>
<input name="set_frequency"/>
<input name="set_outputtype"/>
<output name="signal_out"/>
</ConnectionPanel>
</Item>
<Item
name="Wifi Component"
category="Electrical"