Skip to content
This repository was archived by the owner on Jul 17, 2022. It is now read-only.

Commit c45748c

Browse files
Merge pull request #11 from outercloudstudio/dev
Limitations Readme
2 parents bd63bd3 + f34bbd9 commit c45748c

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

Compiler.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ export function Compile(tree, config, source, path){
432432
tree[i] = deep
433433
}
434434

435+
//TODO: Make reliable
435436
for(let i = 0; i < flags.length; i++){
436437
let data = {
437438
default: 0,
@@ -470,6 +471,7 @@ export function Compile(tree, config, source, path){
470471

471472
const dynamicValueNames = Object.getOwnPropertyNames(dynamicValues)
472473

474+
//TODO: Make reliable
473475
for(let i = 0; i < dynamicValueNames.length; i++){
474476
let data = {
475477
default: 0,

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,21 @@ func update => {
113113
}
114114
```
115115

116+
# Known Limitations
117+
## Float Support
118+
At the moment firework does not have float support, however that is to change.
119+
## String Support
120+
Due to the limitations of addons string might be difficult and computationally expensive so experiments will be done with this but it is not garunteed to be added.
121+
## Delayed IFs
122+
Due to the limitations of addons if statements will use the state from the previous tick. In order to get around this you need to delay the if by 1:
123+
```
124+
delay(1) => {
125+
if($foo) => {
126+
$bar = true
127+
}
128+
}
129+
```
130+
116131
# Roadmap
117132
```
118133
✔️ = Complete
@@ -129,7 +144,7 @@ func update => {
129144
- Molang In Expressions ✔️
130145
- Random Booleans ✔️
131146
- Reliable Update ✔️
132-
- Force Update Flags ⚠️
147+
- Force Update Flags 🛑
133148
- While Loops 💡
134149
- For Loops 💡
135150
- Integer Flag Support 💡

0 commit comments

Comments
 (0)