Warning: session_start(): open(/var/lib/php/sessions/sess_b390rjatl66brc4eut741ftnus, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
// script that makes randomized images
concept G22Challenge > G22LAScript {
S type = "Single Image";
bool usesRNG;
// types
sS type_singleImage = "Single Image";
sS type_animation = "Animation";
static LS types = ll(type_singleImage, type_animation);
void _onChange :: after {
lvType?.set(type);
lvUsesRNG?.set(usesRNG);
}
transient SimpleLiveValue lvType;
synchronized SimpleLiveValue lvType() {
ret lvType if null = new SimpleLiveValue(S, type).onChange(r {
setField(type := lvType!);
});
}
transient SimpleLiveValue lvUsesRNG;
synchronized SimpleLiveValue lvUsesRNG() {
ret lvUsesRNG if null = new SimpleLiveValue(Bool, usesRNG).onChange(r {
setField(usesRNG := lvUsesRNG!);
});
}
}