Guest User

Stormworks Microprocessor Documentation (kinda)

a guest
Jan 14th, 2020
240
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 14 Abs
  2. in
  3. in1 num Input Number
  4. out
  5. out1 num Absolute Value
  6. 6 Add
  7. in
  8. in1 num A
  9. in2 num B
  10. out
  11. out1 num A + B
  12. 11 Clamp
  13. in
  14. in1 num Input Number
  15. out
  16. out1 num Clamped Input
  17. param
  18. min num Min Value
  19. max num Max Value
  20. 15 Constant Number
  21. out
  22. out1 num Constant Value
  23. param
  24. n num Output Value
  25. 35 Delta
  26. in
  27. in1 num Input Value
  28. out
  29. out1 num Delta of Input Value
  30. 9 Divide
  31. in
  32. in1 num A
  33. in2 num B
  34. out
  35. out1 num A / B
  36. out2 bool Divide By Zero
  37. 42 Equal
  38. in
  39. in1 num A
  40. in2 num b
  41. out
  42. out1 bool A = B
  43. param
  44. e num Epsilon
  45. 45 f(x)
  46. in
  47. in1 num x
  48. out
  49. out1 num f(x)
  50. prop
  51. e f(x)
  52. 10 f(x,y,z)
  53. in
  54. in1 num x
  55. in2 num y
  56. in3 num z
  57. out
  58. out1 num f(x,y,z)
  59. prop
  60. e f(x,y,z)
  61. p1 ?
  62. p2 ?
  63. p3 ?
  64. 36 f(x,y,z,w,a,b,c,d)
  65. in
  66. in1 num x
  67. in2 num y
  68. in3 num z
  69. in4 num w
  70. in5 num a
  71. in6 num b
  72. in7 num c
  73. in8 num d
  74. out
  75. out1 num f(x,y,z,w,a,b,c,d)
  76. prop
  77. e f(x,y,z,w,a,b,c,d)
  78. 38 Modulo (fmod)
  79. in
  80. in1 num A
  81. in2 num B
  82. out
  83. out1 num A % B
  84. 8 Multiply
  85. in
  86. in1 num A
  87. in2 num B
  88. out
  89. out1 num A x B
  90. 7 Subtract
  91. in
  92. in1 num A
  93. in2 num B
  94. out
  95. out1 num A - B
  96. 1 AND
  97. in
  98. in1 bool A
  99. in2 bool B
  100. out
  101. out1 bool A AND B
  102. 46 Boolean f(x,y,z,w)
  103. in
  104. in1 bool x
  105. in2 bool y
  106. in3 bool z
  107. in4 bool w
  108. out
  109. out1 bool f(x,y,z,w)
  110. prop
  111. e f(x,y,z,w)
  112. 47 Boolean f(x,y,z,w,a,b,c,d)
  113. in
  114. in1 bool x
  115. in2 bool y
  116. in3 bool z
  117. in4 bool w
  118. in5 bool a
  119. in6 bool b
  120. in7 bool c
  121. in8 bool d
  122. out
  123. out1 bool f(x,y,z,w,a,b,c,d)
  124. prop
  125. e f(x,y,z,w,a,b,c,d)
  126. 16 Constant On Signal
  127. out
  128. out1 bool On Signal
  129. 25 JK Flip Flop
  130. in
  131. in1 bool Set
  132. in2 bool Reset
  133. out
  134. out1 bool Output
  135. out1 bool NOT Output
  136. prop
  137. p1 ?
  138. p2 ?
  139. 4 NAND
  140. in
  141. in1 bool A
  142. in2 bool B
  143. out
  144. out1 bool A NAND B
  145. 5 NOR
  146. in
  147. in1 bool A
  148. in2 bool B
  149. out
  150. out1 bool A NOR B
  151. 0 NOT
  152. in
  153. in1 bool A
  154. out
  155. out1 bool NOT A
  156. 2 OR
  157. in
  158. in1 bool A
  159. in2 bool B
  160. out
  161. out1 bool A OR B
  162. 48 Pulse (Toggle To Push)
  163. in
  164. in1 bool Toggle Signal
  165. out
  166. out1 bool Pulse
  167. prop
  168. p Mode (edge)
  169. 28 Push To Toggle
  170. in
  171. in1 bool Toggle Signal
  172. out
  173. out1 bool Internal State
  174. prop
  175. p ?
  176. 24 SR Latch
  177. in
  178. in1 bool Set
  179. in2 bool Reset
  180. out
  181. out1 bool Output
  182. out1 bool NOT Output
  183. prop
  184. p1 ?
  185. p2 ?
  186. 3 XOR
  187. in
  188. in1 bool A
  189. in2 bool B
  190. out
  191. out1 bool A XOR B
  192. 27 Blinker
  193. in
  194. in1 bool Control Signal
  195. out
  196. out1 bool Blinking Signal
  197. prop
  198. on Blink On Duration
  199. off Blink Off Duration
  200. c
  201. 26 Capacitor
  202. in
  203. in1 bool Charge
  204. out
  205. out1 bool Stored Charge
  206. prop
  207. ct Charge Time
  208. dt Discharge Time
  209. c1
  210. c2
  211. p
  212. 17 Greater Than
  213. in
  214. in1 num A
  215. in2 num B
  216. out
  217. out1 A > B
  218. 18 Less Than
  219. in
  220. in1 num A
  221. in2 num B
  222. out
  223. out1 bool A < B
  224. 13 Memory Register
  225. in
  226. in1 bool Set
  227. in2 bool Reset
  228. in3 num Number To Store
  229. out
  230. out1 bool Stored Number
  231. param
  232. r num Reset Value
  233. prop
  234. ir
  235. 21 Numerical Junction
  236. in
  237. in1 num Value To Pass Through
  238. in2 bool Switch Signal
  239. out
  240. out1 num On Path
  241. out2 num Off Path
  242. 22 Numerical Switchbox
  243. in
  244. in1 num First Value (On)
  245. in2 num Second Value (Off)
  246. in3 bool Switch Signal
  247. out
  248. out1 num Switched Value
  249. 23 PID Controller
  250. in
  251. in1 num Setpoint
  252. in2 num Process Variable
  253. in3 bool Active
  254. out
  255. out1 num Control Output
  256. param
  257. kp num Proportional Gain
  258. ki num Integral Gain
  259. kd num Derivative Gain
  260. prop
  261. te
  262. pe
  263. pes
  264. 39 PID Controller (Advanced)
  265. in
  266. in1 num Setpoint
  267. in2 num Process Variable
  268. in3 num Proportional Gain
  269. in4 num Integral Gain
  270. in5 num Derivative Gain
  271. in6 bool Active
  272. out
  273. out1 num Control Output
  274. prop
  275. te
  276. pe
  277. pes
  278. 12 Threshold
  279. in
  280. in1 num Input Number
  281. out
  282. out1 bool Within Threshold
  283. param
  284. min Low Threshold
  285. max High Threshold
  286. 52 Timer (RTF)
  287. in
  288. in1 bool Timer Enable
  289. in2 num Duration
  290. in3 bool Reset
  291. out
  292. out1 bool Timing Complete
  293. prop
  294. u Units
  295. t
  296. 51 Timer (RTO)
  297. in
  298. in1 bool Timer Enable
  299. in2 num Duration
  300. in3 bool Reset
  301. out
  302. out1 bool Timing
  303. prop
  304. u Units
  305. t
  306. 50 Timer (TOF)
  307. in
  308. in1 bool Timer Enable
  309. in2 num Duration
  310. out
  311. out1 bool Timing Complete
  312. prop
  313. u Units
  314. t
  315. 49 Timer (TON)
  316. in
  317. in1 bool Timer Enable
  318. in2 num Duration
  319. out
  320. out1 bool Timing
  321. prop
  322. u Units
  323. t
  324. 37 Up/Down Counter
  325. in
  326. in1 bool Up
  327. in2 bool Down
  328. in3 bool Reset
  329. out
  330. out1 num Value
  331. param
  332. r num Reset Value
  333. i num Increment
  334. min num Min
  335. max num Max
  336. prop
  337. m Clamp (Enable/Disable)
  338. is
  339. 59 Audio Switchbox
  340. in
  341. in1 aud Audio 1 (On)
  342. in2 aud Audio 2 (Off)
  343. in3 aud Switch Signal
  344. out
  345. out1 aud Audio Output
  346. 55 Composite Binary To Number
  347. in
  348. in1 com Signal To Convert
  349. out
  350. out1 num Encoded Number
  351. 31 Composite Read (number)
  352. in
  353. in1 com Composite Signal
  354. in2 num Start Channel (only with i=-1)
  355. out
  356. out1 num Read Value
  357. prop
  358. i num Read Channel
  359. 29 Composite Read (on/off)
  360. in
  361. in1 com Composite Signal
  362. in2 num Start Channel (only with i=-1)
  363. out
  364. out1 bool Read Value
  365. prop
  366. i num Read Channel
  367. 53 Composite Switchbox
  368. in
  369. in1 com First Signal (On)
  370. in2 com Second Signal (Off)
  371. in3 bool Switch Signal
  372. out
  373. out1 com Switched Signal
  374. 40 Composite Write (number)
  375. in
  376. inc com Composite Signal
  377. in1 num Input 1
  378. ...
  379. in32 num Input32 (count times)
  380. inoff num Start Channel (only with offset=-1)
  381. out
  382. out1 com Modified Composite Signal
  383. prop
  384. count Start Channel
  385. offset Channel Count
  386. 41 Composite Write (on/off)
  387. in
  388. inc com Composite Signal
  389. in1 bool Input1
  390. ...
  391. in32 bool Input32 (count times)
  392. inoff num Start Channel (only with offset=-1)
  393. out
  394. out1 com Modified Composite Signal
  395. prop
  396. count Start Channel
  397. offset Channel Count
  398. 56 Lua Script
  399. in
  400. in1 com Data Input
  401. in2 vid Video Input
  402. out
  403. out1 com Data Output
  404. out2 vid Video Output
  405. prop
  406. script Lua Script
  407. 54 Number To Composite Binary
  408. in
  409. in1 num Number To Convert
  410. out
  411. out1 com Binary Signal
  412. 57 Video Switchbox
  413. in
  414. in1 vid Video 1 (On)
  415. in2 vid Video 2 (Off)
  416. in3 bool Switch Signal
  417. out
  418. out1 vid Video Output
  419. 20 Property Dropdown
  420. out
  421. out1 num Selected Value
  422. prop
  423. name Property Name
  424. v Current Value
  425. i Default Option (starting from 0)
  426. param
  427. items Options
  428. 34 Property Number
  429. out
  430. out1 num Set Number
  431. prop
  432. n Property Name
  433. param
  434. v Value
  435. 19 Property Slider
  436. out
  437. out1 num Slider Value
  438. prop
  439. name Property Name
  440. param
  441. min Min Value
  442. max Max Value
  443. int Increment
  444. v Value
  445. 58 Property Text
  446. prop
  447. n Property Name
  448. v Value
  449. 33 Property Toggle
  450. out
  451. out1 bool Toggle Value
  452. param
  453. n Property Name
  454. on On Label
  455. off Off Label
  456. v Value
  457. 43 Tooltip Number
  458. in
  459. in1 num Display Number
  460. in2 bool Is Error
  461. prop
  462. l Property Name
  463. m Display (Always/If Error/If No Error)
  464. 44 Tooltip On/Off
  465. in
  466. in1 bool Display Signal
  467. prop
  468. l Property Name
  469. on On Label
  470. off Off Label
  471. m Display (Always/If On/If Off)
RAW Paste Data