:D
This commit is contained in:
commit
09ade10207
117 changed files with 2153 additions and 0 deletions
29
eastern flames/scripts/ncm/ncm.gml
Normal file
29
eastern flames/scripts/ncm/ncm.gml
Normal file
|
@ -0,0 +1,29 @@
|
|||
function ncm(val) { //not count mod value
|
||||
return !(count%val);
|
||||
}
|
||||
|
||||
function ncmr(val, low, high) { //not count mod value within range
|
||||
return ncm(val) && count >= low && count <= high;
|
||||
}
|
||||
|
||||
function ncml(val, low, repeats, count_=count) { //not count mod value above minimum repeated
|
||||
//log(count);
|
||||
return nam(count_,val) && //if count value is not anything moddable to the provided value
|
||||
count_ >= low && //if count is greater than the floor value provided
|
||||
count_ <= low+val*repeats; //
|
||||
}
|
||||
function ncmltime(val, low, repeats) { //not count mod value above minimum repeated duration
|
||||
//log(count);
|
||||
return low+val*repeats;
|
||||
}
|
||||
|
||||
function fdx(val, divisor, multiplier=1) { //floor divided by x
|
||||
return floor(val/divisor)*multiplier;
|
||||
}
|
||||
|
||||
function itneg() { //tells you if youre on an odd iteration
|
||||
return (iterations%2)*-2+1;
|
||||
}
|
||||
function ineg(i) { //tells you if youre on an odd i
|
||||
return (i%2)*-2+1;
|
||||
}
|
12
eastern flames/scripts/ncm/ncm.yy
Normal file
12
eastern flames/scripts/ncm/ncm.yy
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "convenience",
|
||||
"path": "folders/Scripts/convenience.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "ncm",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue